Codex Usage
Back to Codex Limits/5-Hour Window
Last verified 27 Sep 2026·Covers Trigger Rules, Message Estimates & Premium Exemption

Codex 5-Hour Limit: Meaning, Reset Window & Usage Estimates

Pro $200 is available for new subscriptions with a lower allowance for non-grandfathered accounts; OpenAI has not published its replacement multiplier. Eligible grandfathered subscribers keep the previous allowance through October 29, 2026 while subscribed, then move to the lower allowance. Earlier published Pro 5x and Pro 20x message estimates are historical evidence, not current five-hour caps or proof of current Pro $200 entitlement. Pro $100, $200, and $500 currently have no five-hour usage limit in Work and Codex, but still have included usage allowances. Pro $500 has the highest included Pro usage and Astra Ultrafast, with no published multiplier or model-specific message estimate. OpenAI Pro tiers.

The Codex 5-hour limit does not mean five hours of wall-clock coding time. It is a usage limit that applies across a five-hour window. Under official OpenAI documentation, a new five-hour window starts when you send your first message in Work or Codex after the previous window ends. OpenAI explicitly notes that users may reach this limit before five hours have passed depending on their tasks, model selection, reasoning settings, and context size. If reached during an active turn, Codex can continue working on that turn subject to fair-use limits before prompt submissions pause until the window ends.

Common Myth
“I get 5 hours of developer time”

Developers often assume the limit functions like a work timer that counts down only while typing or active in the terminal. When they reach a limit earlier during an active coding session, they assume the quota is malfunctioning.

Official Reality
A Five-Hour Usage Window

OpenAI defines it as a five-hour usage window rather than wall-clock coding time. Because usage varies by task, model choice, settings, and context size, users may reach the limit before five hours have passed.

How a New 5-Hour Window Starts

Many developers wonder when the five-hour limit starts and resets. OpenAI provides the authoritative answer in Help Center Article 20001516:

Official Window Start Rule

“A new five-hour window starts when you send your first message in Work or Codex after the previous window ends.”

If your previous window has already ended, the next five-hour window does not begin until your next Work or Codex message. For example, if your previous window ended at 11:00 AM and you do not send your next prompt until 2:15 PM, your new five-hour window begins at 2:15 PM and will end at 7:15 PM. Once started, an active five-hour window continues running regardless of activity and does not pause during inactivity.

Why You Can Reach the 5-Hour Limit Before Five Hours Have Passed

OpenAI explicitly notes that users may reach the five-hour limit before five hours have passed. Usage varies depending on six documented factors:

1. Model Selection

Flagship models like GPT-6 Astra consume significantly more included usage per request than lightweight models like GPT-5.6 Luna.

2. Reasoning Effort Level

OpenAI notes that reasoning effort can be adjusted independently. Higher reasoning settings instruct the model to perform more internal reasoning before responding, consuming more of your allowance.

3. Fast Mode

Enabling Fast mode prioritizes speed and consumes your usage allowance more rapidly per task (see our guide on Codex Fast mode speed and multipliers).

4. Large Inputs & Context

Supplying larger inputs, such as entire repository files, long logs, or complex codebases, consumes more of your allowance on each request. In one controlled GPT-5.6 Sol test, roughly 6.5× more supplied input tokens coincided with 2pp vs. 7pp of observed 5-hour movement — see the full context-size comparison.

5. Multi-Step Tasks

When Codex works through multi-step tasks that involve reading files, running terminal commands, and verifying code, each automated step contributes to your session's overall usage.

6. Large Output Generation

Generating extensive multi-file edits, comprehensive tests, or long explanations consumes more of your allowance than concise responses (see our diagnostic guide on why Codex usage drains fast).

First-Party Measurement: How Model Choice Moved the 5-Hour Meter

The factors above are OpenAI's documented explanation for why allowance depletes at different rates. We ran two controlled experiments to see what model choice looked like on the displayed meter.

Earlier Paired Astra vs. Sol Study

We ran GPT-5.6 Sol and GPT-6 Astra on two deterministic coding tasks, reversing the model order between Task A and Task B.

TaskSol ResultAstra ResultSol 5-Hour MovementAstra 5-Hour Movement
Task A28 / 2828 / 282pp2pp
Task B29 / 2929 / 291pp2pp
Aggregate57 / 5757 / 573pp4pp

Later Luna, Sol, and Astra Frozen-Task Study

We then ran the same frozen coding task on ChatGPT Plus once each on GPT-5.6 Luna, GPT-5.6 Sol, and GPT-6 Astra at Medium reasoning effort. Every run used the same starting workspace and prompt in an isolated Codex environment. We graded each run with the same deterministic 112-test suite and took Codex Usage snapshots immediately before and after.

ModelReasoningDeterministic ResultRuntimeMeasured 5-Hour Movement
GPT-5.6 LunaMedium112 / 112118,196 msNo detectable movement (1-pt resolution)
GPT-5.6 SolMedium112 / 11292,018 ms2 percentage points
GPT-6 AstraMedium112 / 112109,675 ms4 percentage points

All three models passed every test in this run. Luna's run did not move the displayed 5-hour percentage at Codex Usage's 1-percentage-point resolution, Sol moved it by 2 points, and Astra by 4 — while Luna took the longest to finish. That ordering lines up with the model-selection factor above, but it is one controlled task, not a stable per-model multiplier: treat 0/2/4 as a single data point, not a formula you can apply to your own sessions.

Across both experiments, Astra produced at least as much observed 5-hour movement as Sol on all three paired tasks while both models passed every deterministic requirement. The size of the difference changed substantially: the earlier two-task study totaled 4 points for Astra and 3 for Sol, while the later larger task measured 4 and 2. That is a repeated directional observation in these runs, not a fixed Astra-to-Sol consumption multiplier.

Methodology & Limitations

These are Codex Usage's first-party observed measurements, not official OpenAI documentation. The displayed meter has 1-percentage-point resolution, and the run counts are small. The later study used ChatGPT Plus, an identical frozen coding task and prompt, an identical starting workspace, and a clean isolated Codex environment, with one run per model and no retries. These findings do not establish OpenAI's quota calculation formula and should not be read as typical or guaranteed behavior for any model. The canonical measurement record has the exact conditions and downloadable data for these runs.

Published Local Message Estimates by Model (5-Hour Window)

OpenAI publishes estimated local-message ranges per 5-hour window for Plus and Business Standard. These figures are estimates, not guaranteed counts. The Pro columns below preserve earlier published estimates; Pro $100, $200, and $500 currently have no five-hour usage limit in Work and Codex.

ModelPrimary Use CasePlus ($20)Pro $100 (5x)Pro $200 (previous 20x allowance)
GPT-6 AstraCurrent recommended generation5–45 local messages25–225 local messages (earlier estimate; no current cap)100–900 local messages (legacy estimate; no current cap)
GPT-6.1 SolCurrent recommended generation15–160 local messagesNot published by OpenAINot published by OpenAI
GPT-6 SolCurrent recommended generation15–150 local messages70–700 local messages (earlier estimate; no current cap)300–3,000 local messages (legacy estimate; no current cap)
GPT-6 LunaCurrent recommended generation350–3,000 local messages1,750–14,000 local messages (earlier estimate; no current cap)7,000–56,000 local messages (legacy estimate; no current cap)
GPT-5.6 SolEarlier model; check availability and migration guidance10–100 local messages50–500 local messages (earlier estimate; no current cap)200–2,000 local messages (legacy estimate; no current cap)
GPT-5.6 TerraEarlier model; check availability and migration guidance25–200 local messages125–1,000 local messages (earlier estimate; no current cap)500–4,000 local messages (legacy estimate; no current cap)
GPT-5.6 LunaEarlier model; check availability and migration guidance250–2,000 local messages1,250–10,000 local messages (earlier estimate; no current cap)5,000–40,000 local messages (legacy estimate; no current cap)
GPT-5.5Earlier model; check availability and migration guidance15–80 local messages75–400 local messages (earlier estimate; no current cap)300–1,600 local messages (legacy estimate; no current cap)
Why These Are Directional Estimates, Not Fixed Caps

Message estimates vary widely because allowance is consumed based on task complexity rather than turn counts. Prompts with extensive code context, higher reasoning settings, or multi-step execution consume substantially more allowance per request than concise prompts with minimal context.

How the 5-Hour Window Interacts with the Weekly Window

OpenAI runs the 5-hour window alongside an overarching 7-day weekly limit. Understanding how they interact prevents unexpected downtime:

5-Hour Resets Do Not Refill Weekly Allowance

When your 5-hour window ends, your five-hour usage allowance is restored. However, the usage consumed remains accounted for in your weekly total. Your weekly allowance only resets on its scheduled 7-day anchor or via an applicable reset.

Both Windows Must Have Headroom

If your weekly allowance is exhausted, prompt turns pause even if your 5-hour window has available capacity. Conversely, if your weekly allowance has available capacity but you reach your 5-hour limit, prompt submissions pause until the five-hour window ends.

Plan Exceptions: The Business Premium 5-Hour Limit Removal

Not all paid plans enforce a 5-hour window. OpenAI documents a critical exception in Help Article 8792536:

ChatGPT Business Premium Seats ($100/seat/mo billed annually or $125 billed monthly)

The 5-hour limit is completely removed for Business Premium seats. Premium members have no five-hour limit and operate solely under a predictable weekly reset schedule with 5x more included usage than Business Standard seats.

Business Standard seats ($20–$25/mo) and Plus ($20/mo) use the five-hour usage window. Pro $100, $200, and $500 currently have no five-hour usage limit in Work and Codex, but still have included usage allowances. Check Settings > Usage for remaining allowance and reset times (see our detailed ChatGPT Business limits guide).

Checking Your 5-Hour Status and Exhaustion Behavior

To view how much 5-hour headroom remains and when your current window resets:

CLI /status command: Type /status in any session. Output includes:
5-hour window: 18% remaining · resets in 1h 14m
Weekly window: 72% remaining · resets in 3d 08h
What happens at exhaustion: When the 5-hour percentage reaches 0%, your active turn finishes subject to fair-use limits. Subsequent prompts are paused until the reset time indicated.
Recovery advice: When capped exclusively by the 5-hour window (with weekly allowance still healthy), waiting out the reset time is typically the simplest path. Unlike weekly allowances that span several days, the five-hour window ends within a few hours without incurring additional cost.

Frequently Asked Questions About the 5-Hour Limit

Does '5-hour limit' mean I get 5 hours of continuous coding time?

No. The 5-hour limit is not an elapsed wall-clock timer of coding time. It is a usage limit across a five-hour window. OpenAI explicitly notes that users may reach the limit before five hours have passed depending on their tasks, model selection, reasoning settings, and context size.

When exactly does a new 5-hour window start?

According to OpenAI Help Article 20001516, a new five-hour window starts when you send your first message in Work or Codex after the previous window ends. If your previous window has already ended, the next window does not begin until your next Work or Codex message.

Why do message estimates have wide ranges (e.g., 5 to 45 messages for Astra)?

OpenAI's published message ranges are directional estimates of typical usage per five-hour period, not fixed message caps. Usage varies based on the model chosen, reasoning settings, input and output sizes, and multi-step tasks. Tasks with large context and high reasoning consume significantly more of the allowance per request.

What happens when my 5-hour limit is reached?

If a usage limit is reached during an active Codex turn, OpenAI states that Codex can continue working on that turn subject to fair-use limits. Once that turn completes, subsequent prompt submissions pause until the five-hour window ends (as shown in /status or Settings > Usage). Your local files, Git commits, and session context remain completely intact.

Does using my 5-hour allowance also count against my weekly limit?

Yes. Model usage consumed during your five-hour window also counts toward your overarching 7-day weekly allowance. When the five-hour window ends, your five-hour allowance is restored, but your weekly allowance does not refill — it only recovers on your scheduled weekly reset date or through an applicable reset.

Does any plan remove the 5-hour limit completely?

Yes. Pro $100, $200, and $500 currently have no five-hour usage limit in Work and Codex. Included usage allowances still apply; check Settings > Usage for remaining allowance and reset times. ChatGPT Business Premium seats ($100/seat/month billed annually or $125 billed monthly) also have no five-hour usage limit, operating with 5x more included usage than Business Standard under a predictable weekly reset schedule.

Limits & Reset Windows
Limits by Plan Tier