Updated

Claude Sonnet 5.5 vs Grok 4.7

Claude Sonnet 5.5 had 42% fewer counted bugs per line than Grok 4.7 (1.03 vs 1.79).

Claude Sonnet 5.5 and Grok 4.7 compared on relative bug rate, by language, and on price and usage.
Claude Sonnet 5.5Grok 4.7
Bug rate
Relative bug rate1.031.79
Rank#4 of 8#8 of 8
By language
TypeScript0.881.75
Python(statistically tied)1.411.54
Details
ProviderAnthropicxAI
ReleasedSep 28, 2026Sep 21, 2026
List price$2 input / $10 output per 1M tokens$2 input / $6 output per 1M tokens
Share of AI-written code, week of Oct 262.4%1.1%

1.00 = average · lower is better · = statistically tied

More comparisons

Questions and answers

Which has fewer bugs, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5 had 42% fewer counted bugs per line than Grok 4.7 (1.03 vs 1.79). Claude Sonnet 5.5 ranks #4 of 8 and Grok 4.7 #8.
Which is cheaper, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5 lists at $2 input / $10 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 Sonnet 5.5 had the lower rate (0.88 vs 1.75); in Python, they were statistically tied (1.41 and 1.54).
Which is used more, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5, with 2.4% of the AI-written code reviewed by cubic in the week of Oct 26, 2026, against 1.1% for Grok 4.7.