Grok · Best AI for
Best Grok model for fixing bugs in real code
Only xAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
Top tested so far: Grok 4.6 (68/100 · $3 per 1M tokens)

Grok 4.6 (best tested so far: most of the newest models haven't taken these tests yet). It scores 68/100 for fixing bugs in real code, #15 among all 46 current models (the overall leader, GPT-6 Astra, scores 100).
All 2 Grok models for fixing bugs in real code
Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
Quick answers
Which Grok model is best for fixing bugs in real code?
Grok 4.6 (best tested so far: most of the newest models haven't taken these tests yet). It scores 68/100 for fixing bugs in real code, #15 among all 46 current models (the overall leader, GPT-6 Astra, scores 100).
About Grok 4.6 →What's the runner-up?
Grok 4.5, scoring 32 at $3 per million tokens.
See the details →How does it compare with the overall best for fixing bugs in real code?
GPT-6 Astra scores 100 vs 68, but costs about 6.7× as much per token.
Best AI for fixing bugs in real code →How are these ranked?
Each model's score is the share of current AI models it beats on the fixing bugs in real code tests, weighted towards newer and harder tests. Only xAI models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
How scores work →More ways to pick for fixing bugs in real code
Grok for other jobs
24 jobs · scores update automatically from public test results · data as of June 25, 2026