Codex credits vs Claude weekly windows

Pro 20x has a weekly credit number you can watch. Claude does not.

If you came here from a thread mixing “Pro 20x”, “weekly”, “Codex”, and “credits”, you are circling a real mismatch. Both OpenAI and Anthropic now sell a $200 20x tier for heavy coders. Only one of them shows you a balance.

M
Matthew Diakonov
7 min read

Direct answer (verified 2026-06-15)

No, Claude Pro and Max 20x do not have weekly credits like Codex. Codex switched to a token-based credit balance on April 2, 2026, so you see a number and can buy more. Claude has no credit counter at all. It meters you with a rolling 5-hour window plus several 7-day (weekly) utilization buckets, and bills overflow as pay-as-you-go extra usage. The numbers live only in the raw /api/oauth/usage response, a trimmed version of which renders at claude.ai/settings/usage.

The two “20x” plans meter you in opposite ways

The shared label is the trap. ChatGPT Pro 20x is the $200/month plan, roughly 20 times the Plus Codex limits (about 200 to 1,200 cloud tasks per 5-hour window). Claude Max 20x is also $200/month and sized at about 20 times Claude Pro. Same price, same multiplier, completely different way of telling you where you stand. Codex hands you a depleting credit balance. Claude hands you a set of percentage bars, and only some of them are visible in the product.

Credits vs utilization windows

Both are $200 heavy-use tiers. Only one exposes a number you can watch.

FeatureChatGPT Pro 20x / CodexClaude Pro / Max 20x
Unit of meteringToken-based credits (since Apr 2, 2026)Utilization fractions on rolling windows
Visible balance in-appYes, a credit number you watch tick downNo credit number anywhere in the Claude apps
Weekly structureOne credit pool per planSix+ separate seven_day* buckets
Per-model capsCredits priced per model, one balanceseven_day_opus and seven_day_sonnet are distinct windows
Paying for overflowBuy more credits, pre-paid, depleteMetered extra_usage, accrued in dollars after
Where the real number livesShown in ChatGPT / Codex UI/api/oauth/usage JSON, trimmed at /settings/usage

Codex credit pricing per OpenAI's April 2, 2026 token-billing change. Claude window fields read from the open-source claude-meter src/models.rs.

Claude’s “weekly limit” is not one number. It is six.

This is the part every Codex-vs-Claude comparison gets wrong. They write “Claude weekly limit” as if it were a single cap, the mirror of a Codex credit pool. It is not. The endpoint that backs your usage returns a whole family of seven-day windows, each with its own utilization float and its own reset clock. You can sit at 68% on the headline weekly bar while a model-specific bucket like seven_day_opus is already at 91% and about to be the thing that stops you.

api.anthropic.com/api/oauth/usage (response shape)

The anchor fact

In the open-source claude-meter Rust core, the response deserializes into struct UsageResponse in src/models.rs. The weekly side alone is seven_day, seven_day_sonnet, seven_day_opus, seven_day_oauth_apps, seven_day_omelette, and seven_day_cowork. Six weekly windows, plus the 5-hour window and an extra_usage block. A Codex credit balance is one scalar. This is a vector, and Anthropic only paints part of it for you.

Why the visibility gap actually bites

On Codex, running out is a non-event: the credit number told you it was coming, and you topped up. On Claude, the failure mode is a wall you did not see. Because there is no balance and the per-model buckets are hidden, the first signal you get is a 429 mid-refactor. That is the workflow this page is about closing.

Hitting the weekly cap, with and without the number in front of you

You code against Opus all morning. The Settings page weekly bar reads a comfortable 68%, so you keep going. The bucket actually gating you is seven_day_opus, which the page does not foreground. It hits 100%. Claude Code stops mid-task and you find out from the error.

  • No credit number to watch
  • Per-model weekly bucket hidden
  • First signal is the 429

Read your own weekly windows in one request

You do not have to take this on faith. The number Anthropic enforces is one authenticated GET away, using the token Claude Code already put in your Keychain. claude-meter automates this on a one-minute poll, but here is the raw path so you can confirm the buckets exist.

claude-meter --json

One caveat worth stating plainly, since it is the second most common mix-up after the “Claude has credits” assumption: ccusage cannot show you this. Local token tools sum the JSONL files in ~/.claude/projects against a price card. That is an honest local token count, but it is a different data source than the server’s utilization. The weekly buckets fold in web traffic, other devices, and peak-hour weighting that never touch your disk. Only the server response tells you how close you are to the cap.

Want every Claude weekly bucket on one bar?

If you are juggling Pro 20x, Codex credits, and a Claude Max plan, I can walk you through reading the server-truth windows live. Book 15 minutes.

Questions people actually ask about this

Frequently asked questions

Does Claude Pro or Max 20x have weekly credits like Codex?

No. Codex switched to a token-based credit balance on April 2, 2026, so you see a number, you watch it tick down, and you can buy more without changing plans. Claude Pro and Max 20x have no credit balance at all. Anthropic meters you with utilization fractions on a rolling 5-hour window plus several 7-day (weekly) windows, and bills overflow as pay-as-you-go 'extra usage'. There is no 'credits remaining' figure anywhere in the Claude apps. The closest analog is the percentage bar at claude.ai/settings/usage, and even that does not show every weekly bucket the server enforces.

What does '20x' actually refer to, Claude or Codex?

Both ecosystems shipped a 20x tier, which is exactly why this comparison is confusing. ChatGPT Pro 20x is the $200/month plan, 20 times the Plus limits, roughly 200 to 1,200 Codex cloud tasks per 5-hour window. Claude Max 20x is also $200/month and is sized at about 20 times Claude Pro. The shared '20x' label hides a structural difference: Codex 20x meters you in credits you can see and buy, Claude Max 20x meters you in opaque utilization windows you cannot.

How many weekly buckets does Claude actually track?

At least six. The /api/oauth/usage payload that claude-meter reads deserializes into a UsageResponse struct (src/models.rs) with seven_day, seven_day_sonnet, seven_day_opus, seven_day_oauth_apps, seven_day_omelette, and seven_day_cowork, alongside the five_hour window and an extra_usage block. Each seven_day* field is a Window object with a utilization float and a resets_at timestamp. Claude's own Settings page renders only a subset of these, so you can be fine on the headline weekly bar while a model-specific bucket like seven_day_opus is the one about to 429 you.

Where does Claude's weekly number actually live if there is no credit counter?

In one undocumented endpoint: GET https://api.anthropic.com/api/oauth/usage, authorized with the Bearer token Claude Code already stores in your macOS Keychain under the service name 'Claude Code-credentials'. That single response carries the 5-hour window, all the seven_day* windows, and the extra_usage block. claude.ai/settings/usage calls the same internal data and renders a trimmed version. claude-meter reads the raw response and shows every window in the menu bar.

Can ccusage show me my Claude weekly quota like a Codex credit balance?

No, and this is the most common mix-up. ccusage and Claude-Code-Usage-Monitor read ~/.claude/projects/**/*.jsonl on your disk and sum tokens against a price card. That is an accurate local token count, but it is not the server's utilization. The weekly buckets fold in peak-hour weighting, claude.ai web traffic, other devices on your account, and OAuth-app calls, none of which appear in your local files. They answer 'what did Claude Code burn here', not 'how close is Anthropic to weekly-capping me'. Only the server number tells you that.

Does Claude let me buy more like topping up Codex credits?

Sort of, but it is not a credit purchase. When you cross a window, Anthropic can route overflow into metered 'extra usage', a pay-as-you-go dollar balance, rather than hard-stopping you. claude-meter surfaces that as the extra_usage block in dollars. The difference from Codex is that you do not pre-buy a credit pack and watch it deplete; you accrue overage after the fact, which is exactly why seeing the weekly utilization climb before you hit it matters more on Claude than on Codex.

Is claude-meter free and does it work without the Claude Code CLI?

It is free, open-source (MIT), and macOS 12 or newer. The menu bar app reads the OAuth token that the Claude Code CLI stores in your Keychain, so you need Claude Code installed and logged in (run 'claude' once). There is also a browser extension path that forwards your claude.ai session instead. Either way there is no manual cookie paste and no separate login. Install: brew install --cask m13v/tap/claude-meter.

How did this page land for you?

React to reveal totals

Comments ()

Leave a comment to see what others are saying.

Public and anonymous. No signup.