To check Codex usage from the terminal, type /usage in the Codex CLI for your account’s token activity and any reset you can redeem, or /status for the current session; in the apps, open Settings → Usage (Slash commands, OpenAI Help Center). The allowance comes with your ChatGPT plan, is shared with ChatGPT Work, and is metered over a five-hour window and a weekly window where your plan has both; Pro plans currently have no five-hour limit (Pricing).
/usage
Applies to: OpenAI Codex CLI, ChatGPT desktop app and IDE extension with ChatGPT sign-in or an API key, per OpenAI’s pricing page, CLI slash-command reference and Help Center. Last checked: November 3, 2026.
On this page
Where to check remaining Codex usage
| Where | What it shows | Source |
|---|---|---|
/usage in the Codex CLI | A usage menu: token activity, or redeem an available earned reset. /usage daily, /usage weekly and /usage cumulative open token activity directly | Slash commands |
/status in the Codex CLI | “Session configuration and token usage”: active model, approval policy, writable roots and remaining context capacity | Slash commands |
/statusline in the Codex CLI | Lets you add a rate-limits item (and token counters) to the TUI footer; the choice is saved to tui.status_line in config.toml | Slash commands |
| Settings → Usage in ChatGPT | “Your remaining allowance, usage windows and reset times”, your credit balance and saved resets | Help Center, Credits |
| Usage & Billing in the Codex app | Credit balance, recent usage and credit purchases | Credits |
| Codex usage dashboard | “Your current limits” | Codex pricing |
The commands to type, exactly as the reference lists them:
/usage daily
/usage weekly
/usage cumulative
Two caveats from the docs. OpenAI’s pricing page still points CLI users to /status for “remaining limits during an active Codex CLI session”, while the slash-command reference describes /usage as the command for account usage (Pricing, Slash commands). And /usage needs ChatGPT sign-in: “If the session doesn’t have Codex service account auth, Codex shows a sign-in requirement” (Slash commands). If the footer is what you look at most, the TUI options in Codex CLI customization sit next to /statusline.
How Codex usage is counted
OpenAI’s pricing page states the rules that decide how fast an allowance goes:
- One pool. “ChatGPT Work and Codex share usage.” Local messages and cloud chats share your plan’s allowance, and the pool “currently includes ChatGPT for Excel on Plus and Pro.”
- No fixed message count. “Model choice, context, reasoning, tool use, retrieval, and caching all affect usage, so prompt length alone isn’t a reliable estimate.”
- Cloud costs more. “Cloud tasks may use more of your allowance than local messages.”
Regular Chat is separate: GPT-6 Pro in Chat has message limits “separate from the shared Work and Codex allowance” (Help Center).
The five-hour window and the weekly window
“Where both apply, you need allowance remaining in both to continue.” A new five-hour window “starts when you send your first message in Work or Codex after the previous window ends,” and “You may reach the five-hour limit before five hours have passed, even if you still have weekly usage remaining” (Help Center).
| Plan | Five-hour window | Weekly window | Source |
|---|---|---|---|
| Plus, Standard Business | Yes; estimated local messages below | “Weekly limits may also apply” | Pricing |
| Pro $100, $200, $500 | “Currently have no five-hour usage limit in Work and Codex” | Included allowance still applies | Help Center |
| Enterprise/Edu with flexible pricing | “No fixed rate limits. Usage scales with credits.” | Not applicable | Pricing |
| Enterprise/Edu without flexible pricing | “Same per-seat usage limits as Plus for most features” | Same as Plus | Pricing |
| API key | No plan windows; billed at API rates | Not applicable | Pricing |
On the Pro tiers, OpenAI says “Pro $100 unlocks 5x higher usage than Plus, while Pro $200 unlocks 20x usage than Plus” (About ChatGPT Pro tiers).
Estimated messages per five-hour window
The pricing page gives these ranges of local messages per five-hour period, and adds: “These estimates are not fixed message limits; check your usage dashboard for current limits and reset times.”
| Model | Plus | Standard Business |
|---|---|---|
| GPT-6 Astra | 5-45 | 5-45 |
| GPT-6.1 Sol | 15-160 | 15-160 |
| GPT-6.1 Terra | 35-285 | 35-285 |
| GPT-6 Sol | 15-150 | 15-150 |
| GPT-6 Luna | 350-3,000 | 350-3,000 |
GPT-6.1 Terra is the row added since this guide was first published; it is available “in Work and Codex on Plus, Pro, Business, Enterprise, and Edu plans,” not in Chat, and “Overall Work and Codex plan limits are unchanged” (Pricing). The table on the Codex pricing page at chatgpt.com has no Terra row and still lists GPT-5.5 (15-80), although GPT-5.5 retired from Codex with ChatGPT sign-in on October 14, 2026, at 19:00 UTC (Pricing). Of the two, the ChatGPT Learn page is the one that reflects the October 14 retirement.
What uses the allowance faster
| Setting or feature | Included subscription usage | Purchased credits | Source |
|---|---|---|---|
| Fast mode | 2.5x | 2x | Pricing |
| GPT-6 Astra Ultrafast (Pro $500) | 8x | 6x | Pricing |
| GPT-6.1 Sol Ultrafast (Pro $500) | 8x | 6x | Pricing |
| Image generation | About 3-5x faster on average; not available on Free | Draws from credits after included limits | Pricing |
| Voice in the desktop app | $0.05 per minute of your Codex usage budget | 1.25 credits per minute | Pricing |
Plus, Pro $100, Pro $200 and Business “do not include Ultrafast at launch. Purchasing credits on one of these plans does not enable it” (Help Center). GPT-6.1 Sol drawn from a subscription “has no long-context surcharge in Codex or ChatGPT Work” (Pricing).
What happens when you hit the limit
From the pricing page:
- “If you reach your usage limits during an active turn, the agent will be able to continue working on that turn, subject to fair use limits.”
- “ChatGPT Plus and Pro users who reach their usage limit can purchase additional credits to continue working without needing to upgrade their existing plan.”
- “All users may also run extra local chats using an API key, with usage charged at standard API rates.”
“Switching models does not restore allowance in a shared usage pool” (Help Center).
Resets
| Reset type | What it does, per OpenAI’s Help Center |
|---|---|
| Banked (saved) reset | Saved until used or expired. Apply it from Settings → Usage in the ChatGPT desktop app (“1 reset available” or “Full reset”), or from /usage in the CLI (Slash commands). It is used only if it refreshes at least one eligible window. |
| Automatic or global reset | Refreshes the limits named in the announcement; nothing to apply, and it does not appear as a saved reset. |
| Purchased instant reset | Eligible personal Plus and Pro accounts, depending on billing country. Refreshes the five-hour and weekly allowance at checkout; your next automatic weekly reset is seven days after your first request after it. |
Credits: buying them and what they cover
On Plus or Pro, “If you hit a usage limit in Codex on Plus or Pro, you’ll see an option to add credits.” You can also buy them from Settings → Usage in ChatGPT or Usage & Billing in the Codex app, and turn on automatic reload there (Credits help). The same article says credits “are valid for 12 months from purchase,” are non-refundable except in the cases it lists, are “not API credits,” and that a balance can go negative when a running task finishes after the balance runs out. “Credits pay for usage; they do not add model access” (Help Center).
The pricing page publishes the rate card in credits per million tokens at Standard speed. The last two columns are our arithmetic from those rates: how many tokens 500 credits buy if spent only on input or only on output.
| Model | Input | Cached input | Output | 500 credits as input only | 500 credits as output only |
|---|---|---|---|---|---|
| GPT-6 Astra | 250 | 25 | 1,250 | 2M tokens | 400K tokens |
| GPT-6.1 Sol | 50 | 2.5 | 250 | 10M tokens | 2M tokens |
| GPT-6.1 Terra | 25 | 1.25 | 125 | 20M tokens | 4M tokens |
| GPT-6 Sol | 50 | 5 | 250 | 10M tokens | 2M tokens |
| GPT-6 Luna | 2.5 | 0.25 | 12.5 | 200M tokens | 40M tokens |
| GPT-5.6 Sol | 100 | 10 | 500 | 5M tokens | 1M tokens |
Worked example. Take a GPT-6.1 Sol turn that sends 300,000 input tokens, 240,000 of them cached, and returns 15,000 output tokens (illustrative numbers, not a measured task):
| Part | Tokens | Rate (credits per 1M) | Credits |
|---|---|---|---|
| Uncached input | 60,000 | 50 | 3.00 |
| Cached input | 240,000 | 2.5 | 0.60 |
| Output | 15,000 | 250 | 3.75 |
| Total at Standard speed | 7.35 | ||
| Same turn in Fast mode on purchased credits (2x) | 14.70 |
OpenAI’s own reference point: “A typical GPT-5.6 Sol task may use 2-15 credits.” It also warns that “Credit prices alone don’t determine included subscription usage,” so the rate card prices credits spent after your included limits; it is not a way to count what your plan includes (Pricing).
Codex usage with an API key
With an API key, “Codex uses standard API pricing instead of included ChatGPT plan credits” (Authentication). The pricing page lists the API Key option as “Codex in the CLI, SDK, or IDE extension” with “No cloud-based features (GitHub code review, Slack, etc.)” (Pricing). Per-token prices are on OpenAI’s API pricing page.
printenv OPENAI_API_KEY | codex login --with-api-key
Codex plans and their usage
| Plan | Price on OpenAI’s page | Codex usage summary |
|---|---|---|
| Free | $0/month | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| Go | $8/month | GPT-6 Luna at Standard speed in the desktop app, subject to rollout |
| Plus | $20/month | “Power a few focused coding sessions each week”; GPT-6.1 Sol and GPT-6 Luna; credits |
| Pro | $100, $200 or $500 per month | No five-hour limit; 5x (Pro $100) or 20x (Pro $200) Plus usage; Ultrafast on Pro $500 |
| Business | $25 per user per month billed monthly | Same estimated ranges as Plus for Standard Business; extend with ChatGPT credits |
| Enterprise and Edu | Contact sales | Flexible pricing: no fixed rate limits, usage scales with credits |
| API key | API pricing | Billed per token; no plan windows |
Sources: Pricing, About ChatGPT Pro tiers. Each plan’s own record, with the date it was last checked, is in the plans tracker, for example Codex Plus and Codex Pro.
How to make the allowance last longer
OpenAI’s pricing page lists: control the size of your prompts; limit source material to relevant files; match the output to the need; reduce the size of your AGENTS.md (nest files to control how much context each task loads); and “Limit the number of MCP servers you use. Every MCP server adds more context to your messages and uses more of your limit.” The Help Center adds that lower reasoning effort is “A useful starting point when you want a faster response or to make your allowance go further,” and /model in the CLI chooses the model and reasoning effort (Slash commands).





