Claude Sonnet 4.6 vs GPT-5.4
Compare Claude Sonnet 4.6 from Anthropic and GPT-5.4 from OpenAI on price, context length and features. Use both through one Yunshu Router API key.
claude-sonnet-4-6gpt-5.4| Model |
Change model
|
Change model
|
|---|---|---|
| Good for | Coding agents · Long context · Images and screenshots | Coding agents · Long context · Images and screenshots |
| Overview | ||
| Model ID | claude-sonnet-4-6 | gpt-5.4 |
| Availability | Available | Available |
| Context length | 195K tokens | 266K tokens |
| Reasoning | Can be switched off | Can be switched off |
| Reads | text, image | text, image |
| Writes | text | text |
| Tool calling | Yes | Yes |
| Price per 1M tokens | ||
| Input | $3.7202 | $2.8787 |
| Output | $18.6009 | $17.2723 |
| Cached input | $0.3720 | $0.2879 |
Analysis
Claude Sonnet 4.6 vs GPT-5.4: side-by-side summary
Claude Sonnet 4.6 and GPT-5.4 are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.
Claude Sonnet 4.6, from Anthropic, has a 195K-token context window and is priced at $3.7202 per 1M input tokens and $18.6009 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).
GPT-5.4, from OpenAI, has a 266K-token context window and is priced at $2.8787 per 1M input tokens and $17.2723 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).
| Attribute | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| Context window | 195K tokens | 266K tokens |
| Price | $3.7202 / M input, $18.6009 / M output | $2.8787 / M input, $17.2723 / M output |
| Provided by | Anthropic | OpenAI |
| Model page | Claude Sonnet 4.6 details, setup and pricing | GPT-5.4 details, setup and pricing |
USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.
More comparisons
- Qwen3.6 Plus vs Claude Sonnet 4.6
- Qwen3.7 Max vs Claude Sonnet 4.6
- Qwen3.7 Plus vs Claude Sonnet 4.6
- Qwen3.8 Flash vs Claude Sonnet 4.6
- Qwen3.8 Max vs Claude Sonnet 4.6
- Claude Fable 5 vs Claude Sonnet 4.6
- Qwen3.6 Plus vs GPT-5.4
- Qwen3.7 Max vs GPT-5.4
- Qwen3.7 Plus vs GPT-5.4
- Qwen3.8 Flash vs GPT-5.4
- Qwen3.8 Max vs GPT-5.4
- Claude Fable 5 vs GPT-5.4