Claude Sonnet 5.5 vs Grok 4.7
Claude Sonnet 5.5 (Anthropic) costs $2.00 per million input tokens and $10.00 per million output tokens; Grok 4.7 (xAI) costs $2.00 and $6.00. Grok 4.7 is 1.3× cheaper for a typical 3:1 input-to-output mix. Claude Sonnet 5.5 has the larger context window (1M vs 500K tokens).
| Claude Sonnet 5.5 | Grok 4.7 | |
|---|---|---|
| Provider | Anthropic | xAI |
| Input / 1M tokens | $2.00 | $2.00 |
| Output / 1M tokens | $10.00 | $6.00 |
| Cached input / 1M | $0.20 | $0.50 |
| Blended (3:1) | $4.00 | $3.00 |
| Context window | 1M | 500K |
| Max output | 128K | 500K |
| Vision | Yes | Yes |
| Tool use | Yes | Yes |
| Reasoning | Yes | Yes |
| Listed since | Oct 1, 2026 | Sep 27, 2026 |
Cost per 1,000 requests
| Workload | Claude Sonnet 5.5 | Grok 4.7 |
|---|---|---|
| Chatbot reply2,000 input + 500 output tokens | $9.00 | $7.00 |
| RAG / search answer8,000 input + 700 output tokens | $23.00 | $20.20 |
| Long-document summary100,000 input + 2,000 output tokens | $220.00 | $212.00 |
Blended price history
Blended = (3 × input + output) ÷ 4, per million tokens. Each line starts when the model first appeared in the price list.
The companies
List prices for each provider's own API (USD), taken daily from LiteLLM's public model price list. Batch, caching and committed-use discounts aren't reflected. Price alone says nothing about output quality; check benchmarks and your own evaluations before switching.
