grok-4.7 vs Claude Sonnet 5.5
For 1M input + 1M output tokens, grok-4.7 costs $8.00 and Claude Sonnet 5.5 costs $12.00. grok-4.7 is 1.5× cheaper.
| Per 1M tokens | grok-4.7 | Claude Sonnet 5.5 |
|---|---|---|
| Provider | xAI | Anthropic |
| Input | $2.00 | $2.00 |
| Output | $6.00 | $10.00 |
| Cached input | $0.50 | $0.10 |
| Context | 500K | 1M |
| Verified | 2026-10-15 | 2026-10-15 |
| Pricing | variable pricing | variable pricing |
Notes: grok-4.7: Prompts <200K tokens shown. Claude Sonnet 5.5: Cached = cache hit price. 5m cache writes cost 1.25x input.
Calculate your cost
| Provider | Model | Cost |
|---|---|---|
| xAI | grok-4.7 | $3.50 |
| Anthropic | Claude Sonnet 5.5 | $4.50 |
Uses standard list prices (no caching, batch or off-peak discounts). € and CHF rows are priced in that currency by the provider and not converted, so compare them with care.