Updated
Claude Opus 4.8 vs Grok 4.7
Claude Opus 4.8 had 35% fewer counted bugs per line than Grok 4.7 (1.16 vs 1.79).
| Claude Opus 4.8 | Grok 4.7 | |
|---|---|---|
| Bug rate | ||
| Relative bug rate | 1.16 | 1.79 |
| Rank | #6 of 8 | #8 of 8 |
| By coding agent | ||
| Cursor(statistically tied) | 1.97 | 1.77 |
| By language | ||
| TypeScript | 0.78 | 1.75 |
| Python(statistically tied) | 1.53 | 1.54 |
| Details | ||
| Provider | Anthropic | xAI |
| Released | May 28, 2026 | Sep 21, 2026 |
| List price | $5 input / $25 output per 1M tokens | $2 input / $6 output per 1M tokens |
| Share of AI-written code, week of Oct 26 | 0.5% | 1.1% |
1.00 = average · lower is better · = statistically tied
More comparisons
Questions and answers
- Which has fewer bugs, Claude Opus 4.8 or Grok 4.7?
- Claude Opus 4.8 had 35% fewer counted bugs per line than Grok 4.7 (1.16 vs 1.79). Claude Opus 4.8 ranks #6 of 8 and Grok 4.7 #8.
- Which is cheaper, Claude Opus 4.8 or Grok 4.7?
- Claude Opus 4.8 lists at $5 input / $25 output per 1M tokens; Grok 4.7 lists at $2 input / $6 output per 1M tokens. Grok 4.7 has the lower list price.
- Does it depend on the programming language?
- In TypeScript, Claude Opus 4.8 had the lower rate (0.78 vs 1.75); in Python, they were statistically tied (1.53 and 1.54).
- Which is used more, Claude Opus 4.8 or Grok 4.7?
- Grok 4.7, with 1.1% of the AI-written code reviewed by cubic in the week of Oct 26, 2026, against 0.5% for Claude Opus 4.8.