Claude Sonnet 4.6 vs GPT-5.4 API pricing
Updated
Claude Sonnet 4.6: USD 3 input, USD 15 output per 1M tokens (Anthropic and 3 others). GPT-5.4: USD 2.50 input, USD 15 output per 1M tokens (OpenAI and 2 others). At 3 input tokens per output token, Claude Sonnet 4.6 costs 6.7% more than GPT-5.4 (USD 6 vs USD 5.625 per 1M).
How do Claude Sonnet 4.6 and GPT-5.4 differ on price?
- Cheapest input price: GPT-5.4 USD 2.50 against USD 3 per 1M tokens, so Claude Sonnet 4.6 costs 1.2× as much (20% more).
- Cheapest output price: both USD 15 per 1M tokens.
- Among the 201 indexed models, Claude Sonnet 4.6 ranks 184th cheapest and GPT-5.4 183rd on the 3:1 blend.
- No input:output mix changes the answer: GPT-5.4 is cheaper at every mix before cache discounts.
- Both list cached-input discounts: Claude Sonnet 4.6 at 4 standard prices of 5, from USD 0.30 (Anthropic, 90% below that provider's input price); GPT-5.4 at 4 standard prices of 4, from USD 0.25 (OpenAI, 90% below that provider's input price).
- GPT-5.4 states up to 1,050,000 tokens of context and Claude Sonnet 4.6 1,000,000, within 10% of each other.
- Claude Sonnet 4.6 has 5 providers with a standard price, 1 more than GPT-5.4; 2 providers sell both (DigitalOcean and Amazon Bedrock).
- On one account, DigitalOcean charges USD 6 for Claude Sonnet 4.6 (its cheapest price) and USD 5.625 for GPT-5.4 (its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters equally: on both, the dearest standard price is 1.1× the cheapest.
- Anthropic's own API is one of 4 providers tied for the lowest standard price we found for Claude Sonnet 4.6, USD 6 at 3:1.
- OpenAI's own API is one of 3 providers tied for the lowest standard price we found for GPT-5.4, USD 5.625 at 3:1.
- Claude Sonnet 4.6 has a batch price at 3 providers, from USD 3 at 3:1 (Anthropic); GPT-5.4 has a batch price at 2 providers, from USD 2.813 at 3:1 (OpenAI).
- For the one-developer coding agent preset, the gap is USD 2,538 a year in GPT-5.4's favour (Claude Sonnet 4.6 USD 2,619 a month, GPT-5.4 USD 2,408).
Claude Sonnet 4.6 and GPT-5.4 prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| Model page | Claude Sonnet 4.6 Anthropic · 5 providers | GPT-5.4 OpenAI · 4 providers |
| Cheapest standard price, blended 3:1 | USD 6 USD 3 in / USD 15 out at Anthropic and 3 others Anthropic page checked 2026-11-14 | USD 5.625 lower USD 2.50 in / USD 15 out at OpenAI and 2 others OpenAI page checked 2026-11-14 |
| Cheapest input | USD 3 Anthropic source | USD 2.50 lower OpenAI source |
| Cheapest cached input | USD 0.30 Anthropic source | USD 0.25 lower OpenAI source |
| Cheapest output | USD 15 tie Anthropic source | USD 15 tie OpenAI source |
| Maker's own API | USD 3 / USD 15 Anthropic source | USD 2.50 / USD 15 OpenAI source |
| Median standard price | USD 3 / USD 15 input / output, 5 prices | USD 2.50 / USD 15 input / output, 4 prices |
| Context window | 1,000,000 tokens, largest stated | 1,050,000 tokens, largest stated |
| Providers with a standard price | 5 | 4 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Claude Sonnet 4.6 and GPT-5.4 cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | Claude Sonnet 4.6 | GPT-5.4 | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 394.20 Anthropic | USD 373.50 OpenAI | USD 20.70 GPT-5.4 lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 750.60 Anthropic | USD 663.00 OpenAI | USD 87.60 GPT-5.4 lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 2,619 Anthropic | USD 2,408 OpenAI | USD 211.50 GPT-5.4 lower |
GPT-5.4 is cheaper on all three workloads. The widest gap is on RAG over documents: the dearer model costs 13% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
GPT-5.4 is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Claude Sonnet 4.6's, so the input:output ratio never changes the answer. On output price alone they tie.
| Input : output tokens | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| 1 : 3 (long answers) | USD 12 Anthropic | USD 11.88 lower OpenAI |
| 1 : 1 | USD 9 Anthropic | USD 8.75 lower OpenAI |
| 3 : 1 (the site’s blend) | USD 6 Anthropic | USD 5.625 lower OpenAI |
| 10 : 1 (retrieval, long prompts) | USD 4.091 Anthropic | USD 3.636 lower OpenAI |
| 30 : 1 (agents, big contexts) | USD 3.387 Anthropic | USD 2.903 lower OpenAI |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Claude Sonnet 4.6 and GPT-5.4 cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Claude Sonnet 4.6 and GPT-5.4 are not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- Claude Sonnet 4.6 API pricing: all 5 providers and other tiers.
- GPT-5.4 API pricing: all 4 providers and other tiers.
- Cost calculator with Claude Sonnet 4.6 and GPT-5.4 preloaded
- Token counter
- GPT token counter
- Prompt caching calculator
More comparisons: Claude Sonnet 5 vs Claude Sonnet 4.6 · GPT-5.4 vs GPT-5.2 · GPT-5.5 vs GPT-5.4 · every Claude Sonnet 4.6 comparison · every GPT-5.4 comparison · all 662 price comparisons
Questions
Is Claude Sonnet 4.6 cheaper than GPT-5.4?
No. On a blend of 3 input tokens to 1 output token, GPT-5.4 costs USD 5.625 per 1M tokens and Claude Sonnet 4.6 USD 6, at each model's cheapest standard price. For input alone, GPT-5.4 is cheaper (USD 2.50 against USD 3 per 1M); for output alone, both start at USD 15. This compares price only, not quality.
What do Claude Sonnet 4.6 and GPT-5.4 cost per 1M tokens?
Claude Sonnet 4.6: from USD 3 input and USD 15 output at Anthropic and 3 others; Anthropic's own API charges USD 3 / USD 15; median of 5 standard prices USD 3 / USD 15. GPT-5.4: from USD 2.50 input and USD 15 output at OpenAI and 2 others; OpenAI's own API charges USD 2.50 / USD 15; median of 4 standard prices USD 2.50 / USD 15. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Claude Sonnet 4.6 and GPT-5.4?
2 providers have a standard price for both: DigitalOcean (USD 6 and USD 5.625 at 3:1), Amazon Bedrock (USD 6.60 and USD 6.188 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 6 and USD 5.625.
Which is cheaper for a coding agent or a chatbot, Claude Sonnet 4.6 or GPT-5.4?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 2,619 a month on Claude Sonnet 4.6 (Anthropic) against USD 2,408 on GPT-5.4 (OpenAI), a difference of USD 211.50. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 394.20 a month on Claude Sonnet 4.6 (Anthropic) against USD 373.50 on GPT-5.4 (OpenAI), a difference of USD 20.70. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of Claude Sonnet 4.6 and GPT-5.4 change?
GPT-5.4 is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Claude Sonnet 4.6's, so the input:output ratio never changes the answer. On output price alone they tie.
Do Claude Sonnet 4.6 and GPT-5.4 have cached input pricing?
Claude Sonnet 4.6 from USD 0.30 per 1M cached input tokens (Anthropic; 4 of 5 standard prices list a discount). GPT-5.4 from USD 0.25 per 1M cached input tokens (OpenAI; 4 of 4 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, Claude Sonnet 4.6 or GPT-5.4?
GPT-5.4: up to 1,050,000 tokens, against 1,000,000 for Claude Sonnet 4.6, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources
- Anthropic: own API pricing (checked 2026-11-14)
- DeepInfra: pricing (checked 2026-11-14)
- DigitalOcean: pricing (checked 2026-11-14)
- Google Vertex AI: pricing (checked 2026-11-14)
- OpenAI: own API pricing (checked 2026-11-14)
- Microsoft Azure: pricing (checked 2026-11-14)
- Amazon Bedrock: pricing (checked 2026-11-14)
- Amazon Bedrock: pricing (checked 2026-11-14)