Prices verified 25 November 2026 on Anthropic's pricing docs and OpenAI's API pricing page. Subscription prices were checked on claude.com/pricing and OpenAI's help center the same day.
Both lineups changed again since September. Anthropic replaced Fable 5.1, Sonnet 5 and Haiku 4.5 with Fable 5.2, Sonnet 5.5 and Haiku 5.5. OpenAI added GPT-6.1 Sol, a new lower-mid tier called GPT-6.1 Terra, and on 17 November GPT-6.2 Astra ($8/$40) and GPT-6.2 Sol ($2/$10). GPT-6 Astra ($10/$50) and GPT-6 Luna are still listed.
The answer to "which is cheaper, OpenAI or Anthropic?" is still: it depends on your tier, how much you cache, and how long your prompts are. Below: every Claude rate, every GPT rate, the side-by-side, the subscriptions, the hidden costs, four worked bills, and the routing setup that beats both. (For rates across every major provider, see our complete LLM pricing guide.)
Anthropic pricing: every Claude model per 1M tokens (Nov 2026)
Anthropic charges per million tokens (MTok), with separate rates for input, output, cache writes and cache hits. Here's the full list from Anthropic's pricing docs, current models first.
| Claude model | Input | 5-min cache write | 1-hour cache write | Cache hit | Output |
|---|---|---|---|---|---|
| Fable 5.2 | $8 | $10 | $16 | $0.20 | $40 |
| Opus 5.5 | $4 | $5 | $8 | $0.20 | $20 |
| Sonnet 5.5 | $2 | $2.50 | $4 | $0.10 | $10 |
| Haiku 5.5 (prompts up to 100K tokens) | $0.10 | $0.125 | $0.20 | $0.01 | $0.50 |
| Haiku 5.5 (prompts over 100K tokens) | $0.50 | $0.625 | $1 | $0.05 | $2.50 |
| Fable 5.1 (previous) | $10 | $12.50 | $20 | $0.25 | $50 |
| Opus 5, 4.8, 4.7, 4.6, 4.5 (previous) | $5 | $6.25 | $10 | $0.50 | $25 |
| Sonnet 5 (previous) | $2 | $2.50 | $4 | $0.20 | $10 |
| Sonnet 4.6, 4.5 (previous) | $3 | $3.75 | $6 | $0.30 | $15 |
| Haiku 4.5 (previous) | $1 | $1.25 | $2 | $0.10 | $5 |
Claude Mythos 5.2 is priced the same as Fable 5.2, but it is limited-availability: only organizations verified through Anthropic's programs can use it.
Three things stand out. Fable 5.2 is 20% cheaper than the Fable 5.1 it replaced, so check which model ID your code calls. Opus 5.5 at $4/$20 is 20% cheaper than Opus 4.8 and Opus 5. And Haiku 5.5 is a tenth of Haiku 4.5's price, as long as your prompts stay under 100K tokens.
Fable 5.2, Opus 5.5 and Sonnet 5.5 bill the whole 1M-token context window at these standard rates. Anthropic's own example: a 900K-token request costs the same per token as a 9K-token one. Haiku 5.5 is the only current model with a long-prompt price, and the whole request moves to the higher price once the prompt passes 100K tokens, cache reads included.
Anthropic pricing tiers, batch and prompt-caching discounts
Batch API: 50% off. Send requests that can wait to the Batch API and both input and output are halved. Fable 5.2 drops to $4/$20, Opus 5.5 to $2/$10, Sonnet 5.5 to $1/$5 and Haiku 5.5 to $0.05/$0.25 (under 100K tokens).
Prompt caching. Add one cache_control field at the top level of the request and caching runs automatically, or put it on individual blocks for finer control. A 5-minute cache write costs 1.25x the input price and pays for itself after one cache read. A 1-hour write costs 2x and pays for itself after two. Cache hits cost 0.025x the input price on Fable 5.2, 0.05x on Opus 5.5 and Sonnet 5.5, and 0.1x on every other model. Caching and Batch discounts stack.
Fast mode. Up to 2.5x faster output for a premium: Opus 5.5 costs $8/$40 in Fast mode and Fable 5.2 costs $16/$80. Fast mode doesn't work with the Batch API.
US-only inference. Setting inference_geo to "us" adds a 1.1x multiplier to every token price on Claude 4.6 and later. Global routing, the default, is standard price.
Usage tiers. When people search "Anthropic pricing tiers" they usually mean one of two things. The price tiers are the model families above (Haiku, Sonnet, Opus, Fable). The account tiers are rate-limit tiers: Anthropic lists Start, Build and Scale, with higher request and token limits at each step. Moving up a rate-limit tier doesn't change your per-token price. Volume discounts beyond that are negotiated with Anthropic's sales team.
Anthropic subscription plans (Pro, Max, Team) and limits
If you use Claude in the app rather than the API, you pay a flat subscription instead of per token. Prices from claude.com/pricing:
| Claude plan | Price | Usage, as Anthropic states it |
|---|---|---|
| Free | $0 | Limited usage every 5 hours and every week |
| Pro | $20/month, or $17/month billed annually ($200 up front) | More usage than Free |
| Max | $100/month | 5x Pro usage; includes $100/month in API credits |
| Ultra | $200/month | 10x Pro usage every week, no 5-hour limit on verified accounts; includes $200/month in API credits |
| Team, Standard seat | $25/seat monthly, $20/seat annually | More usage than Pro |
| Team, Premium seat | $125/seat monthly, $100/seat annually | 5x the usage of a Standard seat |
| Enterprise | $20/seat, billed annually, 20-seat minimum | Usage cost scales with model and task |
All the app plans have usage limits, and how fast you hit them depends on the model, chat length and file sizes. Team includes up to $500/month in pooled API credits. A subscription is not an API key, though. If you're building an agent that calls Claude from your own code, you pay the per-token API prices above (the API credits on Max, Ultra and Team help cover part of that).
OpenAI pricing: GPT-6.2 Astra/Sol and mini models per 1M tokens
OpenAI also charges per million tokens. Every GPT-6 model has two price sets: standard for prompts up to 272K input tokens, and long-context for anything above. From OpenAI's API pricing page:
| OpenAI model | Input | Cached input | Output | Input over 272K | Output over 272K |
|---|---|---|---|---|---|
| GPT-6.2 Astra | $8 | $0.40 | $40 | $16 | $60 |
| GPT-6.2 Sol | $2 | $0.10 | $10 | $4 | $15 |
| GPT-6.1 Sol | $2 | $0.10 | $10 | $4 | $15 |
| GPT-6.1 Terra | $1 | $0.05 | $5 | $2 | $7.50 |
| GPT-6 Astra (previous) | $10 | $1 | $50 | $20 | $75 |
| GPT-6 Sol (previous) | $2 | $0.20 | $10 | $4 | $15 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 | $0.20 | $0.75 |
| GPT-5.5 (previous) | $5 | $0.50 | $30 | $10 | $45 |
| GPT-5.4 mini | $0.75 | $0.075 | $4.50 | n/a | n/a |
| GPT-5.4 nano | $0.20 | $0.02 | $1.25 | n/a | n/a |
| GPT-5 nano | $0.05 | $0.005 | $0.40 | n/a | n/a |
OpenAI also lists cache-write prices for its 30-minute and 12-hour caches on the GPT-6 family (for GPT-6.2 Astra, $10 and $20 per million), plus older GPT-5.x, GPT-4.1 and o3 models.
Two things to notice. The current mini and nano models are from the GPT-5.4 and GPT-5 generations, and GPT-6 Luna undercuts all of them except GPT-5 nano on input. And moving from the original GPT-6 Sol to GPT-6.1 or GPT-6.2 Sol costs the same per token but halves your cache-hit price, from $0.20 to $0.10.
OpenAI's discounts and premiums. Batch is about 50% off standard. Flex is also about 50% off, but OpenAI says it won't add Flex to new models. On GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna, background requests cost 30% below standard with a 2-hour completion window and 40% below with an 8-hour window. Fast mode (renamed from Priority processing on 30 July 2026) costs about 2x. Ultrafast costs about 6x, except on GPT-6.2 Astra and Sol, where it's 3x through 28 February 2027 and 6x from 1 March 2027. Regional data residency adds 10% on models released on or after 5 March 2026.
OpenAI vs Anthropic API pricing side by side (per million tokens)

All prices per million tokens. Standard direct API rates, global routing, prompts under 272K tokens (under 100K for Haiku 5.5).
| Tier | OpenAI | Anthropic |
|---|---|---|
| Top | GPT-6.2 Astra: $8 / $40 | Claude Fable 5.2: $8 / $40 |
| Top (previous) | GPT-6 Astra: $10 / $50 | (Fable 5.1: $10 / $50) |
| Upper-mid | (no equivalent) | Claude Opus 5.5: $4 / $20 |
| Mid | GPT-6.2 Sol / GPT-6.1 Sol: $2 / $10 | Claude Sonnet 5.5: $2 / $10 |
| Lower-mid | GPT-6.1 Terra: $1 / $5 | (no current-generation equivalent) |
| Budget | GPT-6 Luna: $0.10 / $0.50 | Claude Haiku 5.5: $0.10 / $0.50 |
Top tier: a tie on list price, Anthropic cheaper with caching. Fable 5.2 and GPT-6.2 Astra both cost $8 input and $40 output. A Fable 5.2 cache hit costs $0.20 against $0.40 on GPT-6.2 Astra. At these prices, both are for the tasks where getting it right matters more than the bill.
Upper-mid tier: Opus 5.5 at $4/$20 is still the one tier with no OpenAI counterpart. It costs half of Fable 5.2 and GPT-6.2 Astra. OpenAI's lineup jumps from Sol at $2/$10 to Astra at $8/$40.
Mid tier: GPT-6.2 Sol, GPT-6.1 Sol and Claude Sonnet 5.5 are identical: $2 input, $10 output, $0.10 for a cache hit. On a normal-length prompt the bill is the same to the cent. Pick on quality for your task, not price.
Lower-mid tier: GPT-6.1 Terra at $1/$5 sits between Luna and Sol. Anthropic's current lineup has nothing at that price; the closest is the previous-generation Haiku 4.5, still served at $1/$5.
Budget tier: A tie at list price. GPT-6 Luna and Claude Haiku 5.5 both cost $0.10/$0.50. One catch on Anthropic's side: Haiku 5.5's price applies to prompts up to 100K tokens, and longer prompts are billed at $0.50/$2.50. (To see how both compare with budget challengers, see our cheapest AI providers guide.)
Still on the previous generation? Both providers keep older models running at their old prices. GPT-5.5 is still $5/$30. Opus 5 and Opus 4.6, 4.7 and 4.8 are still $5/$25, Sonnet 4.6 is still $3/$15, and Fable 5.1 is still $10/$50. Moving from Opus 4.8 to Opus 5.5 cuts 20% off both rates. Moving from Haiku 4.5 to Haiku 5.5 cuts both rates by 90%.
OpenAI vs Anthropic subscriptions: ChatGPT Plus/Pro vs Claude Pro/Max
The subscriptions line up almost as neatly as the API rates.
| Price | ChatGPT (OpenAI) | Claude (Anthropic) |
|---|---|---|
| $0 | Free | Free |
| $20/month | Plus | Pro ($17/month billed annually) |
| $100/month | Pro 100 | Max (5x Pro usage) |
| $200/month | Pro 200 | Ultra (10x Pro usage weekly) |
| $500/month | Pro 500 | (no equivalent) |
| Teams | Business, from 2 users | Team: $25 or $125 per seat monthly |
OpenAI's help center lists the three Pro plans at $100, $200 and $500 a month, with more included usage at each step; OpenAI doesn't publish a usage multiple against Plus. Anthropic states its multiples: Max is 5x Pro, Ultra is 10x Pro per week. Both companies' business plans come with API credits: ChatGPT Business includes up to $500 a month for the workspace, and Claude Team up to $500 a month pooled.
So which subscription is cheaper? At $20 they cost the same. Above that, the $100 and $200 steps match too, and OpenAI adds a $500 tier for very heavy use. The difference is what you get inside the limits, and that changes with every model release, so try both on your own work for a month.
One rule holds for both: a chat subscription doesn't cover your own code calling the API. If you build an agent, you pay per token (minus any API credits your plan includes).
The hidden costs that change the numbers

Prompt caching: a tie in the middle, a big gap at the top
OpenAI: Caching is automatic. Cached input costs 10% of the standard input rate on GPT-6 Astra ($1.00), Luna ($0.01) and the original GPT-6 Sol ($0.20), and 5% on GPT-6.2 Astra ($0.40), GPT-6.2 Sol and GPT-6.1 Sol ($0.10) and Terra ($0.05).
Anthropic: One cache_control field turns it on. A 5-minute cache write costs 1.25x the input rate, and a 1-hour write costs 2x. A cache hit costs $0.10 on Sonnet 5.5, $0.20 on Opus 5.5 and $0.20 on Fable 5.2.
Who wins: A tie at the mid tier, where GPT-6.2 Sol and Sonnet 5.5 both charge $0.10 per cached million. At the top, Anthropic wins: a cache hit on Fable 5.2 costs $0.20 against $0.40 on GPT-6.2 Astra (and $1.00 on the older GPT-6 Astra). For agents that resend a large system prompt and tool list on every turn (most agents), that gap shows up fast.
Context window surcharges: still Anthropic's biggest advantage
OpenAI (every GPT-6, GPT-6.1 and GPT-6.2 model): Standard rates apply up to 272K input tokens. Past that, the whole request is billed at 2x the input and cache rates and 1.5x the output rate, not just the tokens over the line. GPT-6.2 Astra goes to $16/$60, GPT-6 Astra to $20/$75, Sol to $4/$15, Terra to $2/$7.50 and Luna to $0.20/$0.75.
Anthropic (Fable 5.2, Opus 5.5 and Sonnet 5.5): The full 1M-token context window is billed at standard rates. The exception is Haiku 5.5, whose $0.10/$0.50 price covers prompts up to 100K tokens; above that it costs $0.50/$2.50.
Who wins: Anthropic on its main models. If your agent processes long documents, keeps long conversation histories, or loads large codebases, flat pricing on Sonnet 5.5 and Fable 5.2 is a real advantage. At the budget tier it flips: for prompts over 100K tokens, Luna ($0.20/$0.75 past 272K) is cheaper than Haiku 5.5 ($0.50/$2.50). Scenario 3 below shows both effects.
Hidden reasoning tokens: the cost you never see

OpenAI: GPT-6 models are reasoning models. OpenAI's docs say reasoning tokens aren't visible through the API but are billed as output tokens ($40/MTok on GPT-6.2 Astra, $10 on Sol). You control how much the model thinks with reasoning.effort, which takes values from none up to max depending on the model. GPT-6.1 Sol, GPT-6 Sol and GPT-6 Luna default to medium, and GPT-6.2 Astra and Sol reject none, so they always reason a little.
Anthropic: Thinking tokens are also billed as output, and on Claude 5 and later models thinking is on by default. You control depth with the effort setting rather than a token budget. There's a second, quieter cost: Anthropic says the tokenizer used by Claude Opus 4.7 and later models produces approximately 30% more tokens for the same text than its previous tokenizer, and Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 all use it.
Who wins: Neither. Both charge for thinking you don't see. Budget 2 to 3x the visible output tokens for reasoning-heavy work, then measure your real ratio. And don't assume a million tokens of your text is a million tokens on both providers. Count them with each provider's token counter before you compare bills.
Extended/adaptive thinking: how it changes the bill
On current Claude models, "extended thinking" with a fixed budget_tokens is gone. Claude 4.7 and later reject it with a 400 error. What replaced it is adaptive thinking: the model decides per request whether to think and how much, and you steer it with effort. Here's what that means for your bill, from Anthropic's thinking docs:
- You pay for the full thinking, not the summary. By default, current models return thinking blocks with the text omitted. You're still billed for every thinking token generated. Read
usage.output_tokens_details.thinking_tokensin the response to see how much of your output bill was reasoning. - Old thinking gets billed again as input. Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 keep thinking blocks from earlier turns in context, and those count as input tokens on every later turn. In a 30-turn agent session, that adds up.
- Defaults differ by model. Opus 5.5 and Haiku 5.5 default to
mediumeffort. Fable 5.2 and Sonnet 5.5 default tohigh. The levels runlow,medium,high,xhigh,max. - You can't always turn it off. Fable 5.2 and Opus 5.5 reject
thinking: {type: "disabled"}, so thinking can't be switched off on them. Sonnet 5.5 also rejectsdisabled; its lowest setting isthinking: {type: "between_tools"}, which drops up-front thinking athigheffort or below. Haiku 5.5 acceptsdisabledathigheffort or below. - Changing effort mid-conversation can break your cache. The effort level is rendered into the prompt, so switching it between requests can invalidate cache breakpoints. Pick one level per conversation.
The practical move for agents: lower effort first. Anthropic calls lowering effort the better first lever, and says that telling Sonnet 5.5, Haiku 5.5 or Fable 5.2 in the prompt to think less doesn't reliably reduce thinking. On OpenAI, the same logic applies to reasoning.effort.
Batch, Flex and Fast mode: near parity
Both providers take 50% off for batch work, and both charge about 2x for Fast mode (Opus 5.5 at $8/$40, Fable 5.2 at $16/$80; OpenAI's Fast is about 2x on most models). OpenAI adds cheaper background windows (30% or 40% off on its newest models) and a pricier Ultrafast tier. Both charge about 10% extra for regional data residency on current models.
Who wins: Equal. If your agent can wait for non-urgent work, either provider halves the bill. If latency matters more than cost, both will sell you speed at roughly double the price.
Four real-world scenarios: actual monthly cost compared

All four use the rates verified on 25 November 2026. The output figures are meant to include any thinking tokens.
Scenario 1: Customer support chatbot (10,000 conversations/month)
Average conversation: 5 messages. Input per conversation: ~7,500 tokens (question + context + history). Output per conversation: ~2,500 tokens.
Monthly totals: 75M input tokens. 25M output tokens.
- On GPT-6.2 Sol or GPT-6.1 Sol ($2/$10): $150 input + $250 output = $400/month. If half the input tokens are cache hits at $0.10: $328.75/month.
- On Claude Sonnet 5.5 ($2/$10): $150 input + $250 output = $400/month. Half cached: $328.75/month.
- On GPT-6.1 Terra ($1/$5): $75 + $125 = $200/month.
- On GPT-6 Luna or Claude Haiku 5.5 ($0.10/$0.50): $7.50 + $12.50 = $20/month.
(The cached figures leave out the one-off cache writes.)
Winner: A tie at every tier both providers offer. The real decision is whether your support traffic needs a mid-tier model at all. If Luna or Haiku 5.5 handles your tickets well, it costs a twentieth of Sol or Sonnet 5.5.
Scenario 2: Coding agent reviewing 100 PRs per day
Average PR: 5,000 tokens of code input. 2,000 tokens of review output. Monthly: 15M input, 6M output.
- On GPT-6.2 Astra ($8/$40): $120 + $240 = $360/month.
- On Claude Fable 5.2 ($8/$40): $120 + $240 = $360/month.
- On the previous GPT-6 Astra ($10/$50): $150 + $300 = $450/month.
- On Claude Opus 5.5 ($4/$20): $60 + $120 = $180/month.
- On GPT-6.2 Sol, GPT-6.1 Sol or Claude Sonnet 5.5 ($2/$10): $30 + $60 = $90/month.
Winner: A tie at the top on list price: GPT-6.2 Astra and Fable 5.2 both come to $360. If part of each PR prompt is a repeated prefix, Fable pulls ahead because its cache hits cost $0.20 against $0.40. Anthropic still wins if you want something between mid and top: Opus 5.5 gives you a step up from Sonnet or Sol for $180 instead of $360. OpenAI has no model at that price point. Test whether Sonnet 5.5 or Sol reviews your PRs well enough first, because at $90 they're half the price of Opus 5.5. And if reviews can wait a few hours, the Batch API halves every figure here.
Scenario 3: Research agent working over long document sets
50 requests per day, each loading a 300,000-token bundle of documents and returning a 3,000-token summary. Monthly: 1,500 requests, 450M input tokens, 4.5M output tokens. Every request is over OpenAI's 272K line and Haiku 5.5's 100K line.
- On GPT-6.2 Sol or GPT-6.1 Sol (every request billed at $4 input / $15 output): $1,800 + $67.50 = $1,867.50/month.
- On Claude Sonnet 5.5 (flat $2/$10): $900 + $45 = $945/month.
- On GPT-6.2 Astra (every request billed at $16 / $60): $7,200 + $270 = $7,470/month.
- On the previous GPT-6 Astra (every request billed at $20 / $75): $9,000 + $337.50 = $9,337.50/month.
- On Claude Fable 5.2 (flat $8/$40): $3,600 + $180 = $3,780/month.
- On GPT-6 Luna ($0.20 / $0.75 past 272K): $90 + $3.38 = $93.38/month.
- On Claude Haiku 5.5 ($0.50 / $2.50 past 100K): $225 + $11.25 = $236.25/month.
Winner: Anthropic at the mid and top tiers, by about 2x against Sol and against GPT-6.2 Astra. OpenAI at the budget tier, where Luna's long-context rate is less than half of Haiku 5.5's. There's also a way out on OpenAI: keep each request under 272K tokens. Split the same bundle into two 150K-token requests and Sol goes back to standard rates, at the cost of more calls and more output. Caching the shared part of each bundle cuts every bill further.
Scenario 4: A multi-turn agent running all day
Agents cost differently from chatbots. Every turn resends the system prompt, memory, conversation history and the last tool outputs, so the same context gets billed again and again. This scenario models that.
50 sessions a day, 30 turns per session, 2,000 input tokens and 500 output tokens per turn. Monthly: 45,000 turns, 90M input tokens, 22.5M output tokens. With caching, assume 70% of input tokens are cache hits (agents that resend a stable prefix typically land somewhere in the 60-80% range).
- On GPT-6.2 Sol, GPT-6.1 Sol or Claude Sonnet 5.5 ($2/$10): $180 + $225 = $405/month. With caching: $285.30/month.
- On Claude Opus 5.5 ($4/$20): $360 + $450 = $810/month. With caching: $570.60/month.
- Mixed, 70% of turns on GPT-6 Luna and 30% on Opus 5.5: about $257/month. With caching: about $181/month.
- Mixed, 70% of turns on GPT-6 Luna and 30% on Sonnet 5.5: about $136/month. With caching: about $96/month.
(As above, the cached figures leave out the one-off cache writes. Haiku 5.5 costs the same as Luna at list price, so a Haiku-plus-Sonnet mix lands in the same place before caching.)
Winner: Routing. The mixed setup with Opus 5.5 on the hard 30% costs less than running everything on Sonnet 5.5 or Sol, and the budget-plus-Sonnet mix costs about a third of it. Notice where the money goes once caching is on: on Sonnet 5.5, output is $225 of the $285.30, about 79% of the bill. Caching shrinks input to almost nothing, so for agents the output rate, and how many thinking tokens each turn burns, becomes the number that decides the bill.
This is the spot where most developers realize something: the answer isn't OpenAI OR Anthropic. It's OpenAI AND Anthropic. Use Luna or Haiku 5.5 for high-volume simple tasks. Use Sonnet 5.5 or Sol for standard work. Use Claude for anything with long context.
BetterClaw supports BYOK across both providers (plus 26 others) with zero inference markup. Paste your OpenAI key for one task type. Your Anthropic key for another. Switch models without rebuilding anything. Free plan available, $49/month on Pro for 5 agents.
Routing between OpenAI and Anthropic by cost: what you save

Don't pick one provider. Pick models from both based on what each does best.
Simple tasks (classification, extraction, routing): GPT-6 Luna or Claude Haiku 5.5, both $0.10/$0.50. If those prompts run past 100K tokens, Luna is the cheaper of the two.
In-between tasks: GPT-6.1 Terra at $1/$5, if Luna or Haiku 5.5 falls short and Sol is more than you need. Anthropic's current lineup has no model at this price.
Standard tasks: Claude Sonnet 5.5 or GPT-6.2 Sol, both $2/$10. Same price. Pick whichever does your task better. If the prompts run long, pick Sonnet 5.5 and skip the 272K surcharge.
Complex tasks: Claude Opus 5.5 at $4/$20. Nothing from OpenAI sits at this price.
The hardest tasks: Claude Fable 5.2 or GPT-6.2 Astra, both $8/$40. Keep them for the small share of work where the extra capability pays for itself. The list price is the same; on cache-heavy workloads Fable's $0.20 cache hits (against $0.40) make it the cheaper of the two.
What you save, in numbers. Take Scenario 4's agent. Everything on Sonnet 5.5 or Sol costs $405 a month. Send 70% of turns to Luna and keep 30% on Sonnet 5.5, and it's about $136: a saving of about $269 a month, or roughly two thirds. With caching on both setups, it's $285.30 against about $96. Even the version that sends the hard 30% to Opus 5.5, a stronger model than Sonnet, comes in about $148 a month under all-Sonnet. Your split will differ, so measure how many of your turns a budget model really handles before you count the savings.
Cheaper per token isn't always cheaper per task
The routing works in one direction only. When we moved an email triage agent from Claude Sonnet to OpenAI's nano tier, the weekly bill dropped 94% and we couldn't measure any quality difference on 200 classifications a day. When we tried the same kind of swap on our research agent, moving it from Opus to a cheaper OpenAI model, quality dropped noticeably on multi-step reasoning. Failed tasks had to be re-run, and the re-runs ate the savings.
So test the cheap model on your real task before you move traffic to it. A model that costs a tenth as much but fails one task in three, with each failure needing a re-run on the expensive model anyway, is not saving you anything. Spending frontier-model money on classification is waste. Running a reasoning task on a classification-grade model creates failures you pay more to fix.
If you're open to providers beyond OpenAI and Anthropic, compare the cheapest AI models for agents using the same workload and retry assumptions before switching.
The savings come from sending each request to the cheapest model that can handle it, not from picking a cheaper provider. For how model routing works and why single-model setups are expensive, our routing guide covers the full strategy. For how routing, caching and context compression stack up, see our guide to cutting agent token costs.
Google Gemini and DeepSeek for context: the cheap third options
OpenAI and Anthropic aren't the only choices. Two other providers often come up in "openai vs gemini vs claude api pricing" and "deepseek api pricing vs openai vs claude" searches. Their current rates, per million tokens:
| Model | Input | Output | Notes |
|---|---|---|---|
| Gemini 4 Carbon | $2 (to 30 Nov), $4 (from 1 Dec) | $10 (to 30 Nov), $20 (from 1 Dec) | Google's flagship reasoning model; no free tier |
| Gemini 3.1 Pro Preview | $2 (prompts up to 200K), $4 above | $12 up to 200K, $18 above | No free tier |
| Gemini 3.8 Flash | $0.75 (to 31 Dec), $1.50 (from 1 Jan 2027) | $3.75 (to 31 Dec), $7.50 (from 1 Jan 2027) | Free tier available |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | Free tier available |
| DeepSeek V4.1 Flash | $0.30 peak, $0.15 off-peak | $1.20 peak, $0.60 off-peak | Cache hits from $0.003 |
| DeepSeek V4 Pro | $1.32 peak, $0.66 off-peak | $3.96 peak, $1.98 off-peak | Cache hits from $0.022 |
Gemini prices are from Google's Gemini API pricing page (paid tier, standard). DeepSeek prices are from DeepSeek's API docs: off-peak rates are half the peak rates, and peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday.
What this means next to the big two. At the flagship end, Gemini 4 Carbon matches Sonnet 5.5 and GPT-6.2 Sol at $2/$10 only until 30 November; from 1 December it costs the same as Opus 5.5. At the budget end, GPT-6 Luna and Claude Haiku 5.5 ($0.10/$0.50) are still cheaper than Gemini 3.8 Flash and DeepSeek V4.1 Flash at peak rates. DeepSeek's case is the middle: V4 Pro at off-peak rates costs less than GPT-6.1 Terra. For the full multi-provider list, see our complete LLM pricing guide and our GPT vs Claude vs DeepSeek breakdown.
API pricing calculator: estimate a month in 4 lines
You don't need a spreadsheet to compare providers. Four lines get you within a few percent for most workloads:
1. Monthly input tokens = requests per month x input tokens per request
2. Monthly output tokens = requests per month x (visible output + thinking tokens) per request
3. Input cost = (uncached input / 1M x input price) + (cached input / 1M x cache-hit price)
4. Monthly bill = input cost + (output tokens / 1M x output price), then x 0.5 for anything on Batch
Worked through Scenario 4 on Sonnet 5.5: 45,000 turns x 2,000 tokens = 90M input; 45,000 x 500 = 22.5M output. With 70% cached, input costs (27M x $2) + (63M x $0.10) = $60.30. Output costs 22.5M x $10 = $225. The bill is $285.30.
Three adjustments before you trust the number. If any request runs past 272K input tokens on OpenAI, or 100K on Haiku 5.5, use the long-context prices for that request. If you're comparing Claude with GPT, count your real prompts with each provider's token counter, since Claude's current tokenizer produces about 30% more tokens for the same text than Anthropic's older one. And if you don't know your thinking-token ratio yet, start at 2x visible output and correct it after a week of real traffic.
The verdict: when to pick which provider

Pick OpenAI when: You want a model between budget and mid tier (GPT-6.1 Terra, $1/$5). Your budget-tier prompts run past 100K tokens (Luna's long-context rate is lower than Haiku 5.5's). Your prompts stay under 272K tokens. You can wait hours for results and want the background-window discounts. You want automatic caching with no request changes, and the largest developer ecosystem.
Pick Anthropic when: You process long documents regularly (flat 1M context on Sonnet 5.5, Opus 5.5 and Fable 5.2). You want a step above the mid tier without paying top-tier prices (Opus 5.5 at $4/$20). Your top-tier work is cache-heavy: Fable 5.2 and GPT-6.2 Astra share an $8/$40 list price, but Fable's cache hits cost half as much.
Pick both when: You want the cheapest possible bill. Mixing a budget model for simple tasks with Claude for long-context and complex work beats either provider alone. If you're weighing a third provider, the Gemini and DeepSeek table above shows where they fit, and our complete LLM pricing guide lists the older models too.
If you're building agents and want to use both providers without managing multiple API integrations, give BetterClaw a look. BYOK across both OpenAI and Anthropic (plus 26 other providers) with zero markup. Assign different models to different tasks through the visual builder. Smart context management keeps token costs down. Free plan with 1 agent and 100 credits a month. $49/month for Pro with 5 agents.
The best provider in 2026 isn't OpenAI or Anthropic. It's both, used strategically.
Frequently Asked Questions
Is Claude cheaper than GPT?
Not at list price. Claude Fable 5.2 and GPT-6.2 Astra both cost $8/$40 per million tokens, Claude Sonnet 5.5 and GPT-6.2 Sol both cost $2/$10, and Claude Haiku 5.5 and GPT-6 Luna both cost $0.10/$0.50. Claude is cheaper on prompts over 272K tokens on its main models and on cache-heavy top-tier work. GPT is cheaper if you need the $1/$5 GPT-6.1 Terra tier or run long prompts on a budget model. The chat apps cost the same too: Claude Pro and ChatGPT Plus are both $20 a month.
How much does the Claude API cost?
Per million tokens, as of 25 November 2026: Claude Fable 5.2 costs $8 input and $40 output, Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, and Haiku 5.5 $0.10/$0.50 for prompts up to 100K tokens ($0.50/$2.50 above). Cache hits cost $0.20 on Fable 5.2 and Opus 5.5, $0.10 on Sonnet 5.5 and $0.01 on Haiku 5.5. The Batch API takes 50% off both input and output.
Does Anthropic have a free tier?
For the Claude app, yes: the Free plan costs $0 with limited usage every 5 hours and every week. For the API, there's no permanent free tier, but Anthropic says new users receive free credits to test the API, and enterprises can ask sales about extended trials.
Which is cheaper for agents, OpenAI or Anthropic?
It depends on prompt length and model mix. Agents resend context every turn, so caching matters most: at the mid tier both charge $0.10 per cached million, so a typical agent costs the same on Sonnet 5.5 or GPT-6.2 Sol (about $285 a month in our 45,000-turn example). Anthropic wins once prompts pass 272K tokens or when you want the $4/$20 Opus 5.5 tier. The cheapest setup uses both: routing 70% of turns to a $0.10/$0.50 model cut that bill to about $96.
What are Anthropic's pricing tiers?
Anthropic's model price tiers are Haiku 5.5 ($0.10/$0.50 per million tokens), Sonnet 5.5 ($2/$10), Opus 5.5 ($4/$20) and Fable 5.2 ($8/$40). Separately, API accounts move through rate-limit tiers named Start, Build and Scale, which raise your limits but not your per-token prices. On the app side, the plans are Free, Pro ($20/month), Max ($100), Ultra ($200), Team and Enterprise.
How does OpenAI cost compare with Anthropic cost?
At every tier where both have a current model the list prices are identical: $8/$40 at the top (Fable 5.2 vs GPT-6.2 Astra), $2/$10 in the middle (Sonnet 5.5 vs GPT-6.2 Sol) and $0.10/$0.50 at the budget end (Haiku 5.5 vs GPT-6 Luna). The bills diverge on cache hits (Anthropic charges 2.5–5% of the input price on its main current models, OpenAI 5% on the 6.x Sol/Terra/6.2 Astra models and 10% on GPT-6 Astra) and on prompts over 272K tokens, where OpenAI bills the whole request at 2× input / 1.5× output and Anthropic's main models stay flat.
Is OpenAI or Anthropic cheaper for API usage?
At list price, neither: Claude Fable 5.2 and GPT-6.2 Astra both cost $8/$40 per million tokens, GPT-6.2 Sol and Claude Sonnet 5.5 both cost $2/$10, and GPT-6 Luna and Claude Haiku 5.5 both cost $0.10/$0.50. Anthropic is cheaper on cache-heavy top-tier work (a Fable 5.2 cache hit is $0.20 against $0.40 on GPT-6.2 Astra) and on long prompts on its main models, because GPT-6.x bills any request over 272K input tokens at 2x input and 1.5x output, and Sonnet 5.5, Opus 5.5 and Fable 5.2 don't.
How does GPT-6 pricing compare to Claude?
GPT-6.2 Astra costs $8 input / $40 output, the same as Claude Fable 5.2; the older GPT-6 Astra is still listed at $10/$50. GPT-6.2 Sol and GPT-6.1 Sol cost $2/$10, the same as Claude Sonnet 5.5. GPT-6 Luna costs $0.10/$0.50, the same as Claude Haiku 5.5. Claude Opus 5.5 ($4/$20) has no GPT-6 equivalent, and GPT-6.1 Terra ($1/$5) has no current Claude equivalent.
What hidden costs should I watch for with OpenAI and Anthropic APIs?
Three big ones. First, reasoning tokens: GPT-6 and Claude both bill thinking as output tokens even though you don't see it, and on Fable 5.2 and Opus 5.5 thinking can't be turned off. Budget 2 to 3x the visible output. Second, long context: GPT-6 charges 2x input and 1.5x output on the whole request once input passes 272K tokens, and Claude Haiku 5.5 rises to $0.50/$2.50 above 100K; Sonnet 5.5, Opus 5.5 and Fable 5.2 stay flat. Third, tokenizers: Anthropic says its current models produce approximately 30% more tokens for the same text than its older tokenizer, so compare real token counts, not just rates.
How much does it cost to run an AI agent on OpenAI or Anthropic per month?
For an agent handling 50 sessions a day at 30 turns each (2,000 input and 500 output tokens per turn), GPT-6.2 Sol and Claude Sonnet 5.5 both come to about $405 a month, or about $285 with 70% of input served from cache. Claude Opus 5.5 for everything is about $810 ($571 cached). Routing 70% of turns to GPT-6 Luna and 30% to Sonnet 5.5 brings it down to about $136 a month, or about $96 with caching. Once caching is on, output tokens make up most of the bill.
Can I use both OpenAI and Anthropic in the same AI agent?
Yes. Platforms like BetterClaw support BYOK across both providers (plus 26 others). You paste API keys from each, assign models to different task types, and the platform routes requests accordingly. The common split is a budget model (GPT-6 Luna or Claude Haiku 5.5) for cheap, simple steps and Claude for complex or long-context steps, so every request goes to the cheapest model that can handle it.
Which provider is better for building AI agents in 2026?
On price, it depends on the tier: the mid and budget tiers cost the same, the top tier ties at $8/$40 list, Anthropic owns long context, the $4/$20 Opus 5.5 tier and cheaper top-tier cache hits, and OpenAI owns the $1/$5 Terra tier and cheaper long prompts at the budget end. On quality, test both on your own tasks, since benchmark leads change with every release. The best agent setups use both.




