OpenAI vs Anthropic API pricing
Updated 2026-12-01. Prices from official pricing pages, quality ranks from LMArena.
At the top end Claude is now cheaper: since Nov 9, 2026, Claude Fable 5.2 costs $8 input and $40 output per 1M tokens, against $10 and $50 for GPT-6 Astra. In the mid tier, GPT-6.1 Sol ($2 / $10) and Claude Sonnet 5.5 ($2 / $10) also match. The small models match too: GPT-6 Luna and Claude Haiku 5.5 are both $0.10 / $0.50 (Haiku's rate is for prompts up to 100K tokens). Claude models rank higher on LMArena's Code Arena among the models we track.
| Model | Input | Output | 30M in + 6M out |
|---|---|---|---|
| GPT-6 Astra | $10 | $50 | $600 |
| GPT-6.2 Astra | $8 | $40 | $480 |
| GPT-5.6 Sol | $5 | $30 | $330 |
| GPT-5.5 | $5 | $30 | $330 |
| GPT-5.6 Terra | $2 | $12 | $132 |
| GPT-6.2 Sol | $2 | $10 | $120 |
| GPT-6.1 Sol | $2 | $10 | $120 |
| GPT-6 Sol | $2 | $10 | $120 |
| GPT-6.1 Terra | $1 | $5 | $60 |
| GPT-6 Luna | $0.10 | $0.50 | $6 |
| Claude Fable 5.2 | $8 | $40 | $480 |
| Claude Mythos 5.2 | $8 | $40 | $480 |
| Claude Opus 5.5 | $4 | $20 | $240 |
| Claude Sonnet 5.5 | $2 | $10 | $120 |
| Claude Haiku 5.5 | $0.10 | $0.50 | $6 |
USD per 1M tokens, standard tier, short-context rate, checked 2026-12-01. Coding rank is the position among models we track on LMArena (CC BY 4.0) Code Arena.
OpenAI vs Anthropic prices, tier by tier
- Flagship: GPT-6 Astra $10 / $50 vs Claude Fable 5.2 $8 / $40. Fable 5.2, released Nov 9, is 20% cheaper at list price (see the Fable 5.2 launch), and Astra charges more above 272K prompt tokens (Longer prompts cost $20 in, $75 out).
- Workhorse: GPT-6.1 Sol $2 / $10 vs Claude Sonnet 5.5 $2 / $10. Sample month: $120 vs $120. Sol has cheaper cache reads ($0.10).
- Top coding model: Claude Opus 5.5 at $4 / $20 is #2 on Code Arena among tracked models, ahead of GPT-6 Astra (#6) at a lower price.
- Small and cheap: GPT-6 Luna $0.10 / $0.50 vs Claude Haiku 5.5 $0.10 / $0.50. Sample month: $6 vs $6. Haiku's rate goes up above 100K-token prompts, while Luna's listed rate covers prompts up to 272K.
Things the headline price hides
- Long prompts: OpenAI charges a higher rate above 272K prompt tokens on GPT-6 models. Claude Haiku 5.5's listed rate is for prompts up to 100K tokens.
- Caching: both discount cached input heavily; Anthropic also bills cache writes (for example $2.50 per 1M for 5-minute writes on Sonnet 5.5).
- Subscriptions with API credits: Claude Max and Ultra (formerly Max 5x and Max 20x) include $100/mo API credits and $200/mo API credits respectively, per Anthropic's pricing page.
Other providers are often cheaper still: see the cheapest LLM API ranking, DeepSeek vs Claude API cost, or the full AI API price table. GPT vs Gemini: OpenAI vs Gemini API pricing.
Sources
FAQ
Is the OpenAI API cheaper than Claude?
Mostly no, list prices match tier for tier: GPT-6 Luna and Claude Haiku 5.5 are both $0.10 input and $0.50 output per 1M tokens (Haiku up to 100K-token prompts), and mid-tier prices are the same, while Claude Fable 5.2 undercuts GPT-6 Astra at the top. For prompts between 100K and 272K tokens, Luna is the cheaper one.
How much does GPT-6.1 Sol cost vs Claude Sonnet 5.5?
Both list at $2 input and $10 output per 1M tokens. GPT-6.1 Sol has cached input at $0.10.
Which is better for coding, GPT or Claude?
On LMArena's Code Arena, Claude Opus 5.5 is #2 among the models we track, GPT-6 Astra #6, Claude Sonnet 5.5 #3 and GPT-6.1 Sol #10. Ranks shift, so test on your own tasks.
What is the cheapest OpenAI model?
GPT-6 Luna at $0.10 input and $0.50 output per 1M tokens, as of 2026-12-01.
What is the cheapest Claude model?
Claude Haiku 5.5 at $0.10 input and $0.50 output per 1M tokens, as of 2026-12-01.
Is a ChatGPT or Claude subscription cheaper than the API?
For steady daily use it often is, because plans include a usage allowance for a flat price. The plan vs API calculator compares both for your usage.
Model vs model, head to head
- GPT-6.1 Sol vs Claude Opus 5.5
- GPT-6.1 Sol vs Claude Sonnet 5.5
- GPT-6 Astra vs Claude Fable 5.1
- Claude Fable 5.2 vs GPT-6 Astra
- Claude Mythos 5.2 vs GPT-6 Astra
- GPT-6.1 Terra vs Claude Opus 5.5
- GPT-6.1 Terra vs Claude Sonnet 5.5
- GPT-6 Astra vs Claude Opus 5.5
- GPT-6 Luna vs Claude Haiku 5.5
- GPT-6.2 Astra vs Claude Fable 5.2
- GPT-6.2 Sol vs Claude Sonnet 5.5
- GPT-6.2 Astra vs Claude Opus 5.5
- GPT-6.2 Sol vs Claude Opus 5.5
- GPT-6.2 Sol vs Claude Fable 5.2
- Compare any AI models side by side
Related
- Best model for OpenClaw: top picks and what they cost
- GPT-6.2 Sol vs Claude Opus 5.5: API price compared
- GPT-6.2 Astra vs Claude Opus 5.5: API price compared
- GPT-6.2 Astra vs GPT-6.2 Sol: API price compared
- GPT-6.2 Sol vs Claude Sonnet 5.5: mid-tier API price
- GPT-6.2 Astra vs Claude Fable 5.2: API price compared
- GPT-6.2 Astra vs GPT-6 Astra: 20% lower API price
- GPT-6.2 Sol vs GPT-6.1 Sol: same price, new model
- Claude Max API credits: how to claim $100 or $200 a month
- Cheapest AI API for coding, by quality level
- Grok API pricing: Grok 4.7, 4.3, Build, tools, rate limits
- ChatGPT Pro API credits: how to claim up to $500 a month
- DeepSeek Search and Fetch API pricing: what changes Oct 31
- GPT-6.1 Terra vs GPT-6.1 Sol: which should you use?
- Claude Pro vs API: which is cheaper for you?
- GPT-6 Astra vs Claude Opus 5.5: cost, coding and limits
- DeepSeek off-peak hours and pricing in your time zone
- GPT-6 Astra vs GPT-6.1 Sol: cost, Codex limits, which to use
- OpenAI API pricing
- Anthropic API pricing
- Cheapest LLM API
- DeepSeek vs Claude API cost
- Best model for coding
- Plan vs API calculator
More guides
- OpenAI Ultrafast pricing: GPT-6.2 API rates and Codex usage
- Qwen API pricing tiers explained
- StepFun API pricing explained
- 1M context LLM API pricing: what a 500K-token prompt costs
- ByteDance Seed API pricing explained
- Claude vs Gemini API pricing
Not sure a plan beats the API for you? Try the plan vs API cost calculator.