If your team tried Gemini for coding a while back and moved on, Gemini 4 Argon is a good reason to look again. Gemini 3.1 Pro struggled on our long coding sessions, so when Google released Argon we ran both models through the same tasks, prompts and grading we use for every model to see how much had changed in quality, cost and time.
Short answer: Gemini 4 Argon is a big step up from Gemini 3.1 Pro for coding. On our benchmark it scored 76% overall against 54% for 3.1 Pro, and 73% against 49% on long agentic coding sessions. Both cost about the same per session. Argon is much slower, at 19.3 minutes per long session against 5.8.
These are our own runs on real coding work, not numbers the vendor reported.
Gemini 4 Argon vs Gemini 3.1 Pro benchmark results
Scores are percentages of the maximum. The overall score weights long agentic sessions at 75% and short sessions at 25%, because long work is where teams spend most of their time and money. A long agentic session is a multi-turn coding session on a real service: trace the code, work out why something fails, plan a fix, implement it, then audit it. Short sessions are one-shot asks, like explaining how a setting gets resolved or fixing a small bug.
| Model | Overall score | Long agentic sessions | Cost per session | Time per session | Short sessions | Cost per question |
|---|---|---|---|---|---|---|
| NewGemini 4 Argon | 76% | 73% | $1.87 | 19.3 min | 86% | $0.28 |
| PreviousGemini 3.1 Pro | 54% | 49% | $1.56 | 5.8 min | 69% | $0.23 |
That’s the biggest jump between two versions of one model family we’ve measured since Anthropic went from Haiku 4.5 to Haiku 5.5.
Is Gemini 4 Argon better than Gemini 3.1 Pro for coding?
Yes, by a wide margin. Argon is 22 points ahead overall, 24 points ahead on long agentic sessions and 17 points ahead on short questions. The gain shows up on every turn of a long session:
| Gemini 3.1 Pro vs Gemini 4 Argon | Old vs new |
|---|---|
| Overall score |
54%76%
|
| Long agentic sessions |
49%73%
|
| Short sessions |
69%86%
|
| Cost per long session |
$1.56$1.87
|
| Minutes per long session |
5.8 min19.3 min
|
Gemini 3.1 ProGemini 4 Argon (new)
Scores on a 0-100% scale; cost and minutes are each scaled to their own largest value.
| Turn in a long session | Gemini 3.1 Pro vs Gemini 4 Argon |
|---|---|
| Trace the code |
62%92%
|
| Analyze the failure |
42%74%
|
| Plan the fix |
46%75%
|
| Implement |
46%63%
|
| Audit |
46%63%
|
Gemini 3.1 ProGemini 4 Argon
The first three turns improve by around 30 points each. Implementation and audit improve by 17, and those are still Argon’s weakest turns.
Why did Gemini 3.1 Pro score so low?
It answers before it looks. The 3.1 Pro sessions were quick, about six minutes each, and the answers read well, but they were thin. On the turn where the model has to work out how the service fails when Redis goes down, 3.1 Pro made three tool calls in one session and then wrote a general description of denial-of-service risk. It repeated a wrong assumption about how the Redis client behaves while reconnecting instead of reading the code. Our judge scored its grounding at 5.4 out of 10 and its completeness at 5.1 across every turn.
Why is Gemini 4 Argon slow?
It thinks a lot more. Argon wrote about 71,000 output tokens per long session against 26,000 for 3.1 Pro, most of it reasoning, and the sessions took 19 minutes instead of 6. Some short questions sat for several minutes before the first answer. That time goes into reading and checking the code, which is where the score gains come from.
How much does Gemini 4 Argon cost?
About the same as 3.1 Pro per session: $1.87 per long session against $1.56, and $0.28 per short question against $0.23. Argon’s list price is $2 per million input tokens and $10 per million output tokens, a little under 3.1 Pro’s $12 output price. It costs slightly more per session because it writes more. Prompt caching worked for both models, with 82-91% of input read from cache.
Should you switch from Gemini 3.1 Pro to Gemini 4 Argon?
If you tried Gemini for agentic coding on 3.1 Pro and gave up, try again. Argon is a different class of model on this work, at about the same cost per session. Expect it to be slow: 19 minutes for a five-turn session is longer than any Claude model we run. For how Argon compares with Claude, see our Gemini 4 Argon vs Claude Opus 5.5 and Sonnet 5.5 benchmark.
How we tested
The benchmark is a set of agentic coding tasks taken from real work on our own services. Every model gets the same fixed prompts in the same coding agent (Claude Code, version pinned), and every turn is graded against an answer key that was checked against the code. The judge is Claude Opus 5.5, scoring five dimensions. We ran 8 long sessions and 16 short ones per model, through Google’s own API, with default settings and no extra prompting. To rule out the coding agent as the cause of 3.1 Pro’s low scores, we also ran its short sessions in OpenAI’s Codex CLI and found no meaningful difference (71% there against 69%). We’ve found models score about the same in Claude Code, Codex and Cursor. Session-to-session noise is about 3 points, so treat 1 to 2 point gaps as ties.
FAQ
Is Gemini 4 Argon better than Gemini 3.1 Pro?
Yes. It scored 76% overall on our coding benchmark against 54% for Gemini 3.1 Pro, and 73% against 49% on long agentic sessions.
How fast is Gemini 4 Argon?
Slow. A long agentic coding session took 19.3 minutes, against 5.8 minutes for Gemini 3.1 Pro.
How much does Gemini 4 Argon cost per coding session?
About $1.87 per long agentic session and $0.28 per short question in our runs, close to Gemini 3.1 Pro at $1.56 and $0.23.
What is Gemini 4 Argon’s list price?
$2 per million input tokens and $10 per million output tokens.
Where is Gemini 4 Argon still weak?
Writing and checking code. It scored 63% on both the implementation and audit turns, its lowest scores.