Gemini 3.1 Pro Preview Custom Tools vs Gemma 3 4B
Gemma 3 4B costs 160.0x less per output token than Gemini 3.1 Pro Preview Custom Tools ($0.075 vs $12.00 per million). Updated October 22, 2026; no benchmark has tested both models yet.
- Coding
- No data
- Overall
- No data
- Output $/M
- $12.00
- Coding
- No data
- Overall
- 22.6
- Output $/M
- $0.075
Gemini 3.1 Pro Preview Custom Tools or Gemma 3 4B: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Gemini 3.1 Pro Preview Custom Tools for a larger context window (1.05M against 131K tokens).
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Gemma 3 4B on AA Coding Index, LiveCodeBench (Artificial Analysis run) and Terminal-Bench Hard (Artificial Analysis run). Compare them on price and context instead.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
No call
Only Gemma 3 4B has a AA Intelligence Index result, 4.8.
Directional only
Long documents
Listed context window
Gemini 3.1 Pro Preview Custom Tools
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Gemini 3.1 Pro Preview Custom Tools $0.0080, Gemma 3 4B $0.0001 per turn.
List prices
At a glance
- Coding index
- Gemini 3.1 Pro Preview Custom Tools not benchmarked, Gemma 3 4B not benchmarked.
- Widest category
- None yet: no category has been tested on both models.
- Widest single gap
- None yet: no benchmark has tested both models.
- Output price
- Gemini 3.1 Pro Preview Custom Tools $12.00 against Gemma 3 4B $0.075 per million output tokens, 160.0x apart.
- Context window
- Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, Gemma 3 4B 131K.
Benchmark by benchmark
Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.
CodingDirectional onlySix of these boards feed the Vibe Coding Index6 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Coding Index | Not measured | 2.7 | Only Gemma 3 4B measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 11.2% | Only Gemma 3 4B measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 0.8% | Only Gemma 3 4B measured |
| LMArena Text: coding | Not measured | 1230 | Only Gemma 3 4B measured |
| LMArena Text: software and IT | Not measured | 1269 | Only Gemma 3 4B measured |
| SciCode | Not measured | 0.0% | Only Gemma 3 4B measured |
| Neither model has a result on the other 33 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 4.8 | Only Gemma 3 4B measured |
| Epoch Capabilities Index | Not measured | 115.9 | Only Gemma 3 4B measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 5.0% | Only Gemma 3 4B measured |
| Vending-Bench 2 | $3,774 | Not measured | Only Gemini 3.1 Pro Preview Custom Tools measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 19.6% | Only Gemma 3 4B measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | Not measured | 29.1% | Only Gemma 3 4B measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 5.3% | Only Gemma 3 4B measured |
| GPQA Diamond (Epoch AI run) | Not measured | 23.2% | Only Gemma 3 4B measured |
| LMArena Text: hard prompts | Not measured | 1253 | Only Gemma 3 4B measured |
| LMArena Text: expert | Not measured | 1223 | Only Gemma 3 4B measured |
| LMArena Text: hard prompts in English | Not measured | 1253 | Only Gemma 3 4B measured |
| Kagi LLM Benchmark | Not measured | 25.2% | Only Gemma 3 4B measured |
| Neither model has a result on the other 15 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 12.7 | Only Gemma 3 4B measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 12.7% | Only Gemma 3 4B measured |
| OTIS Mock AIME | Not measured | 7.5% | Only Gemma 3 4B measured |
| LMArena Text: math | Not measured | 1239 | Only Gemma 3 4B measured |
| LMArena Text: mathematical work | Not measured | 1256 | Only Gemma 3 4B measured |
| Neither model has a result on the other 8 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | Not measured | 41.7% | Only Gemma 3 4B measured |
| LMArena Text: science | Not measured | 1306 | Only Gemma 3 4B measured |
| LMArena Text: medicine and healthcare | Not measured | 1342 | Only Gemma 3 4B measured |
| LMArena Text: legal and government | Not measured | 1327 | Only Gemma 3 4B measured |
| LMArena Text: business and finance | Not measured | 1311 | Only Gemma 3 4B measured |
| Neither model has a result on the other 13 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index15 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Gemma 3 4B | Leader |
|---|---|---|---|
| IFBench | Not measured | 28.3% | Only Gemma 3 4B measured |
| Long context reasoning (AA-LCR) | Not measured | 6.7% | Only Gemma 3 4B measured |
| DTBench | Not measured | 50.9% | Only Gemma 3 4B measured |
| LMCA | Not measured | 2.8% | Only Gemma 3 4B measured |
| LMArena Text | Not measured | 1291 | Only Gemma 3 4B measured |
| LMArena Text: instruction following | Not measured | 1239 | Only Gemma 3 4B measured |
| LMArena Text: creative writing | Not measured | 1270 | Only Gemma 3 4B measured |
| LMArena Text: English | Not measured | 1300 | Only Gemma 3 4B measured |
| LMArena Text: non-English | Not measured | 1273 | Only Gemma 3 4B measured |
| LMArena Text: German | Not measured | 1281 | Only Gemma 3 4B measured |
| LMArena Text: Russian | Not measured | 1294 | Only Gemma 3 4B measured |
| LMArena Text: multi-turn | Not measured | 1255 | Only Gemma 3 4B measured |
| LMArena Text: longer queries | Not measured | 1273 | Only Gemma 3 4B measured |
| LMArena Text: writing and language | Not measured | 1288 | Only Gemma 3 4B measured |
| LMArena Text: entertainment and media | Not measured | 1233 | Only Gemma 3 4B measured |
| Neither model has a result on the other 31 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Gemma 3 4B costs less
Repository review
50K input + 3K output tokens
Gemma 3 4B costs less
Agent loop
200K input + 10K output tokens
Gemma 3 4B costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Google Gemini 3.1 Pro Preview Custom Tools | Google Gemma 3 4B |
|---|---|---|
| Maker | ||
| Weights | No public weights listed | Open weights |
| Released | February 25, 2026 | March 13, 2025 |
| Context window | 1.05M | 131K |
| Input $/Mtok | $2.00 | $0.045 |
| Output $/Mtok | $12.00 | $0.075 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview Custom Tools better than Gemma 3 4B for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 3.1 Pro Preview Custom Tools for a larger context window (1.05M against 131K tokens).
Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or Gemma 3 4B?
Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; Gemma 3 4B costs $0.045 and $0.075. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or Gemma 3 4B?
Gemini 3.1 Pro Preview Custom Tools, with 1.05M tokens against 131K.
Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and Gemma 3 4B?
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Gemma 3 4B on AA Coding Index, LiveCodeBench (Artificial Analysis run) and Terminal-Bench Hard (Artificial Analysis run). Compare them on price and context instead. Data as of October 22, 2026.