Model comparison
Claude Opus 4.7 vs Grok 4.20
Anthropic
Claude Opus 4.7
Anthropic's heavyweight for hard reasoning and agentic work.
xAI
Grok 4.20
xAI's fourth-generation model with a 2M-token context window.
Specs
| Metric | Claude Opus 4.7 | Grok 4.20 |
|---|---|---|
| Context window | 1M tokens | 2M tokens↑ |
| Input $/1M tokens | $5.00 | $1.25↑ |
| Output $/1M tokens | $25.00 | $2.50↑ |
| Modalities | Text · Image · File | Text · Image · File |
| Open weights | No | No |
Capability differences
| Capability | Claude Opus 4.7 | Grok 4.20 |
|---|---|---|
| Prompt caching | Yes | No |
Key differences
- -Claude Opus 4.7 offers 1M context; Grok 4.20 offers 2M.
- -Input pricing: Claude Opus 4.7 at $5.00/1M vs Grok 4.20 at $1.25/1M.