- Genial
- AI Resources
- AI API pricing dashboard
- Claude vs OpenAI API pricing
AI Resources
Claude vs OpenAI API pricing
Claude and OpenAI API prices side by side: model tiers, current models, the cost of the same workload and what each API supports, read from the providers' own pricing pages.
Last verified: October 13, 2026
AnthropicOpus 5.5 and Fable 5.1 offer 1M context at standard token rates, with model-specific cache discounts.
OpenAIGPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna cover reasoning, coding and high-volume work, with separate image and voice models.
Tier by tier
The closest model of each provider at four levels, shown as input / output price per million tokens.
| Tier | Claude | OpenAI |
|---|---|---|
| Flagship | Fable 5.1$10/$50 | GPT-6 Astra$10/$50 |
| Mid | Sonnet 5.5$2/$10 | GPT-6.1 Sol$2/$10 |
| Budget | Haiku 4.5$1/$5 | GPT-6 Luna$0.10/$0.50 |
| Reasoning | Opus 5.5$4/$20 | GPT-6 Astra$10/$50 |
Cost of the same workload
Base token-cost estimate for 10 equal requests: 100K input + 10K output tokens each (1M + 100K total). Only models with documented limits covering each request are shown. DeepSeek uses peak rates; its cached row assumes all input hits an existing cache, excluding warm-up misses. Gemini 2.5 requires prior active use. Cache writes, storage, tools, media and service premiums are excluded.
| Claude | Cost |
|---|---|
| Claude Sonnet 5.5 | $3.00 |
| Claude Sonnet 5 | $3.00 |
| Claude Opus 5.5 | $6.00 |
| Claude Opus 4.6 | $7.50 |
| Claude Opus 5 | $7.50 |
| Claude Fable 5.1 | $15.00 |
| Claude Fable 5 | $15.00 |
| OpenAI | Cost |
|---|---|
| GPT-6 Luna | $0.15 |
| GPT-5.6 Luna | $0.32 |
| GPT-5.4 Nano | $0.33 |
| GPT-5.4 Mini | $1.20 |
| GPT-6.1 Sol | $3.00 |
| GPT-6 Sol | $3.00 |
| GPT-5.6 Terra | $3.20 |
| GPT-5.6 Sol | $6.00 |
| GPT-6 Astra | $15.00 |
Anthropic models and prices
| Model | API ID | Input | Output | Batch in/out | Cache hit | Context | Max out |
|---|---|---|---|---|---|---|---|
| Fable 5.1 | claude-fable-5-1 | $10.00 | $50.00 | $5.00 / $25.00 | $0.25 | 1M | 128K |
| Opus 5.5 | claude-opus-5-5 | $4.00 | $20.00 | $2.00 / $10.00 | $0.20 | 1M | 128K |
| Mythos 5.1 | claude-mythos-5-1 | $10.00 | $50.00 | $5.00 / $25.00 | $0.25 | 1M | 128K |
| Mythos 5 | claude-mythos-5 | $10.00 | $50.00 | $5.00 / $25.00 | $1.00 | 1M | 128K |
| Sonnet 5.5 | claude-sonnet-5-5 | $2.00 | $10.00 | $1.00 / $5.00 | $0.10 | 1M | 128K |
| Haiku 5.5 | claude-haiku-5-5 | $0.10 / $0.50 | $0.50 / $2.50 | $0.05 / $0.25; $0.25 / $1.25 | $0.01 / $0.05 | 1M | 128K |
Fable 5.1 and Mythos 5.1 cache reads cost 2.5% of base input; Opus 5.5 and Sonnet 5.5 reads cost 5%; other listed models use 10%. Five-minute writes cost 1.25x input and one-hour writes 2x, without a separate storage fee. Batch discounts input and output by 50%. Fable 5.1, Opus 5.5 and Sonnet 5.5 provide 1M context at standard rates. Haiku 5.5 has 1M context but higher rates above 100K prompt tokens, including cached tokens. Its directory cells show up-to-100K then above-100K rates; each batch pair is input/output. Output limits shown are standard limits, excluding Batch betas. Opus 4.1 retired on August 5, 2026. Opus 5.5, Sonnet 5.5 and Haiku 5.5 additionally support 300K maximum output on the Message Batches API with the output-300k-2026-03-24 beta header. Sonnet 4.5 was deprecated on 2026-09-30 and is scheduled to retire on 2026-11-30; Anthropic recommends claude-sonnet-5-5.
OpenAI models and prices
| Model | API ID | Input | Cached | Output | Context | Max out |
|---|---|---|---|---|---|---|
| GPT-6 Astra | gpt-6-astra | $10.00 | $1.00 | $50.00 | 1.05M | 128K |
| GPT-6.1 Sol | gpt-6.1-sol | $2.00 | $0.10 | $10.00 | 1.05M | 128K |
| GPT-6 Sol | gpt-6-sol | $2.00 | $0.20 | $10.00 | 1.05M | 128K |
| GPT-6 Luna | gpt-6-luna | $0.10 | $0.01 | $0.50 | 1.05M | 128K |
| GPT-5.6 Sol | gpt-5.6-sol | $4.00 | $0.40 | $20.00 | 1.05M | 128K |
| GPT-5.6 Terra | gpt-5.6-terra | $2.00 | $0.20 | $12.00 | 1.05M | 128K |
| GPT-5.6 Luna | gpt-5.6-luna | $0.20 | $0.02 | $1.20 | 1.05M | 128K |
| GPT-5.5 | gpt-5.5 | $5.00 | $0.50 | $30.00 | 1.05M | 128K |
| GPT-5.5 Pro | gpt-5.5-pro | $30.00 | N/A | $180.00 | 1.05M | 128K |
| GPT-5.4 | gpt-5.4 | $2.50 | $0.25 | $15.00 | 1.05M | 128K |
| GPT-5.4 Pro | gpt-5.4-pro | $30.00 | N/A | $180.00 | 1.05M | 128K |
| GPT-5.4 Mini | gpt-5.4-mini | $0.75 | $0.075 | $4.50 | 400K | 128K |
GPT-6 prices shown are Standard rates through 272K input tokens. Above that threshold, the full request uses 2x input/cache and 1.5x output rates. GPT-5.6 and later cache writes cost 1.25x uncached input instead of an additive fee; GPT-6.1 Sol reads cost 5% of input and the other listed GPT-6 models use 10%, with implicit or explicit caching from 1,024 tokens. Earlier-model minima vary; Pro rows do not list a cache discount. GPT-6 Batch/Flex cost 50% of Standard and Fast mode 2x. GPT-5.6 Sol pricing is promotional through at least November 21, 2026. Check individual older-model long-context rules. The 2x long-context multiplier also applies to cache writes. The fine-tuning platform is closed to new users. Astra Ultrafast short-context rates are $60 input, $6 cached input, $75 cache writes and $300 output per million tokens. GPT-5.4 Nano and GPT-5.3 Codex are deprecated, with shutdown scheduled for 2027-04-01.
What each API supports
| Capability | Claude | OpenAI |
|---|---|---|
| Vision (image in) | Yes | Yes |
| Video input | Not documented | Not documented |
| Audio input | Not documented | Realtime 2.1 |
| PDF input | PDF text and page images | PDF text and page images |
| Image generation | Not documented | GPT Image 2.5 |
| Video generation | Not documented | Videos API shut down 2026-09-24 |
| Text to speech | Not documented | Realtime 2.1 Mini |
| Embeddings | Not documented | text-embedding-3-small |
| Web search | $10/1K | $10/1K |
| Tool / function calling | Yes | Yes |
| Structured JSON | Schema enforced | Schema enforced |
| Reasoning mode | Adaptive thinking | Effort levels |
| Code fill-in-the-middle | Not documented | Not documented |
| Prompt caching | 90–97.5% off cache reads | GPT-6: 90–95% off reads; 1.25x writes |
| Batch API | Yes, 50% off | Yes, 50% off |
| Long-context surcharge | Haiku 5.5: higher rates above 100K prompt tokens | GPT-6 above 272K: 2x input/cache/write, 1.5x output |
| Free tier | Trial credits | Not documented |
| Max context | 1M | 1.05M |
| Max output | 128K standard; 300K on selected Batch betas | 128K |
| OpenAI SDK compatible | Testing layer; no prompt caching or strict schemas | Native |
| Data sovereignty | US residency (1.1x) | Regional (1.1x) |
Sources
Every figure on this page was read from the provider's own pricing documentation on the verification date shown above.