LLM Comparison
Claude Opus 4.8 vs Grok 4.7
Side-by-side specs, pricing & capabilities
Add to comparison
2/6 models| Organization | ||
| OpenTools Score | 71 4.7 | |
| Family | Claude Opus | Grok |
| Status | Current | Current |
| Release Date | May 2026 | Sep 2026 |
| Context Window | 1.0M tokens | 500K tokens |
| Input Price | $5.00/M tokens | $2.00/M tokens |
| Output Price | $25.00/M tokens | $6.00/M tokens |
| Pricing Notes | Standard Claude API USD per million tokens: $5 input, $25 output, $6.25 five-minute cache write, $10 one-hour cache write, and $0.50 cache read. Batch input and output are 50% lower; the 300K beta Batch output cap is separate. The $10 input / $50 output Fast tier is deprecated and scheduled for removal on November 30, 2026. Standard availability continues. | xAI Standard global rates per 1M tokens (input / cached input / output): $2 / $0.50 / $6 below 200,000 prompt tokens; $4 / $1 / $12 from 200,000. US regional endpoint: 10% higher token rates. Batch token rates are 20% lower. Supported requests billed at Priority cost 2x Standard. Grok 4.7 Fast is not on the public xAI API. It is billed through Cursor or Grok Build at 2x Standard, or 1.5x for long-context requests. |
| Capabilities | textvisioncodingreasoninglong-contextadaptive-thinking | codingreasoningvisiontool-usestructured-outputlong-contextcontext-caching |
| Training Cutoff | 2026-01 | — |
| Max Output | 128K tokens | — |
| API Identifier | claude-opus-4-8 | grok-4.7 |
| Benchmarks | ||
| Artificial Analysis Intelligence Index v4.3.2 | — | 42.2 indexartificial-analysis |
| Artificial Analysis Intelligence Index v4.3 | 42 indexartificial-analysis | — |
| View Claude Opus 4.8 | View Grok 4.7 | |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Grok 4.7Cheapest | $2.00 | $3.00 | $5.00 | — |
| Claude Opus 4.8 | $5.00 | $12.50 | $17.50 | +250% |
Compare hosting configurations
Compare two exact setups, including different configurations of the same model. Hardware fit, measured speed and costs are separate decisions.
No reviewed configurations are available to compare yet.
Anthropic
Claude Opus 4.8
Claude Opus 4.8 is an active legacy Anthropic model for software development and long-running tasks. It accepts text and images, returns text, and supports adaptive thinking. The standard Claude API offer has a 1,000,000-token context window and a 128,000-token maximum output. Anthropic has announced the removal of Fast mode on November 30, 2026; the standard model is not retiring on that date. The historical Artificial Analysis v4.3 result is for Opus 4.8 with Max adaptive thinking, not Fast mode. The source is a shared evaluator page titled Claude Opus 5, but the benchmark row is for Opus 4.8.
xAI
Grok 4.7
Grok 4.7 is SpaceXAI's proprietary coding and knowledge-work model, available as grok-4.7 on the xAI API. It accepts text and images, returns text, and offers a 500,000-token context window. SpaceXAI's release notes specify no text output limit. Standard global API pricing starts at $2 input and $6 output per million tokens, with separate cached-input and long-context rates.
More Comparisons
Looking for more AI models?
Browse All LLMs