Model price comparisons · August 2026
Claude Sonnet 5 vs GPT-5.4 mini: API pricing compared
Same task, same tokens, two invoices. Every figure on this page is computed from our open pricing dataset, not copied from a blog post.
GPT-5.4 mini is 2.37x cheaper than Claude Sonnet 5 on a realistic task profile of 1,500 input and 500 output tokens per call, 3 calls per task: $0.01013 against $0.02400 per task, a 58% saving on identical work. Run a million tasks a month and that is the difference between $10,125 and $24,000.
| Model | Input $/1M tok | Output $/1M tok | Output multiple | $/task | $/1M tasks |
|---|---|---|---|---|---|
| Claude Sonnet 5Anthropic · mid | $2 | $10 | 5x | $0.02400 | $24,000 |
| GPT-5.4 miniOpenAI · mid | $0.75 | $4.5 | 6x | $0.01013 | $10,125 |
Monthly bill at three volumes
| Tasks / month | Claude Sonnet 5 | GPT-5.4 mini | Gap |
|---|---|---|---|
| 10,000 | $240 | $101 | $139 |
| 100,000 | $2,400 | $1,013 | $1,388 |
| 1,000,000 | $24,000 | $10,125 | $13,875 |
Where the money goes on each
Claude Sonnet 5 prices output at 5x its input rate, so on this profile output is 63% of its task cost. GPT-5.4 mini prices output at 6x input, putting output at 67% of cost. The model with the higher output multiple rewards capping response length more; the one with the higher input share rewards prompt caching and context trimming more. Cost tells you nothing about quality: run both on twenty of your real cases before deciding, and treat the cheaper model as the default until it demonstrably fails.
Break-even against a dedicated GPU
Against a $2/hour dedicated instance ($1,460/month fixed), self-hosting overtakes Claude Sonnet 5 at 60,833 tasks per month and overtakes GPT-5.4 mini at 144,198 tasks per month. The full method is in the self-hosting break-even guide.
Pricing the self-hosted side? Compare on-demand GPU rates:
Compare GPU cloud pricing →Plug your own token counts into the $/task calculator, or read the full ten-model pricing comparison.
Compare against other models
- Claude Sonnet 5 vs Mistral SmallGPT-5.4 mini vs Mistral Small
- Claude Sonnet 5 vs DeepSeek-V4-FlashGPT-5.4 mini vs DeepSeek-V4-Flash
- Claude Sonnet 5 vs Gemini 2.5 FlashGPT-5.4 mini vs Gemini 2.5 Flash
- Claude Sonnet 5 vs Grok 4.3GPT-5.4 mini vs Grok 4.3
- Claude Sonnet 5 vs Claude Haiku 4.5GPT-5.4 mini vs Claude Haiku 4.5
- Claude Sonnet 5 vs Gemini 3.1 ProGPT-5.4 mini vs Gemini 3.1 Pro
- Claude Sonnet 5 vs Claude Opus 4.8GPT-5.4 mini vs Claude Opus 4.8
- Claude Sonnet 5 vs GPT-5.5GPT-5.4 mini vs GPT-5.5
Frequently asked
- Which is cheaper, Claude Sonnet 5 or GPT-5.4 mini?
- GPT-5.4 mini. On a task of 1,500 input and 500 output tokens across 3 calls, GPT-5.4 mini costs $0.01013 per task against $0.02400 for Claude Sonnet 5, which makes it 2.37x cheaper (a 58% saving).
- How much do Claude Sonnet 5 and GPT-5.4 mini charge per million tokens?
- Claude Sonnet 5: $2 per million input tokens and $10 per million output tokens. GPT-5.4 mini: $0.75 input and $4.5 output. These are published list rates as of August 2026, excluding cached, batch and long-context tiers.
- What does a million tasks cost on Claude Sonnet 5 vs GPT-5.4 mini?
- At the same fixed profile, one million tasks cost $24,000 on Claude Sonnet 5 and $10,125 on GPT-5.4 mini. The gap comes entirely from list-price differences, not from any difference in the work done.