Gemini 3.1 Pro Preview Custom Tools vs Llama 4 Maverick
Llama 4 Maverick costs 12.0x less per output token than Gemini 3.1 Pro Preview Custom Tools ($1.00 vs $12.00 per million). Updated October 21, 2026; no benchmark has tested both models yet.
- Coding
- No data
- Overall
- No data
- Output $/M
- $12.00
- Coding
- No data
- Overall
- 21.8
- Output $/M
- $1.00
Gemini 3.1 Pro Preview Custom Tools or Llama 4 Maverick: 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 524K tokens).
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Llama 4 Maverick on Aider polyglot, SWE-bench Verified and AA Coding Index. 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 Llama 4 Maverick has a AA Intelligence Index result, 9.3.
Directional only
Agentic work
AA Agentic Index
No call
Only Llama 4 Maverick has a AA Agentic Index result, 0.6.
Directional only
Reasoning
GPQA Diamond
No call
Only Llama 4 Maverick has a GPQA Diamond result, 69.4%.
Directional only
Math
AIME
No call
Only Llama 4 Maverick has a AIME result, 25.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Llama 4 Maverick has a MMLU Pro result, 79.4%.
Directional only
Web design
Design Arena: websites
No call
Only Llama 4 Maverick has a Design Arena: websites result, 871.
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 524K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Maverick
Gemini 3.1 Pro Preview Custom Tools $0.0080, Llama 4 Maverick $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Llama 4 Maverick has the number, $1.491.
Directional only
At a glance
- Coding index
- Gemini 3.1 Pro Preview Custom Tools not benchmarked, Llama 4 Maverick 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 Llama 4 Maverick $1.00 per million output tokens, 12.0x apart.
- Context window
- Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, Llama 4 Maverick 524K.
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 Index11 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 15.6% | Only Llama 4 Maverick measured |
| SWE-bench Verified | Not measured | 21.0% | Only Llama 4 Maverick measured |
| AA Coding Index | Not measured | 16.3 | Only Llama 4 Maverick measured |
| LiveCodeBench (Vals AI) | Not measured | 47.3% | Only Llama 4 Maverick measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 39.7% | Only Llama 4 Maverick measured |
| SciCode | Not measured | 31.7% | Only Llama 4 Maverick measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 6.8% | Only Llama 4 Maverick measured |
| WeirdML | Not measured | 24.5% | Only Llama 4 Maverick measured |
| ALE-Bench | Not measured | 173.0 | Only Llama 4 Maverick measured |
| LMArena Text: coding | Not measured | 1301 | Only Llama 4 Maverick measured |
| LMArena Text: software and IT | Not measured | 1299 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 28 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 9.3 | Only Llama 4 Maverick measured |
| Epoch Capabilities Index | Not measured | 132.2 | Only Llama 4 Maverick measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.6 | Only Llama 4 Maverick measured |
| τ²-Bench Telecom | Not measured | 17.8% | Only Llama 4 Maverick measured |
| Vending-Bench 2 | $3,774 | Not measured | Only Gemini 3.1 Pro Preview Custom Tools measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index13 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 69.4% | Only Llama 4 Maverick measured |
| MMMU Pro (Vals AI) | Not measured | 71.7% | Only Llama 4 Maverick measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 67.1% | Only Llama 4 Maverick measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 4.9% | Only Llama 4 Maverick measured |
| ARC-AGI | Not measured | 4.4% | Only Llama 4 Maverick measured |
| ARC-AGI-2 | Not measured | 0.0% | Only Llama 4 Maverick measured |
| SimpleBench | Not measured | 27.7% | Only Llama 4 Maverick measured |
| LMArena Text: hard prompts | Not measured | 1281 | Only Llama 4 Maverick measured |
| LMArena Text: expert | Not measured | 1259 | Only Llama 4 Maverick measured |
| LMArena Text: hard prompts in English | Not measured | 1295 | Only Llama 4 Maverick measured |
| LMArena Vision: diagrams | Not measured | 1134 | Only Llama 4 Maverick measured |
| LMArena Vision: homework | Not measured | 1164 | Only Llama 4 Maverick measured |
| Kagi LLM Benchmark | Not measured | 55.9% | Only Llama 4 Maverick measured |
| Neither model has a result on the other 9 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| AIME | Not measured | 25.2% | Only Llama 4 Maverick measured |
| MATH 500 (Vals AI) | Not measured | 85.2% | Only Llama 4 Maverick measured |
| MGSM (Vals AI) | Not measured | 92.4% | Only Llama 4 Maverick measured |
| AA Math Index | Not measured | 19.3 | Only Llama 4 Maverick measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 19.3% | Only Llama 4 Maverick measured |
| LMArena Text: math | Not measured | 1299 | Only Llama 4 Maverick measured |
| LMArena Text: mathematical work | Not measured | 1295 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index13 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 79.4% | Only Llama 4 Maverick measured |
| LegalBench (Vals AI) | Not measured | 77.8% | Only Llama 4 Maverick measured |
| CorpFin (Vals AI) | Not measured | 49.7% | Only Llama 4 Maverick measured |
| TaxEval (Vals AI) | Not measured | 66.6% | Only Llama 4 Maverick measured |
| MortgageTax (Vals AI) | Not measured | 58.5% | Only Llama 4 Maverick measured |
| MedQA (Vals AI) | Not measured | 43.3% | Only Llama 4 Maverick measured |
| MedCode (Vals AI) | Not measured | 36.5% | Only Llama 4 Maverick measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 80.9% | Only Llama 4 Maverick measured |
| GeoBench | Not measured | 52.0% | Only Llama 4 Maverick measured |
| LMArena Text: science | Not measured | 1288 | Only Llama 4 Maverick measured |
| LMArena Text: medicine and healthcare | Not measured | 1275 | Only Llama 4 Maverick measured |
| LMArena Text: legal and government | Not measured | 1286 | Only Llama 4 Maverick measured |
| LMArena Text: business and finance | Not measured | 1260 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 871 | Only Llama 4 Maverick measured |
| Design Arena: UI components | Not measured | 899 | Only Llama 4 Maverick measured |
| Design Arena: game dev | Not measured | 838 | Only Llama 4 Maverick measured |
| Design Arena: data viz | Not measured | 882 | Only Llama 4 Maverick measured |
| Design Arena: 3D | Not measured | 901 | Only Llama 4 Maverick measured |
| Design Arena: all code categories | Not measured | 880 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 3 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index31 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Llama 4 Maverick | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 35.7% | Only Llama 4 Maverick measured |
| MedScribe (Vals AI) | Not measured | 54.2% | Only Llama 4 Maverick measured |
| IFBench | Not measured | 43.0% | Only Llama 4 Maverick measured |
| Long context reasoning (AA-LCR) | Not measured | 50.0% | Only Llama 4 Maverick measured |
| DTBench | Not measured | 61.9% | Only Llama 4 Maverick measured |
| LMCA | Not measured | 15.9% | Only Llama 4 Maverick measured |
| Fiction.LiveBench | Not measured | 46.2% | Only Llama 4 Maverick measured |
| Creative writing (Lech Mazur) | Not measured | 62.0% | Only Llama 4 Maverick measured |
| LMArena Text | Not measured | 1287 | Only Llama 4 Maverick measured |
| LMArena Text: instruction following | Not measured | 1267 | Only Llama 4 Maverick measured |
| LMArena Text: creative writing | Not measured | 1266 | Only Llama 4 Maverick measured |
| LMArena Vision | Not measured | 1142 | Only Llama 4 Maverick measured |
| LMArena Text: English | Not measured | 1303 | Only Llama 4 Maverick measured |
| LMArena Text: non-English | Not measured | 1269 | Only Llama 4 Maverick measured |
| LMArena Text: Chinese | Not measured | 1277 | Only Llama 4 Maverick measured |
| LMArena Text: German | Not measured | 1291 | Only Llama 4 Maverick measured |
| LMArena Text: Japanese | Not measured | 1206 | Only Llama 4 Maverick measured |
| LMArena Text: Korean | Not measured | 1203 | Only Llama 4 Maverick measured |
| LMArena Text: French | Not measured | 1259 | Only Llama 4 Maverick measured |
| LMArena Text: Spanish | Not measured | 1293 | Only Llama 4 Maverick measured |
| LMArena Text: Russian | Not measured | 1286 | Only Llama 4 Maverick measured |
| LMArena Text: Polish | Not measured | 1275 | Only Llama 4 Maverick measured |
| LMArena Text: multi-turn | Not measured | 1289 | Only Llama 4 Maverick measured |
| LMArena Text: longer queries | Not measured | 1280 | Only Llama 4 Maverick measured |
| LMArena Text: writing and language | Not measured | 1277 | Only Llama 4 Maverick measured |
| LMArena Text: entertainment and media | Not measured | 1250 | Only Llama 4 Maverick measured |
| LMArena Vision: English | Not measured | 1150 | Only Llama 4 Maverick measured |
| LMArena Vision: Chinese | Not measured | 1141 | Only Llama 4 Maverick measured |
| LMArena Vision: reading text | Not measured | 1143 | Only Llama 4 Maverick measured |
| LMArena Vision: humor | Not measured | 1100 | Only Llama 4 Maverick measured |
| LMArena Vision: creative writing | Not measured | 1099 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 15 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
Llama 4 Maverick costs less
Repository review
50K input + 3K output tokens
Llama 4 Maverick costs less
Agent loop
200K input + 10K output tokens
Llama 4 Maverick 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 | Meta Llama 4 Maverick |
|---|---|---|
| Maker | Meta Llama | |
| Weights | No public weights listed | Open weights |
| Released | February 25, 2026 | April 5, 2025 |
| Context window | 1.05M | 524K |
| Input $/Mtok | $2.00 | $0.35 |
| Output $/Mtok | $12.00 | $1.00 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | $1.491 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview Custom Tools better than Llama 4 Maverick 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 524K tokens).
Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or Llama 4 Maverick?
Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Cost per solved task is known for Llama 4 Maverick only.
Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or Llama 4 Maverick?
Gemini 3.1 Pro Preview Custom Tools, with 1.05M tokens against 524K.
Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and Llama 4 Maverick?
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Llama 4 Maverick on Aider polyglot, SWE-bench Verified and AA Coding Index. Compare them on price and context instead. Data as of October 21, 2026.