▸ compare
Anthropic: Claude Sonnet 4.5 vs OpenAI: GPT-5.4 Mini
Side-by-side benchmark comparison based on independent public data. Scores, pricing, context, and task breakdown.
▸ verdict
Anthropic: Claude Sonnet 4.5
85.7
vs
OpenAI: GPT-5.4 Mini
84.9
These two models are effectively tied on overall score within the two-point margin. Choose based on pricing, context window, or task-specific performance below.
▸ score breakdown
| Task | Anthropic: Claude Sonnet 4.5 | OpenAI: GPT-5.4 Mini | Δ |
|---|---|---|---|
| Overall | 85.7 | 84.9 | +0.8 |
| Coding | 59.8 | — | — |
| Reasoning | 45.3 | — | — |
| Math | — | — | — |
| Writing | 84.3 | — | — |
| JSON | 28.6 | — | — |
▸ specs & pricing
| Attribute | Anthropic: Claude Sonnet 4.5 | OpenAI: GPT-5.4 Mini |
|---|---|---|
| Provider | Anthropic | Openai |
| Context window | 1M | 400K |
| Input $/M tokens | $3.00/M | $0.75/M |
| Output $/M tokens | $15.00/M | $4.50/M |
| Weights | proprietary | proprietary |
▸ frequently asked
Is Anthropic: Claude Sonnet 4.5 better than OpenAI: GPT-5.4 Mini?
Anthropic: Claude Sonnet 4.5 and OpenAI: GPT-5.4 Mini are closely matched in overall score. Choose based on pricing, context window, or the task-specific scores in the table above.
Which is cheaper: Anthropic: Claude Sonnet 4.5 or OpenAI: GPT-5.4 Mini?
OpenAI: GPT-5.4 Mini is cheaper at $0.75/M input tokens vs $3/M for Anthropic: Claude Sonnet 4.5.
Which model is better for coding?
Both models perform similarly on coding benchmarks (SWE-Bench, Aider Polyglot, LiveCodeBench).