Claude Sonnet 5 vs Grok 4
Claude Sonnet 5 is cheaper on input ($3.00 vs $5.00 per 1M tokens), Claude Sonnet 5 has the larger context window (400K).
| Spec | Claude Sonnet 5 | Grok 4 |
|---|---|---|
| Provider | Anthropic | xAI |
| Modality | Text + Vision | Text + Vision |
| Context window | 400Kbest | 256K |
| Input / 1M | $3.00best | $5.00 |
| Output / 1M | $15.00 | $15.00 |
| Released | Feb 2026 | Dec 2025 |
| Best for | Chat / Assistant, Code generation, Image / Vision | Chat / Assistant, Code generation, Image / Vision |
FAQ
- Is Claude Sonnet 5 cheaper than Grok 4?
- Claude Sonnet 5 is cheaper, at $3.00 per 1M input tokens versus $5.00.
- Which has the larger context window, Claude Sonnet 5 or Grok 4?
- Claude Sonnet 5 has the larger context window at 400K tokens.