Claude Sonnet 5 vs GPT-5.4
Benchmark Performance
Available Benchmarks
| Benchmark | Claude Sonnet 5 | GPT-5.4 |
|---|---|---|
| LMArena Agent Arenaagent-2026-08-31-011508720696 · outcome_score · leader | 7.48100% of row best · score · Claude Sonnet 5 (High); 95% CI [5.31247081, 9.65098366]; sessions 27467; observations 2696236; rank 8 | 3.2596% of row best · score · GPT 5.4 (High); 95% CI [2.38938480, 4.10626048]; sessions 76973; observations 3360684; rank 21 |
| LMArena Document Arenadocument-2026-07-30-011508720696 · arena_rating · statistical tie | 1,470.22100% of row best · rating · claude-sonnet-5-high; 95% CI [1459.84859101, 1480.59820001]; votes 3601; rank 14 | 1,470.14100% of row best · rating · gpt-5.4; 95% CI [1463.54357191, 1476.73400825]; votes 29809; rank 15 |
| LMArena Text Arenatext-2026-09-01-011508720696 · arena_rating · leader | 1,442.9599% of row best · rating · claude-sonnet-5-high; 95% CI [1438.22001632, 1447.67497803]; votes 31096; rank 56 | 1,452.51100% of row best · rating · gpt-5.4; 95% CI [1448.73439083, 1456.28324387]; votes 63615; rank 37 |
| LMArena Vision Arenavision-2026-08-27-011508720696 · arena_rating · leader | 1,277.9499% of row best · rating · claude-sonnet-5-high; 95% CI [1269.73992861, 1286.14906472]; votes 8522; rank 29 | 1,293.18100% of row best · rating · gpt-5.4; 95% CI [1286.41064849, 1299.95761489]; votes 21245; rank 20 |
| Overall ResultCounted from the protocol-matched rows above · 1 tie | 1 benchmark win | 2 benchmark winsOverall lead |
Third-party benchmark Only like-for-like primary-publisher results are shown; raw scores, relative scores, configuration, and token spend remain visible.
Technical Differences
Side-by-Side Facts
| Field | Claude Sonnet 5 | GPT-5.4 |
|---|---|---|
| Developer | Anthropic | OpenAI |
| Family | Claude 5 | Gpt 5 4 |
| Model | Claude Sonnet 5 | GPT-5.4 |
| Version | Claude Sonnet 5 | GPT-5.4 |
| Lifecycle | active | active |
| Released | 2026-06-30 | 2026-03-05 |
| Knowledge cutoff | Unknown | 2025-08-31 |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
| Context window | 1,000,000 | 1,050,000 |
| Total parameters | Unknown | Unknown |
| Active parameters | Unknown | Unknown |
| License | Unknown | Unknown |
| Open weights | No | No |
| API available | Yes | Yes |
| Self-hostable | No | No |
| Provider access | Anthropic (Standard), Deepinfra (Standard), Openrouter (Standard) | Openai (Standard), Openrouter (Standard) |
| Capabilities | chat, generation, reasoning, tools | chat, generation, reasoning, structured_outputs, tools |
14 comparable fields · 8 material differences · Pair passes the primary-source comparison gate
Claude Sonnet 5 Capabilities
GPT-5.4 Capabilities
Internal Comparison Graph
Related Comparisons
| A | Pair | B | Context |
|---|---|---|---|
Claude Fable 5.1Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
Claude Mythos 5.1Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
GPT-5.4OpenAI | vs | GPT-5.5OpenAI | family variantsimage, text |
GPT-5.3-CodexOpenAI | vs | GPT-5.4OpenAI | family variantsimage, text |
Claude Sonnet 4.6Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
Claude Sonnet 4.5Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
Claude Opus 4.6Anthropic | vs | GPT-5.4OpenAI | cross-developer peersimage, text |
Claude Opus 4.7Anthropic | vs | GPT-5.4OpenAI | cross-developer peersimage, text |
Claude Sonnet 4.6Anthropic | vs | GPT-5.4OpenAI | cross-developer peersimage, text |
GPT-4.1OpenAI | vs | GPT-5.4OpenAI | family variantsimage, text |
GPT-4.1 MiniOpenAI | vs | GPT-5.4OpenAI | family variantsimage, text |
Claude Sonnet 5Anthropic | vs | Qwen3.7 FlashQwen | cross-developer peersimage, text |
Primary Evidence
Sources and Freshness
Questions
Claude Sonnet 5 vs GPT-5.4 FAQs
Is Claude Sonnet 5 or GPT-5.4 better for coding?+
This comparison does not currently contain a protocol-matched coding benchmark for both Claude Sonnet 5 and GPT-5.4, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.
Which is cheaper, Claude Sonnet 5 or GPT-5.4?+
Claude Sonnet 5 is $2.00 and GPT-5.4 is $2.50 per million tokens, so Claude Sonnet 5 is cheaper on this metric. Claude Sonnet 5 is $10.00 and GPT-5.4 is $15.00 per million tokens, so Claude Sonnet 5 is cheaper on this metric.
Which has a larger context window, Claude Sonnet 5 or GPT-5.4?+
GPT-5.4 has the larger sourced context window. Claude Sonnet 5 supports 1,000,000 and GPT-5.4 supports 1,050,000.
Which performs better in benchmarks, Claude Sonnet 5 or GPT-5.4?+
There is no overall benchmark winner: An overall winner requires at least two decisive benchmarks from at least two original publishers.
Can Claude Sonnet 5 or GPT-5.4 be self-hosted?+
Both models have the same recorded self-hosting status: unsupported. Claude Sonnet 5 is not marked open weight; GPT-5.4 is not marked open weight.
Can Claude Sonnet 5 and GPT-5.4 understand images?+
Claude Sonnet 5 is documented with image input; GPT-5.4 is documented with image input. This reflects supported input modalities, not vision quality.
Which can generate longer answers, Claude Sonnet 5 or GPT-5.4?+
Neither has a larger sourced maximum output. Claude Sonnet 5 is 128,000 and GPT-5.4 is 128,000.
Do Claude Sonnet 5 and GPT-5.4 support reasoning and tool use?+
Claude Sonnet 5: reasoning, tool calling, and image input. GPT-5.4: reasoning, tool calling, and image input. Feature support does not establish relative quality.
Which is available from more inference providers, Claude Sonnet 5 or GPT-5.4?+
Claude Sonnet 5 has 3 sourced provider routes; GPT-5.4 has 2, so Claude Sonnet 5 has broader tracked availability.
Which offers better value, Claude Sonnet 5 or GPT-5.4?+
There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.