Claude Opus 5 vs Grok 4.7: Specs & Benchmark Comparison

Claude Opus 5 is developed by Anthropic, while Grok 4.7 comes from xAI. Claude Opus 5 was released in July 2026, and Grok 4.7 followed 2 months later in September 2026.

The two models share 3 published benchmarks. Claude Opus 5 leads on 2 of them, Grok 4.7 on 1. The widest gaps are on Terminal-Bench 4.0, where Claude Opus 5 scores 51.8% against 38.0%; HealthBench Professional, where Claude Opus 5 scores 59.8% against 56.7%. Averaged across everything we track, Claude Opus 5 sits at 55.0% and Grok 4.7 at 56.5%.

Grok 4.7 is the cheaper API at $2 per million input tokens and $6 per million output tokens, roughly 3 times cheaper than Claude Opus 5 at $5 and $25. Claude Opus 5 takes the larger context window at 1M tokens, compared with 500K for Grok 4.7. Both accept text and images as input.

CharacteristicClaude Opus 5Grok 4.7
CompanyAnthropicxAI
Release DateJuly 24, 2026September 21, 2026
Parameters——
MultimodalYesYes
Context (input)1.0M500K
Context (output)128K—
Input Price / 1M$5.00$2.00
Output Price / 1M$25.00$6.00
Average Score55.0%56.5%
Benchmarks
Terminal-Bench 4.051.8%38.0%
HealthBench Professional59.8%56.7%
DeepSWE 1.168.8%71.0%

Visual Benchmark Comparison

Claude Opus 5
Grok 4.7
Terminal-Bench 4.00.5 vs 0.4
0.5
0.4
HealthBench Professional0.6 vs 0.6
0.6
0.6
DeepSWE 1.10.7 vs 0.7
0.7
0.7

Verdict

Grok 4.7 leads in 2 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: Claude Opus 5 — 0.5, Grok 4.7 — 0.6.

API Cost

Grok 4.7 is 3.8x cheaper: input $2.00/1M vs $5.00/1M tokens.

Context Window

Claude Opus 5 supports a larger context: 1M vs 500K tokens.

Recency

Grok 4.7 is newer: released 9/21/2026 vs 7/24/2026.

More About These Models

Related Comparisons

Frequently Asked Questions

Which is better for coding — Claude Opus 5 or Grok 4.7?
Direct comparison on the SWE-Bench benchmark is not available. We recommend reviewing other metrics on the comparison page.
Which model is cheaper — Claude Opus 5 or Grok 4.7?
Grok 4.7 is cheaper for input: $2.00 per 1M tokens vs $5.00.
Which has a larger context window — Claude Opus 5 or Grok 4.7?
Claude Opus 5 supports a larger context: 1,048,576 tokens vs 500,000.

The Claude Opus 5 and Grok 4.7 comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the Claude Opus 5 or Grok 4.7 page. See also the complete list of AI model comparisons.