Claude Opus 4.8 vs Grok 4.7
Claude Opus 4.8 wins 4 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 156.4). Grok 4.7 is about 3× cheaper on a blended (3:1 input:output) token price. Claude Opus 4.8 has the larger context window (1M vs 500K).
| Spec | Claude Opus 4.8 | Grok 4.7 |
|---|---|---|
| Provider | Anthropic | xAI |
| Released | May 28, 2026 | Sep 21, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 2.1T |
| Context window | 1M (better) | 500K |
| Max output | 125K | 500K (better) |
| Input price / 1M | $5 | $2 (better) |
| Output price / 1M | $25 | $6 (better) |
| Input modalities | text, image, pdf, file | text, image, pdf, file |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 58 (better) | 37 |
| Epoch Capabilities Index | 159.9 (better) | 156.4 |
| GPQA Diamond | 91.0% | 92.7% (better) |
| WebDev Arena | 1559 | 1638 (better) |
| OTIS Mock AIME | 98.3% (better) | 98.1% |
| FrontierMath | 80.0% (better) | 53.0% |
| ARC-AGI-2 | 72.1% (better) | 61.4% |
| SimpleQA Verified | 53.0% | 56.0% (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Opus 4.8 costs $100.00 and Grok 4.7 costs $32.00 at list price (Anthropic / xai pricing).
About Claude Opus 4.8
Claude Opus 4.8 is a proprietary reasoning llm from Anthropic, released May 28, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $5 per million input tokens and $25 per million output tokens. It is available from 58 API providers. It scores 159.9 on the Epoch Capabilities Index. Full Claude Opus 4.8 specs →
About Grok 4.7
Grok 4.7 is a proprietary reasoning llm from xAI, released Sep 21, 2026. It has 2.1T parameters, a 500K-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $6 per million output tokens. It is available from 37 API providers. It scores 156.4 on the Epoch Capabilities Index. Full Grok 4.7 specs →
Compare other models
FAQ
Which is better, Claude Opus 4.8 or Grok 4.7?
Claude Opus 4.8 wins 4 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 156.4). Grok 4.7 is about 3× cheaper on a blended (3:1 input:output) token price. Claude Opus 4.8 has the larger context window (1M vs 500K).
Is Claude Opus 4.8 cheaper than Grok 4.7?
Claude Opus 4.8 costs $5 input / $25 output per 1M tokens; Grok 4.7 costs $2 / $6. Grok 4.7 is cheaper overall.
Which has a bigger context window?
Claude Opus 4.8: 1,000,000 tokens. Grok 4.7: 500,000 tokens.
Are Claude Opus 4.8 and Grok 4.7 open source?
Claude Opus 4.8 is proprietary; Grok 4.7 is proprietary.