griffin

Griffin / Claude Code pricing / Codex pricing

Codex pricing: plans, credits, and how it compares with Claude Code

By Ilya Volodarsky · updated · sources checked · Winding AI makes Griffin

The Griffin eagle reading a stack of pricing documents

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

ChatGPT plans that include Codex (OpenAI, checked November 21, 2026).
PlanPriceCodex modelsWhat's included
Free$0GPT-6 LunaDesktop app at standard speed, as it rolls out
Go$8 a monthGPT-6 LunaCodex on the cheaper model
Plus$20 a monthGPT-6.1 Sol, GPT-6 Luna and moreWeb, CLI, IDE and iOS; cloud code review; Slack; extra credits
Pro$100, $200 or $500 a monthAll Codex modelsNo five-hour limit; Ultrafast on the $500 tier
Business$25 a user a month, or $20 billed annuallySame as PlusTwo or more users
Enterprise and EduContact salesBy agreementPriced by OpenAI's sales team
API keyPer tokenAny API modelLocal 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

Local messages per 5 hours on Plus and Standard Business seats (OpenAI, checked November 21, 2026).
ModelMessages per 5 hours
GPT-6 Luna350–3,000
GPT-6.1 Terra35–285
GPT-6.2 Sol17–180
GPT-6.1 Sol15–160
GPT-6 Sol15–150
GPT-6.2 Astra6–50
GPT-6 Astra5–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:

Codex credits per million tokens, and our conversion to dollars at $0.04 a credit (OpenAI, checked November 21, 2026).
ModelCredits: input · cached · outputDollars: input · cached · output
GPT-6 Luna2.5 · 0.25 · 12.5$0.10 · $0.01 · $0.50
GPT-6.1 Terra25 · 1.25 · 125$1.00 · $0.05 · $5.00
GPT-6.1 Sol50 · 2.5 · 250$2.00 · $0.10 · $10.00
GPT-6.2 Sol50 · 2.5 · 250$2.00 · $0.10 · $10.00
GPT-6.2 Astra200 · 10 · 1,000$8.00 · $0.40 · $40.00
GPT-6 Astra250 · 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

Matching tiers and models, Codex against Claude Code (OpenAI and Anthropic, checked November 21, 2026).
TierCodexClaude Code
Entry planChatGPT Plus, $20Claude Pro, $20
Middle planChatGPT Pro, $100Claude Max, $100
Top planChatGPT Pro, $200 or $500Claude Ultra, $200
Fast model, $ per million in · outGPT-6 Luna, $0.10 · $0.50Haiku 5.5, $0.10 · $0.50
Main modelGPT-6.1 Sol, $2 · $10Sonnet 5.5, $2 · $10
Largest modelGPT-6.2 Astra, $8 · $40Fable 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

RouteBench, six weekly runs pooled (October 12 to November 16, 2026): pass rate · $ per 1,000 tasks at OpenRouter prices.
ModelCode reviewSecurity reviewTool calling
GPT-6.1 Sol100% · $0.72100% · $0.81100% · $1.16
Claude Sonnet 5.5100% · $1.39100% · $1.71100% · $3.77
GPT-6 Luna100% · $0.05100% · $0.05100% · $0.06
Claude Haiku 5.599.1% · $0.1098.1% · $0.10100% · $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

  1. OpenAI: Codex pricing · checked
  2. Griffin: RouteBench coding results, six runs pooled (our data) · checked
  3. Claude API docs: pricing · checked
  4. Developers Digest: Codex usage limits and pricing in 2026 · checked
  5. Anthropic: Claude plans and pricing · checked
  6. 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.

Start free