Griffin / Claude Code pricing / Codex pricing
Codex pricing: plans, credits, and how it compares with Claude Code
Short answer: Codex is included in ChatGPT plans: Plus at $20 a month, Pro at $100, $200 or $500, Business at $25 a user, plus a limited Free tier and Go at $8.1 Plus gives 15 to 160 GPT-6.1 Sol messages every five hours; Pro has no five-hour limit; past a limit you buy credits at $0.04 each.1 Per token, GPT-6.1 Sol and Claude Sonnet 5.5 cost the same, but on RouteBench Sol did the same coding tasks for $0.87 per 1,000 against Sonnet's $2.27.23
How much does Codex cost?
Codex costs $20 a month with ChatGPT Plus, $100, $200 or $500 with Pro, and $25 a user a month with Business ($20 billed annually), and it is also in Free and Go with GPT-6 Luna only.1
| Plan | Price | Codex models | What's included |
|---|---|---|---|
| Free | $0 | GPT-6 Luna | Desktop app at standard speed, as it rolls out |
| Go | $8 a month | GPT-6 Luna | Codex on the cheaper model |
| Plus | $20 a month | GPT-6.1 Sol, GPT-6 Luna and more | Web, CLI, IDE and iOS; cloud code review; Slack; extra credits |
| Pro | $100, $200 or $500 a month | All Codex models | No five-hour limit; Ultrafast on the $500 tier |
| Business | $25 a user a month, or $20 billed annually | Same as Plus | Two or more users |
| Enterprise and Edu | Contact sales | By agreement | Priced by OpenAI's sales team |
| API key | Per token | Any API model | Local use only, no cloud features |
How many Codex messages does each plan get?
Codex on Plus gives 15 to 160 local messages every five hours on GPT-6.1 Sol and 350 to 3,000 on GPT-6 Luna, with the range depending on task size; Pro plans currently have no five-hour limit.1
| Model | Messages per 5 hours |
|---|---|
| GPT-6 Luna | 350–3,000 |
| GPT-6.1 Terra | 35–285 |
| GPT-6.2 Sol | 17–180 |
| GPT-6.1 Sol | 15–160 |
| GPT-6 Sol | 15–150 |
| GPT-6.2 Astra | 6–50 |
| GPT-6 Astra | 5–45 |
Weekly limits may also apply, cloud tasks can use more of the allowance than local ones, and the usage dashboard shows when each limit resets.1 Developers Digest reports that OpenAI lowered the $200 Pro allowance for new subscriptions on September 29, 2026, with existing subscribers kept on the old allowance until October 29.4
How do Codex credits work, and what do they cost in dollars?
Codex credits pay for use past your plan's limits, and one credit works out to $0.04: OpenAI prices GPT-6.2 Sol at 50 credits or $2 per million input tokens.1 We converted the rest of OpenAI's credit table at that rate:
| Model | Credits: input · cached · output | Dollars: input · cached · output |
|---|---|---|
| GPT-6 Luna | 2.5 · 0.25 · 12.5 | $0.10 · $0.01 · $0.50 |
| GPT-6.1 Terra | 25 · 1.25 · 125 | $1.00 · $0.05 · $5.00 |
| GPT-6.1 Sol | 50 · 2.5 · 250 | $2.00 · $0.10 · $10.00 |
| GPT-6.2 Sol | 50 · 2.5 · 250 | $2.00 · $0.10 · $10.00 |
| GPT-6.2 Astra | 200 · 10 · 1,000 | $8.00 · $0.40 · $40.00 |
| GPT-6 Astra | 250 · 25 · 1,250 | $10.00 · $1.00 · $50.00 |
Codex charges no separate cache-write fee, while Claude's API charges 1.25x the input price to write the cache.13 Fast mode uses 2x to 2.5x the included usage, and Ultrafast 6x to 8x.1 OpenAI says a typical task on the older GPT-5.6 Sol uses 2 to 15 credits, about $0.08 to $0.60 at our rate; GPT-6.1 Sol's token rates are half of GPT-5.6 Sol's.1
Is Codex cheaper than Claude Code?
Codex and Claude Code cost the same at the entry tier, $20 a month, and their matching models have the same list price per token, so the difference comes from how many tokens each model spends on a task.135
| Tier | Codex | Claude Code |
|---|---|---|
| Entry plan | ChatGPT Plus, $20 | Claude Pro, $20 |
| Middle plan | ChatGPT Pro, $100 | Claude Max, $100 |
| Top plan | ChatGPT Pro, $200 or $500 | Claude Ultra, $200 |
| Fast model, $ per million in · out | GPT-6 Luna, $0.10 · $0.50 | Haiku 5.5, $0.10 · $0.50 |
| Main model | GPT-6.1 Sol, $2 · $10 | Sonnet 5.5, $2 · $10 |
| Largest model | GPT-6.2 Astra, $8 · $40 | Fable 5.2, $8 · $40 |
On RouteBench's coding tasks, the GPT models used fewer tokens for the same results: GPT-6.1 Sol passed all of them at $0.87 per 1,000 against Sonnet 5.5's $2.27, and GPT-6 Luna all of them at $0.05 against Haiku 5.5's 99.2% at $0.13.2
| Model | Code review | Security review | Tool calling |
|---|---|---|---|
| GPT-6.1 Sol | 100% · $0.72 | 100% · $0.81 | 100% · $1.16 |
| Claude Sonnet 5.5 | 100% · $1.39 | 100% · $1.71 | 100% · $3.77 |
| GPT-6 Luna | 100% · $0.05 | 100% · $0.05 | 100% · $0.06 |
| Claude Haiku 5.5 | 99.1% · $0.10 | 98.1% · $0.10 | 100% · $0.17 |
These are short single calls; on long agent sessions the gap depends on each agent's harness and caching as much as the model. Claude Code also defaults to Opus 5.5, at twice Sonnet's price, so switching its default to Sonnet closes half the gap before you compare.6 Every Claude plan is broken down in Claude Code pricing, and the cheaper flat plans for other models in our GLM and Kimi guides.
Is Codex Pro worth $100 or $200 a month?
Codex Pro is worth it if Plus's five-hour limit stops you more than once or twice a week, because Pro removes the five-hour limit entirely; the $100 tier is the step up from Plus, and $500 adds Ultrafast mode.1 If you only hit the limit now and then, buying credits on Plus costs less.1
Is Codex free?
Codex has a free tier: ChatGPT Free includes Codex with GPT-6 Luna at standard speed in the desktop app, as OpenAI rolls it out, and Go adds it for $8 a month.1 The stronger GPT-6.1 Sol model starts with Plus at $20.1
How do I check my Codex usage?
You check Codex usage on the usage dashboard in ChatGPT or by running /status in the Codex CLI, which shows where you are against the five-hour and weekly limits.1
What happens when you hit a Codex limit?
When you hit a Codex limit, Plus and Pro users can buy more credits to keep going, and anyone can keep working locally by signing in with an API key, billed per token.1 Switching to a cheaper model also stretches what's left: on Plus, GPT-6 Luna allows about 20 times as many messages as GPT-6.1 Sol.1
How can I make Codex cost less?
You make Codex cost less by keeping prompts and AGENTS.md short, giving it only the files it needs, asking for output no longer than needed, and using GPT-6 Luna for routine work, which is OpenAI's own advice.1 The same levers work in Claude Code; see our Claude Code token usage guide.
Sources
- OpenAI: Codex pricing · checked
- Griffin: RouteBench coding results, six runs pooled (our data) · checked
- Claude API docs: pricing · checked
- Developers Digest: Codex usage limits and pricing in 2026 · checked
- Anthropic: Claude plans and pricing · checked
- Claude Code docs: model configuration · checked
FAQ
How much does Codex cost?
Codex is included with ChatGPT Plus at $20 a month, Pro at $100, $200 or $500, and Business at $25 a user a month ($20 billed annually). Free and Go include it with GPT-6 Luna only.
Is Codex cheaper than Claude Code?
The plans cost the same at $20, and the matching models have the same token prices. On RouteBench coding tasks GPT-6.1 Sol cost $0.87 per 1,000 against Claude Sonnet 5.5's $2.27, because it used fewer tokens.
Does Codex Pro have limits?
Pro plans currently have no five-hour limit. Weekly limits may still apply.
How much is one Codex credit worth?
About $0.04: OpenAI prices GPT-6.2 Sol at 50 credits, or $2, per million input tokens.
Can I use Codex with an API key instead of a plan?
Yes, for local use in the CLI and IDE, billed at API token prices. Cloud features need a ChatGPT plan.
See which model each feature really needs.
Griffin replays your app's real AI calls on cheaper models, GPT or Claude, and moves a feature only after one passed. Watching is free.