Codex Usage Limits and Error Codes Explained
If Codex shows a reset time, check which allowance has run out. If the error appears during sign-in, start with its HTTP status and rejection detail. API keys have their own rate and billing limits.
How Codex counts your usage
OpenAI’s Codex pricing and account help, checked November 25, 2026, describe shared allowances for local messages and cloud work. Model, speed, context, caching, reasoning and tool use affect consumption. A short question and a long cloud refactor can each be one message but consume different amounts.
A plan can exhaust a short window or a weekly allowance independently. The pricing guide lists five-hour estimates for Plus and Standard Business and publishes no general daily quota or guaranteed weekly token count. Check the account’s displayed windows, including any shared ChatGPT Work usage. Included usage · Codex account help
Usage caps by plan
| Plan | Window | Included allowance | When exhausted |
|---|---|---|---|
| Plus | 5h and possible weekly limit | About 17–180 local GPT-6.2 Sol messages per 5h | New work may need credits or a reset |
| Pro 100 | Weekly, no 5h cap | Entry Pro allowance. Check remaining percentage in Usage. | New work may need credits or a reset |
| Pro 200 | Weekly, no 5h cap | More weekly usage than Pro 100 | New work may need credits or a reset |
| Pro 500 | Weekly, no 5h cap | Highest Pro allowance | New work may need credits or a reset |
| Business Standard | 5h and possible weekly limit | About 17–180 local GPT-6.2 Sol messages per seat per 5h | Shared credits, if funded and enabled. Otherwise new work is blocked. |
| Business Premium | No 5h cap | Higher usage than Standard. Check seat-specific limits in Usage. | Shared credits, if funded and enabled. Otherwise new work is blocked. |
The 17–180 range is an estimate for one model. A limit notice can block new work even if a current turn can finish. OpenAI does not promise automatic slower service after a cap. Codex limits · Pro tiers · Business seat limits
Common Codex errors and recovery
unexpected status 401 Unauthorized
Cause · The request failed authentication. On API-key billing, the response body can distinguish an invalid key, organization membership or an IP access rule.
What to do · Use codex login status to check the sign-in method. For a stored ChatGPT login, run codex logout then codex login and select the intended account and workspace. For an API key, check the key, organization and access rule named in the response.
When to retry · Retry after correcting the credential or the access rule. A 401 has no published reset timer.
Token exchange failed: token endpoint returned status 403 Forbidden
Cause · The login server rejected the exchange of an authorization code for session tokens. The CLI preserves the status and available rejection details. The number 403 alone does not identify which policy was applied.
What to do · Read the rejection detail and check that the workspace allows the selected sign-in method. Start a fresh codex login with the permitted account. If the same rejection persists, share the request ID and redacted login diagnostics with your administrator or OpenAI Support.
When to retry · Retry after the sign-in or access issue is resolved. OpenAI publishes no recovery time for an individual 403.
Codex login diagnostics · CLI login callback · Token rejection details
rate limit exceeded
Cause · On API-key sessions, a temporary rate limit means too many requests or tokens in the applicable interval. A 429 body that names an exhausted credit balance or spend cap calls for a billing check.
What to do · For a temporary limit, reduce concurrency and use backoff. Honor Retry-After when present. For a billing cap, inspect the project or organization limit named in the error and check with the billing owner.
When to retry · Retry-After gives the minimum wait in seconds. The x-ratelimit-reset-requests and x-ratelimit-reset-tokens headers identify their own windows. A depleted balance instead needs a billing change.
API rate-limit headers · 429 billing errors · CLI error text
You’ve hit your usage limit.
Cause · A signed-in ChatGPT account has reached a plan or model allowance. The notice can name the model or workspace and the options available.
What to do · Open Usage or enter /status in the active CLI. Wait, use an offered model or reset, or add eligible credits. In a managed workspace, ask the owner to check the shared credit pool.
When to retry · Use the reset time for the exhausted window. A turn already running may finish under fair-use rules. If new work is still blocked after reset, check the other windows and contact Support.
When limits reset and where to see what remains
Open the Codex usage dashboard for the logged-in account and workspace. In an active CLI session, enter /status. Read the time beside each exhausted allowance. The five-hour reset may leave a weekly limit in place. Opening a new chat does not restart either window. Open my Codex usage dashboard
Try a new task after the stated time. Eligible promotions may provide a one-time or banked reset earlier. A full banked reset changes the weekly reset date. Support can investigate a missed reset when you provide the time, time zone, model, client and redacted limit notice. OpenAI reset policy
Three ways forward and what each costs
- Wait for the reset · $0 extra. Use the time shown for the exhausted window.
- Use an available smaller model. Inside the remaining allowance, the extra charge is $0. At Standard credit rates, 20,000 uncached input and 4,000 output tokens use 2 credits on GPT-6.2 Sol or 0.10 credit on GPT-6 Luna. If the shared allowance is exhausted, a model change alone cannot replenish it. Credit rates
- Use a local API-key session. The same 20,000 input and 4,000 output tokens on GPT-6.2 Sol cost $0.08 at Standard API rates. The API account needs its own billing and rate-limit capacity. OpenAI API rates · Subscription vs API cost table · Estimate text tokens
Is it my allowance or an OpenAI incident?
A personal banner naming an exhausted window, a remaining percentage or a reset time points to your account or workspace. For unexpected failures with quota still available, check the Codex component and affected time on OpenAI Status. An incident with matching symptoms can explain a service-wide problem. Status is aggregated, so individual access issues may still need investigation. Open official OpenAI Status
Frequently asked questions
Does everyone reset at the same time?
Check the reset timestamp on your account. Short and weekly windows can expire at different times. An eligible early reset can move the weekly timestamp.
Do two devices share my Codex allowance?
Yes, when signed in to the same account and workspace. Local CLI and cloud work draw on the same plan allowance. An API-key session draws on the associated API project instead.
Does each Business seat have its own limit?
Standard and Premium come with their own per-seat allowances. After a member reaches the included limit, eligible usage draws from the shared workspace credit pool, subject to administrator settings. Workspace billing