Enter opens the highlighted result. Esc closes.

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.

Gemini 3.1 Pro Preview Custom ToolsGoogle
Coding
No data
Overall
No data
Output $/M
$12.00
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
vs $12.00 vs $1.60 per 1M output tokens. GPT-4.1 Mini is 7.5x cheaper.

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.

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
Coding benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
AA Coding IndexNot measured20.2Only GPT-4.1 Mini measured
LiveCodeBench (Vals AI)Not measured58.2%Only GPT-4.1 Mini measured
LiveCodeBench (Artificial Analysis run)Not measured48.3%Only GPT-4.1 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured7.6%Only GPT-4.1 Mini measured
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
LMArena Text: codingNot measured1367Only GPT-4.1 Mini measured
LMArena Text: software and ITNot measured1360Only 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
Intelligence benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
AA Intelligence IndexNot measured10.2Only GPT-4.1 Mini measured
Epoch Capabilities IndexNot measured134.9Only GPT-4.1 Mini measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
Agentic work benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
τ²-Bench TelecomNot measured52.9%Only GPT-4.1 Mini measured
Vending-Bench 2$3,774Not measuredOnly Gemini 3.1 Pro Preview Custom Tools measured
Berkeley Function Calling Leaderboard (BFCL)Not measured50.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
Reasoning benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
GPQA DiamondNot measured67.9%Only GPT-4.1 Mini measured
MMMU Pro (Vals AI)Not measured70.5%Only GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)Not measured66.4%Only GPT-4.1 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured5.0%Only GPT-4.1 Mini measured
GPQA Diamond (Epoch AI run)Not measured65.8%Only GPT-4.1 Mini measured
ARC-AGINot measured3.5%Only GPT-4.1 Mini measured
ARC-AGI-2Not measured0.0%Only GPT-4.1 Mini measured
Chess puzzlesNot measured1.0%Only GPT-4.1 Mini measured
Mystery game puzzlesNot measured7.0%Only GPT-4.1 Mini measured
LMArena Text: hard promptsNot measured1349Only GPT-4.1 Mini measured
LMArena Text: expertNot measured1338Only GPT-4.1 Mini measured
LMArena Text: hard prompts in EnglishNot measured1362Only GPT-4.1 Mini measured
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM BenchmarkNot measured48.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
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
AIMENot measured49.4%Only GPT-4.1 Mini measured
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIMENot measured44.7%Only GPT-4.1 Mini measured
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: mathNot measured1343Only GPT-4.1 Mini measured
LMArena Text: mathematical workNot measured1347Only 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
Knowledge benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
MMLU ProNot measured77.2%Only GPT-4.1 Mini measured
LegalBench (Vals AI)Not measured78.0%Only GPT-4.1 Mini measured
CorpFin (Vals AI)Not measured57.9%Only GPT-4.1 Mini measured
TaxEval (Vals AI)Not measured71.9%Only GPT-4.1 Mini measured
MortgageTax (Vals AI)Not measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
LMArena Text: scienceNot measured1328Only GPT-4.1 Mini measured
LMArena Text: medicine and healthcareNot measured1324Only GPT-4.1 Mini measured
LMArena Text: legal and governmentNot measured1343Only GPT-4.1 Mini measured
LMArena Text: business and financeNot measured1322Only 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
Web design benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
Design Arena: websitesNot measured997Only GPT-4.1 Mini measured
Design Arena: UI componentsNot measured961Only GPT-4.1 Mini measured
Design Arena: game devNot measured1071Only GPT-4.1 Mini measured
Design Arena: data vizNot measured1034Only GPT-4.1 Mini measured
Design Arena: 3DNot measured837Only GPT-4.1 Mini measured
Design Arena: all code categoriesNot measured994Only 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
General benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 MiniLeader
IFBenchNot measured38.3%Only GPT-4.1 Mini measured
Long context reasoning (AA-LCR)Not measured44.0%Only GPT-4.1 Mini measured
DTBenchNot measured68.8%Only GPT-4.1 Mini measured
LMCANot measured21.1%Only GPT-4.1 Mini measured
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
LMArena TextNot measured1341Only GPT-4.1 Mini measured
LMArena Text: instruction followingNot measured1333Only GPT-4.1 Mini measured
LMArena Text: creative writingNot measured1299Only GPT-4.1 Mini measured
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: EnglishNot measured1356Only GPT-4.1 Mini measured
LMArena Text: non-EnglishNot measured1318Only GPT-4.1 Mini measured
LMArena Text: ChineseNot measured1329Only GPT-4.1 Mini measured
LMArena Text: GermanNot measured1350Only GPT-4.1 Mini measured
LMArena Text: JapaneseNot measured1290Only GPT-4.1 Mini measured
LMArena Text: KoreanNot measured1298Only GPT-4.1 Mini measured
LMArena Text: FrenchNot measured1358Only GPT-4.1 Mini measured
LMArena Text: SpanishNot measured1319Only GPT-4.1 Mini measured
LMArena Text: RussianNot measured1324Only GPT-4.1 Mini measured
LMArena Text: PolishNot measured1326Only GPT-4.1 Mini measured
LMArena Text: multi-turnNot measured1354Only GPT-4.1 Mini measured
LMArena Text: longer queriesNot measured1344Only GPT-4.1 Mini measured
LMArena Text: writing and languageNot measured1319Only GPT-4.1 Mini measured
LMArena Text: entertainment and mediaNot measured1300Only GPT-4.1 Mini measured
LMArena Vision: EnglishNot measured1191Only GPT-4.1 Mini measured
LMArena Vision: ChineseNot measured1186Only GPT-4.1 Mini measured
LMArena Vision: reading textNot measured1188Only GPT-4.1 Mini measured
LMArena Vision: humorNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writingNot measured1182Only 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

Gemini 3.1 Pro Preview Custom Tools$0.0080Fits in one request
GPT-4.1 Mini$0.0012Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
GPT-4.1 Mini$0.025Fits in one request

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.520Fits in one request
GPT-4.1 Mini$0.096Fits in one request

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.

Specifications of Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Mini
SpecificationGoogle Gemini 3.1 Pro Preview Custom ToolsOpenAI GPT-4.1 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 25, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$2.00$0.40
Output $/Mtok$12.00$1.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.818
SourceOpenRouter listingOpenRouter 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.

Compare next