/usage during a chat to see how much of each signed-in subscription’s allowance you have used and when it resets, without interrupting a reply.
Reading the panel
- Most urgent accounts appear first. Accounts that have hit a usage limit appear at the very top, followed by accounts with the highest usage percentage, then accounts with unlimited or non-percentage allowances. When two accounts tie, the one used in the current chat comes first, then the rest alphabetically. Accounts with no figures yet appear last.
- Colour, plain-text warnings, and unlimited plans. Each metered bar shows the percentage used and how long until it resets. Bars highlight at 80% and again at 95%. When colour is turned off,
!marks 80% or more and!!marks 95% or more (as well as reached limits). Unlimited allowances (such as unlimited GitHub Copilot Chat, Completions, or Premium requests) appear as Unlimited instead of a percentage bar. - Live updates across sessions and restarts. New figures appear automatically while
/usageis open, even when only a subagent used the account. Atomic remembers the latest figures across restarts. Once a limit’s reset time has passed, Atomic shows0% usedinstead of outdated numbers. - Keyboard shortcuts. Use
↑/↓to scroll a line,PgUp/PgDnto scroll a page, andHome/Endto jump to the top or bottom. Pressmto open Manage usage in your browser when shown in the footer,rto refresh live figures, orEsc/Ctrl+Cto close the panel without stopping an active reply.
/session instead.
Supported accounts
/usage shows your signed-in subscription accounts across these providers (including additional account aliases you configure):
Pay-per-token API keys (such as an OpenAI API key, an Anthropic
sk-ant-api… key, or a custom proxy key in models.json) are billed per token rather than against a subscription allowance, so they do not appear in /usage. GitHub Enterprise hosts, custom proxy URLs, and short-lived exchanged Copilot session tokens (tid=…) also show as Not available so Atomic never sends private or enterprise tokens to the wrong host.When a ChatGPT plan reaches its limit
When you sign in to OpenAI with Sign in with ChatGPT (/login openai), OpenAI manages your plan allowance and per-app limits in ChatGPT Settings → Usage rather than through a live percentage meter.
- Normal state: Atomic displays a link to ChatGPT Settings → Usage so you can check your allowance or adjust the limit you gave Atomic at any time.
- Usage limit reached: If a request fails because your ChatGPT plan or per-app limit was reached, Atomic displays a Usage limit reached notice in the chat and remembers that state in
/usage,atomic usage, RPC, and the SDK — even after a restart or if a subagent hit the limit. Because the limit may be an app-specific cap rather than your entire ChatGPT plan, Atomic does not guess a reset time. Click Manage usage or pressminside/usageto open ChatGPT Settings → Usage. - Workspace limits: On a ChatGPT Business plan where your workspace admin controls per-user limits, Atomic tells you to ask your workspace admin to increase the limit at
admin.openai.cominstead of sending you to personal settings. - Automatic recovery: As soon as a later request on that account succeeds (for example after you raise the app limit or your window resets), Atomic automatically clears the remembered Usage limit reached status.
Check from a script or terminal
atomic usage prints a readable summary; atomic usage --json prints one JSON object. Both check every configured account (including pay-per-token API keys) without starting a chat. Add --offline to read the latest saved figures without contacting any provider. If no accounts are configured, the JSON output is {"accounts":[]}. An RPC client returns the same report from an open session.
JSON, RPC, and SDK report fields
The CLI (atomic usage --json), RPC (get_usage), SDK (getSubscriptionUsage()), and extension (ctx.getSubscriptionUsage()) reports all use the exact same account fields. Reports never include credentials or raw provider error bodies.
Check from the SDK
accounts: ["github-copilot", "openai"] to check only specific providers, maxAgeMs: 0 to bypass the 60-second cache, or signal to cancel. Extensions can call ctx.getSubscriptionUsage() for the accounts in their session.