Compare Claude Sonnet 4.5 from Anthropic and Grok 3 from SpaceXAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Claude Sonnet 4.5 and Grok 3 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Claude Sonnet 4.5, from Anthropic, has a 1,000,000-token context window and is priced at $3/M tokens input, $15/M tokens output on OpenRouter.
Grok 3, from SpaceXAI, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.
| Attribute | Claude Sonnet 4.5 | Grok 3 |
|---|---|---|
| Input price | $3/M tokens | Pricing varies by provider |
| Output price | $15/M tokens | Pricing varies by provider |
| Context window | 1,000,000 tokens | 131,072 tokens |
| Intelligence Index | 19.3 | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 1.15 s | Not available |
| Throughput (p50) | 38.0 tok/s | Not available |
Benchmark data updated
Claude Sonnet 4.5 has the longer context window at 1,000,000 tokens, compared with 131,072 tokens for Grok 3.