Gemini · Best AI for
Best Gemini model for editing existing code
Only Google models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
Answer: Gemini 4 Carbon (91/100 · $4 per 1M tokens)

Gemini 4 Carbon. It scores 91/100 for editing existing code, which makes it the best of every AI we track.
All 4 Gemini 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.
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
| Model | Score | $ / 1M tokens | Cost per job | Memory | Released |
|---|---|---|---|---|---|
| Gemini 4 Carbon | 91 | $4 | $0.06 | 1M | Nov 2026 |
| Gemini 4 Neon | 89 | $6 | $0.09 | 1M | Nov 2026 |
| Gemini 4 Hydrogen | 82 | $3 | $0.045 | 1M | Nov 2026 |
| Gemini 4 Argon | 59 | $4 | $0.06 | 1M | Oct 2026 |
Quick answers
Which Gemini model is best for editing existing code?
Gemini 4 Carbon. It scores 91/100 for editing existing code, which makes it the best of every AI we track.
About Gemini 4 Carbon →What's the runner-up?
Gemini 4 Neon, scoring 89 at $6 per million tokens.
See the details →Which is the best value?
Gemini 4 Hydrogen: it scores 82 (vs 91 for Gemini 4 Carbon) and costs $3 per million tokens instead of $4.
See the details →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 Google 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
Gemini for other jobs
24 jobs · scores update automatically from public test results · data as of November 21, 2026