- Home
- LLM comparison
- Claude Sonnet 5 vs. GPT-5.4 mini
AnthropicOpenAILLM matchup
Claude Sonnet 5vs.GPT-5.4 mini
Which one is better?
Claude Sonnet 5 performs better than GPT-5.4 mini, but costs 2.7 times (input) and 2.2 times (output) as much.
Claude Sonnet 5
Rank 45
GPT-5.4 mini
Rank 62
Claude Sonnet 5
GPT-5.4 mini
Claude Sonnet 5
GPT-5.4 mini
Claude Sonnet 5
Rank 21 of 511
GPT-5.4 mini
Choose Claude Sonnet 5 for
No clear advantage for GPT-5.4 mini.
Compare other versions
Keep comparing
On this page
Where is the difference?
Strengths at a glance
Sonnet 5GPT-5.4 miniMedian of all ranked models
95 % range: Sonnet 5 89.7 to 98.4, GPT-5.4 mini 70.9 to 80.5.
The same values and verdicts as the bars below. In the close-up the net starts at 70 points, just below the weaker model's lowest value; the reference group average is 100. Not in the net because a model has no own value there or the data are too thin: Reasoning, Mathematics, Knowledge, Legal, Health.
Sonnet 5 is ahead in 5 of 10 areas, GPT-5.4 mini in none.
Sonnet 5 ahead: 5too little data: 5
Bar length shows the gap in index points (full width 15 points, one standard deviation of the reference group). Solid means clearly ahead, hatched not certain yet, a thin grey bar level.
Show 2 more areas that do not count toward the overall index
Bar length shows the gap in index points (full width 15 points, one standard deviation of the reference group). Solid means clearly ahead, hatched not certain yet, a thin grey bar level.
Which model for which task?
Everyday tasks, translated from the area values above. Each row names the values it rests on.
Claude Sonnet 5 vs. GPT-5.4 mini in our own test
The same prompt for both models. We show the latest attempt without fixes; it does not count toward the overall index.
Claude Sonnet 5

Sep 7, 2026 · 48 s · $0.03
Test details
- Run date
- Sep 7, 2026
- API provider
- openrouter
- Requested API model
- anthropic/claude-sonnet-5
- Reasoning setting
- high
- Token limit including reasoning
- 8,192 tokens
- Output tokens
- 3,394 tokens
- Cost of the attempt
- $0.0340
- Response time
- 47.9 s
- API model reported in response
- anthropic/claude-sonnet-5
- Pinned endpoint
- Anthropic | anthropic/claude-sonnet-5-20260630
- Temperature
- Provider default
- Test protocol
- community-visual-tests-v1
- Technical checks
- Passed, not a quality rating
Visually reviewed. This individual test does not establish overall model quality.
GPT-5.4 mini

Oct 2, 2026 · 14 s · $0.01
Test details
- Run date
- Oct 2, 2026
- API provider
- openrouter
- Requested API model
- openai/gpt-5.4-mini
- Reasoning setting
- high
- Token limit including reasoning
- 8,192 tokens
- Output tokens
- 3,142 tokens
- Cost of the attempt
- $0.0142
- Response time
- 13.5 s
- API model reported in response
- openai/gpt-5.4-mini
- Pinned endpoint
- OpenAI | openai/gpt-5.4-mini-20260317
- Temperature
- Provider default
- Test protocol
- community-visual-tests-v1
- Technical checks
- Passed, not a quality rating
Visually reviewed. This individual test does not establish overall model quality.
Earlier attempts (2)
- Oct 1, 2026API request failedReasoning setting: high
- Sep 7, 2026API request failedReasoning setting: high
SVG short test
SVG short test
One SVG task with the same fixed settings for every model, without hidden thinking.
Prompt
Return only one standalone SVG of a pelican riding a bicycle. Use viewBox="0 0 800 600", simple shapes, two clearly visible wheels and a recognizable pelican with a long beak. At most 30 SVG elements and 1800 characters. No Markdown, explanations, comments, scripts, animation, CSS or external resources.
Claude Sonnet 5
Unavailable in this round
GPT-5.4 mini
Unavailable in this round
Claude Sonnet 5 and GPT-5.4 mini in the overall index
Every model with a place in the overall index, both models of this matchup highlighted. You can add or hide other models.
Overall index (Gradually Meta-Score v6)
20 of 95 models
Popularity compared
How often the models are searched for, used and mentioned, on a scale from 0 to 100.
GPT-5.4 mini has no popularity score yet.
Over time
Weekly values from October 18, 2026 to November 17, 2026
Claude Sonnet 5GPT-5.4 mini
All data side by side
The better value is bold. For the overall index only when the gap is clear.
| Metric | Claude Sonnet 5 | GPT-5.4 mini |
|---|---|---|
| Intelligence | ||
| Overall indexpoints, 100 = reference group average, higher is better | 92.0 | 75.1 |
| Rank | Rank 45 of 95 | Rank 62 of 95 |
| Price per 1M tokens | ||
| Inputwhat you send | $2 | $0.75 |
| Outputwhat the model writes | $10 | $4.50 |
| Cost per task (own tests)average of 1 original-protocol task both models passed (SVG short test not included) | $0.034 | $0.014 |
| Speed | ||
| Tokens per second | 72 | 90 |
| Popularity | ||
| Popularitysearch, usage and mentions, 0 to 100 | 80Rank 21 of 511 | n/a |
| Technical | ||
| Context windowhow much text the model reads at once | 1 M tokens≈ 1,500 A4 pages | 400,000 tokens≈ 600 A4 pages |
| Knowledge cutoff | January 2026 | Aug 31, 2025 |
| Released | Jun 30, 2026 | Mar 17, 2026 |
| Availability | Active | Active |
| Open weights | no | no |
Prices without caching or batch discounts · Page count as a rule of thumb from Artificial Analysis
Is there a better choice?
Overall index 121.9, rank 5$2 input and $10 output per 1M tokens
GPT-5.4 mini vs. Claude Sonnet 5.5Overall index 110.5, rank 14$0.10 input and $0.50 output per 1M tokens
View profileOverall index 130.9, rank 1$8 input and $40 output per 1M tokens
Shared benchmarks
Single results from the same benchmark version, task and metric. A value is bold only with the same test setup and a clear gap.
A: Claude Sonnet 5B: GPT-5.4 mini
Show 54 more benchmarks
More comparisons
Compare Claude Sonnet 5 and GPT-5.4 mini with the models people compare them with most often.
Compare another matchup
Predecessor and successor
The most popular comparisons
- 1GPT-6 Luna vs. GPT-5.4 mini
- 2Claude Sonnet 5 vs. DeepSeek-V4.1-Flash
- 3Claude Opus 5.5 vs. Claude Sonnet 5
- 4Claude Sonnet 5 vs. GPT-6 Luna
- 5Claude Haiku 5.5 vs. Claude Sonnet 5
- 6Claude Sonnet 5 vs. GPT-6.1 Sol
- 7GPT-5.6 Luna vs. GPT-5.4 mini
- 8GPT-6.1 Sol vs. GPT-5.4 mini
- 9Claude Sonnet 5 vs. DeepSeek V4.1 Flash 1017
Show all 37 comparisons
- 10GPT-6.1 Terra vs. GPT-5.4 mini
- 11Claude Sonnet 5 vs. GPT-6.1 Terra
- 12Claude Sonnet 5 vs. GPT-6 Astra
- 13Claude Sonnet 5 vs. Gemini 4 Carbon
- 14Claude Sonnet 5 vs. Gemini 3.8 Flash
- 15Claude Haiku 5.5 vs. GPT-5.4 mini
- 16Claude Sonnet 5 vs. Kimi K3
- 17Claude Sonnet 5 vs. GPT-5.6 Luna
- 18GPT-5.4 mini vs. Gemini 3.8 Flash
- 19Claude Sonnet 5 vs. GLM-5.3
- 20Claude Sonnet 5 vs. Mistral Large 4
- 21Claude Opus 5 vs. Claude Sonnet 5
- 22Claude Sonnet 5 vs. DeepSeek-V4-Flash
- 23Claude Sonnet 5 vs. Qwen 3.8 27B
- 24Claude Sonnet 5 vs. GPT-5.6 Sol
- 25Claude Sonnet 5 vs. GPT-6 Sol
- 26Claude Sonnet 5 vs. Qwen 3.8 Max 0902
- 27Claude Sonnet 5 vs. Kimi K3.1 Pro
- 28Claude Sonnet 5 vs. DeepSeek-V4-Pro
- 29Claude Sonnet 5 vs. MiMo-V2.5
- 30GPT-5.4 mini vs. Qwen 3.8 27B
- 31GPT-5.4 mini vs. DeepSeek-V4-Flash
- 32Claude Sonnet 5.5 vs. GPT-5.4 mini
- 33Claude Fable 5.1 vs. Claude Sonnet 5
- 34Claude Sonnet 5 vs. Gemini 3.7 Flash
- 35Claude Sonnet 5 vs. Claude Haiku 4.5
- 36Claude Sonnet 5 vs. GPT-5.5
- 37Claude Sonnet 5 vs. Gemini 4 Argon