Gemini · Best AI for
Best Gemini model for writing 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 Neon (90/100 · $6 per 1M tokens)

Gemini 4 Neon. It scores 90/100 for writing code, #2 among all 35 current models (the overall leader, GPT-6 Astra, scores 91).
All 6 Gemini models for writing 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 Neon | 90 | $6 | $0.09 | 1M | Nov 2026 |
| Gemini 4 Argon | 68 | $4 | $0.06 | 1M | Oct 2026 |
| Gemini 3.8 Flash | 49 | $1.50 | $0.022 | 1M | Sep 2026 |
| Gemini 3.7 Flash | 45 | $1.50 | $0.022 | 1M | Aug 2026 |
| Gemini 3.1 Pro | 29 | $4.50 | $0.064 | 1M | Feb 2026 |
| Gemini 3.6 Flash | 24 | $1.50 | $0.022 | 1M | Jul 2026 |
Quick answers
Which Gemini model is best for writing code?
Gemini 4 Neon. It scores 90/100 for writing code, #2 among all 35 current models (the overall leader, GPT-6 Astra, scores 91).
About Gemini 4 Neon →What's the runner-up?
Gemini 4 Argon, scoring 68 at $4 per million tokens.
See the details →How does it compare with the overall best for writing code?
GPT-6 Astra scores 91 vs 90, but costs about 3.3× as much per token.
Best AI for writing code →How are these ranked?
Each model's score is the share of current AI models it beats on the writing 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 writing code
Gemini for other jobs
24 jobs · scores update automatically from public test results · data as of November 21, 2026