Claude Opus 4.7 vs Grok 4
Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.
Claude Opus 4.7
Anthropic · Mar 2026
The early-2026 Opus release that pushed SWE-bench past 82% and extended the 1M context to the whole Opus line.
Grok 4
xAI · Jul 2025
xAI's mid-2025 flagship, trained on the 200K-GPU Colossus cluster — a math and science reasoning standout of its generation.
The verdict
These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. Grok 4 is about 1.7x cheaper per blended million tokens (3:1 input:output mix). Claude Opus 4.7 also takes 1M of context versus 256K for Grok 4.
Specs & pricing
| Claude Opus 4.7 | Grok 4 | |
|---|---|---|
| modhub Index | — | — |
| Input price / 1M | $5 | $3 |
| Output price / 1M | $25 | $15 |
| Context window | 1M | 256K |
| Max output | 64K | — |
| Open weights | no | no |
| Reasoning model | yes | yes |
| Multimodal input | text, image | text, image |
| Knowledge cutoff | Nov 2025 | Jul 2025 |
| Released | Mar 2026 | Jul 2025 |
| Example monthly cost* | $87.50 | $52.50 |
* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.
Frequently asked questions
- Which is better, Claude Opus 4.7 or Grok 4?
- These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. Grok 4 is about 1.7x cheaper per blended million tokens (3:1 input:output mix). Claude Opus 4.7 also takes 1M of context versus 256K for Grok 4.
- Which is cheaper, Claude Opus 4.7 or Grok 4?
- Claude Opus 4.7 costs $5/$25 per million input/output tokens, while Grok 4 costs $3/$15. For a typical workload of 10M input and 1.5M output tokens per month, that's $87.50 versus $52.50.
- Which model is better for coding, Claude Opus 4.7 or Grok 4?
- We don't yet track SWE-bench Verified results for both models; check their individual pages for coding-related scores.