Gemini 3.1 Pro Preview Custom Tools vs GPT-4.1 Mini
GPT-4.1 Mini costs 7.5x less per output token than Gemini 3.1 Pro Preview Custom Tools ($1.60 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
- 31.9
- Output $/M
- $1.60
Gemini 3.1 Pro Preview Custom Tools or GPT-4.1 Mini: 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 1.05M tokens).
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GPT-4.1 Mini 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 GPT-4.1 Mini has a AA Intelligence Index result, 10.2.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-4.1 Mini has a GPQA Diamond result, 67.9%.
Directional only
Math
AIME
No call
Only GPT-4.1 Mini has a AIME result, 49.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4.1 Mini has a MMLU Pro result, 77.2%.
Directional only
Web design
Design Arena: websites
No call
Only GPT-4.1 Mini has a Design Arena: websites result, 997.
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 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1 Mini
Gemini 3.1 Pro Preview Custom Tools $0.0080, GPT-4.1 Mini $0.0012 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-4.1 Mini has the number, $1.818.
Directional only
At a glance
- Coding index
- Gemini 3.1 Pro Preview Custom Tools not benchmarked, GPT-4.1 Mini 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 GPT-4.1 Mini $1.60 per million output tokens, 7.5x apart.
- Context window
- Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, GPT-4.1 Mini 1.05M.
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 Index9 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 32.4% | Only GPT-4.1 Mini measured |
| SWE-bench Verified | Not measured | 23.9% | Only GPT-4.1 Mini measured |
| AA Coding Index | Not measured | 20.2 | Only GPT-4.1 Mini measured |
| LiveCodeBench (Vals AI) | Not measured | 58.2% | Only GPT-4.1 Mini measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 48.3% | Only GPT-4.1 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 7.6% | Only GPT-4.1 Mini measured |
| WeirdML | Not measured | 37.6% | Only GPT-4.1 Mini measured |
| LMArena Text: coding | Not measured | 1367 | Only GPT-4.1 Mini measured |
| LMArena Text: software and IT | Not measured | 1360 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 30 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 10.2 | Only GPT-4.1 Mini measured |
| Epoch Capabilities Index | Not measured | 134.9 | Only GPT-4.1 Mini measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 52.9% | Only GPT-4.1 Mini measured |
| Vending-Bench 2 | $3,774 | Not measured | Only Gemini 3.1 Pro Preview Custom Tools measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 50.4% | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index15 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 67.9% | Only GPT-4.1 Mini measured |
| MMMU Pro (Vals AI) | Not measured | 70.5% | Only GPT-4.1 Mini measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 66.4% | Only GPT-4.1 Mini measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 5.0% | Only GPT-4.1 Mini measured |
| GPQA Diamond (Epoch AI run) | Not measured | 65.8% | Only GPT-4.1 Mini measured |
| ARC-AGI | Not measured | 3.5% | Only GPT-4.1 Mini measured |
| ARC-AGI-2 | Not measured | 0.0% | Only GPT-4.1 Mini measured |
| Chess puzzles | Not measured | 1.0% | Only GPT-4.1 Mini measured |
| Mystery game puzzles | Not measured | 7.0% | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts | Not measured | 1349 | Only GPT-4.1 Mini measured |
| LMArena Text: expert | Not measured | 1338 | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts in English | Not measured | 1362 | Only GPT-4.1 Mini measured |
| LMArena Vision: diagrams | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: homework | Not measured | 1214 | Only GPT-4.1 Mini measured |
| Kagi LLM Benchmark | Not measured | 48.6% | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 7 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index10 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 49.4% | Only GPT-4.1 Mini measured |
| MATH 500 (Vals AI) | Not measured | 88.0% | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | Not measured | 87.8% | Only GPT-4.1 Mini measured |
| AA Math Index | Not measured | 46.3 | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 46.3% | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | Not measured | 44.7% | Only GPT-4.1 Mini measured |
| FrontierMath, tiers 1 to 3 | Not measured | 6.7% | Only GPT-4.1 Mini measured |
| MATH level 5 | Not measured | 87.3% | Only GPT-4.1 Mini measured |
| LMArena Text: math | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: mathematical work | Not measured | 1347 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 3 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 77.2% | Only GPT-4.1 Mini measured |
| LegalBench (Vals AI) | Not measured | 78.0% | Only GPT-4.1 Mini measured |
| CorpFin (Vals AI) | Not measured | 57.9% | Only GPT-4.1 Mini measured |
| TaxEval (Vals AI) | Not measured | 71.9% | Only GPT-4.1 Mini measured |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-4.1 Mini measured |
| MedQA (Vals AI) | Not measured | 84.6% | Only GPT-4.1 Mini measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 78.1% | Only GPT-4.1 Mini measured |
| SimpleQA Verified | Not measured | 12.7% | Only GPT-4.1 Mini measured |
| LMArena Text: science | Not measured | 1328 | Only GPT-4.1 Mini measured |
| LMArena Text: medicine and healthcare | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: legal and government | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: business and finance | Not measured | 1322 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 997 | Only GPT-4.1 Mini measured |
| Design Arena: UI components | Not measured | 961 | Only GPT-4.1 Mini measured |
| Design Arena: game dev | Not measured | 1071 | Only GPT-4.1 Mini measured |
| Design Arena: data viz | Not measured | 1034 | Only GPT-4.1 Mini measured |
| Design Arena: 3D | Not measured | 837 | Only GPT-4.1 Mini measured |
| Design Arena: all code categories | Not measured | 994 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 3 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index30 boards measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | GPT-4.1 Mini | Leader |
|---|---|---|---|
| IFBench | Not measured | 38.3% | Only GPT-4.1 Mini measured |
| Long context reasoning (AA-LCR) | Not measured | 44.0% | Only GPT-4.1 Mini measured |
| DTBench | Not measured | 68.8% | Only GPT-4.1 Mini measured |
| LMCA | Not measured | 21.1% | Only GPT-4.1 Mini measured |
| Fiction.LiveBench | Not measured | 44.4% | Only GPT-4.1 Mini measured |
| LMArena Text | Not measured | 1341 | Only GPT-4.1 Mini measured |
| LMArena Text: instruction following | Not measured | 1333 | Only GPT-4.1 Mini measured |
| LMArena Text: creative writing | Not measured | 1299 | Only GPT-4.1 Mini measured |
| LMArena Vision | Not measured | 1181 | Only GPT-4.1 Mini measured |
| LMArena Text: English | Not measured | 1356 | Only GPT-4.1 Mini measured |
| LMArena Text: non-English | Not measured | 1318 | Only GPT-4.1 Mini measured |
| LMArena Text: Chinese | Not measured | 1329 | Only GPT-4.1 Mini measured |
| LMArena Text: German | Not measured | 1350 | Only GPT-4.1 Mini measured |
| LMArena Text: Japanese | Not measured | 1290 | Only GPT-4.1 Mini measured |
| LMArena Text: Korean | Not measured | 1298 | Only GPT-4.1 Mini measured |
| LMArena Text: French | Not measured | 1358 | Only GPT-4.1 Mini measured |
| LMArena Text: Spanish | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: Russian | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: Polish | Not measured | 1326 | Only GPT-4.1 Mini measured |
| LMArena Text: multi-turn | Not measured | 1354 | Only GPT-4.1 Mini measured |
| LMArena Text: longer queries | Not measured | 1344 | Only GPT-4.1 Mini measured |
| LMArena Text: writing and language | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: entertainment and media | Not measured | 1300 | Only GPT-4.1 Mini measured |
| LMArena Vision: English | Not measured | 1191 | Only GPT-4.1 Mini measured |
| LMArena Vision: Chinese | Not measured | 1186 | Only GPT-4.1 Mini measured |
| LMArena Vision: reading text | Not measured | 1188 | Only GPT-4.1 Mini measured |
| LMArena Vision: humor | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: captioning | Not measured | 1174 | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1187 | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | Not measured | 1182 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 16 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
GPT-4.1 Mini costs less
Repository review
50K input + 3K output tokens
GPT-4.1 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-4.1 Mini 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 | OpenAI GPT-4.1 Mini |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | February 25, 2026 | April 14, 2025 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $2.00 | $0.40 |
| Output $/Mtok | $12.00 | $1.60 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | $1.818 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview Custom Tools better than GPT-4.1 Mini 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 1.05M tokens).
Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or GPT-4.1 Mini?
Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Cost per solved task is known for GPT-4.1 Mini only.
Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or GPT-4.1 Mini?
Gemini 3.1 Pro Preview Custom Tools, with 1.05M tokens against 1.05M.
Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini?
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GPT-4.1 Mini on Aider polyglot, SWE-bench Verified and AA Coding Index. Compare them on price and context instead. Data as of October 21, 2026.