Skip to content
benchtopia
  • Fetching the field guide…

Grok · Best AI for

Best Grok model for editing existing 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.

Answer: Grok 4.7 (46/100 · $3 per 1M tokens)

Grok 4.7. It scores 46/100 for editing existing code, #9 among all 13 current models (the overall leader, Gemini 4 Carbon, scores 91).

All 2 Grok models for editing existing 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.

  1. 1Grok 4.7#9 of 13 overall · a few tests46
  2. 2Grok 4.6#12 of 13 overall · a few tests26

Score, price and memory side by side

Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.

ModelScore$ / 1M tokensCost per jobMemoryReleased
Grok 4.746$3$0.052500KSep 2026
Grok 4.626$3$0.052500KAug 2026

Quick answers

Which Grok model is best for editing existing code?

Grok 4.7. It scores 46/100 for editing existing code, #9 among all 13 current models (the overall leader, Gemini 4 Carbon, scores 91).

About Grok 4.7 →
What's the runner-up?

Grok 4.6, scoring 26 at $3 per million tokens.

See the details →
How does it compare with the overall best for editing existing code?

Gemini 4 Carbon scores 91 vs 46, but costs about 1.3× as much per token.

Best AI for editing existing code →
How are these ranked?

Each model's score is the share of current AI models it beats on the editing existing 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 editing existing code

Grok for other jobs

24 jobs · scores update automatically from public test results · data as of November 21, 2026