Download

Dev blog · Features · 2026-11-22

See your Codex usage limits: the 5-hour and weekly windows

Codex on a ChatGPT plan doesn’t bill per token. It limits how much you can use over two rolling windows: about 5 hours and about a week. Hit either and Codex stops until the window rolls over. The question people actually ask is how close they are, and what used it up.

Where does Codex report the limits?

Codex records them itself. Every session is saved as a rollout file under $CODEX_HOME/sessions (by default ~/.codex/sessions), and as you work Codex writes token_count events into it. Those events include a rate_limits block: the percentage used of a primary window of 300 minutes and a secondary window of 10,080 minutes (7 days), plus when each one resets, and your plan type.

How do I check in a session?

In the Codex CLI, /status shows the current session’s usage and limits. That’s the quickest check while you’re working, but it covers what Codex knows right now, in that session.

How does Calyban show them?

The Capabilities page reads the most recent rate_limits block from your Codex rollout files and shows a Codex plan limits panel: your plan, how much of the 5-hour and weekly windows is used, when the weekly one resets, and when Codex last reported it. If the 5-hour window has reset since that report, it says so instead of showing a stale number.

The useful part is what sits next to it: the same page lists every MCP server, skill and command Codex used in the period, with how often and what it cost in tokens. When the weekly bar is at 49% on a Tuesday, you can see whether that’s your own work or a connection re-reading huge results on every call.

Why do limits run out faster than expected?

Three common reasons, each visible on the Capabilities page:

Good to know

Calyban reads Codex’s own logs on your computer and sends nothing anywhere, so the bars update with every Codex session. Token costs elsewhere on the page use public API prices; if you’re on a ChatGPT plan, the limit bars are the number to watch.

More on the page itself: Capabilities. If the panel disagrees with /status, tell us in Discord with your Codex version.

← More features · All field notes