Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview Custom Tools vs GPT-4.1 Nano

GPT-4.1 Nano costs 30.0x less per output token than Gemini 3.1 Pro Preview Custom Tools ($0.40 vs $12.00 per million). Updated October 22, 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 NanoOpenAI
Coding
No data
Overall
24.7
Output $/M
$0.40
vs $12.00 vs $0.40 per 1M output tokens. GPT-4.1 Nano is 30.0x cheaper.

Gemini 3.1 Pro Preview Custom Tools or GPT-4.1 Nano: 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 Nano on Aider polyglot, AA Coding Index and LiveCodeBench (Vals AI). 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 Nano 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 Nano $0.40 per million output tokens, 30.0x apart.
Context window
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, GPT-4.1 Nano 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 Index8 boards measured
Coding benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
Aider polyglotNot measured8.9%Only GPT-4.1 Nano measured
AA Coding IndexNot measured11.1Only GPT-4.1 Nano measured
LiveCodeBench (Vals AI)Not measured42.7%Only GPT-4.1 Nano measured
LiveCodeBench (Artificial Analysis run)Not measured32.6%Only GPT-4.1 Nano measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only GPT-4.1 Nano measured
WeirdMLNot measured19.0%Only GPT-4.1 Nano measured
LMArena Text: codingNot measured1306Only GPT-4.1 Nano measured
LMArena Text: software and ITNot measured1305Only GPT-4.1 Nano measured
Neither model has a result on the other 31 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 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
AA Intelligence IndexNot measured7.8Only GPT-4.1 Nano measured
Epoch Capabilities IndexNot measured129.5Only GPT-4.1 Nano 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 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
τ²-Bench TelecomNot measured17.3%Only GPT-4.1 Nano measured
Vending-Bench 2$3,774Not measuredOnly Gemini 3.1 Pro Preview Custom Tools measured
Berkeley Function Calling Leaderboard (BFCL)Not measured33.1%Only GPT-4.1 Nano measured
Neither model has a result on the other 38 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index12 boards measured
Reasoning benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
GPQA DiamondNot measured50.8%Only GPT-4.1 Nano measured
MMMU Pro (Vals AI)Not measured55.0%Only GPT-4.1 Nano measured
GPQA Diamond (Artificial Analysis run)Not measured51.2%Only GPT-4.1 Nano measured
Humanity's Last Exam (Artificial Analysis run)Not measured3.8%Only GPT-4.1 Nano measured
GPQA Diamond (Epoch AI run)Not measured48.9%Only GPT-4.1 Nano measured
ARC-AGINot measured0.0%Only GPT-4.1 Nano measured
ARC-AGI-2Not measured0.0%Only GPT-4.1 Nano measured
Chess puzzlesNot measured0.0%Only GPT-4.1 Nano measured
LMArena Text: hard promptsNot measured1286Only GPT-4.1 Nano measured
LMArena Text: expertNot measured1271Only GPT-4.1 Nano measured
LMArena Text: hard prompts in EnglishNot measured1293Only GPT-4.1 Nano measured
Kagi LLM BenchmarkNot measured33.3%Only GPT-4.1 Nano measured
Neither model has a result on the other 10 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index9 boards measured
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
AIMENot measured26.5%Only GPT-4.1 Nano measured
MATH 500 (Vals AI)Not measured80.2%Only GPT-4.1 Nano measured
MGSM (Vals AI)Not measured69.3%Only GPT-4.1 Nano measured
AA Math IndexNot measured24.0Only GPT-4.1 Nano measured
AIME 2025 (Artificial Analysis run)Not measured24.0%Only GPT-4.1 Nano measured
OTIS Mock AIMENot measured28.9%Only GPT-4.1 Nano measured
MATH level 5Not measured70.0%Only GPT-4.1 Nano measured
LMArena Text: mathNot measured1274Only GPT-4.1 Nano measured
LMArena Text: mathematical workNot measured1274Only GPT-4.1 Nano measured
Neither model has a result on the other 4 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 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
MMLU ProNot measured63.5%Only GPT-4.1 Nano measured
LegalBench (Vals AI)Not measured61.1%Only GPT-4.1 Nano measured
CorpFin (Vals AI)Not measured42.1%Only GPT-4.1 Nano measured
TaxEval (Vals AI)Not measured60.8%Only GPT-4.1 Nano measured
MortgageTax (Vals AI)Not measured52.8%Only GPT-4.1 Nano measured
MedQA (Vals AI)Not measured68.2%Only GPT-4.1 Nano measured
MMLU Pro (Artificial Analysis run)Not measured65.7%Only GPT-4.1 Nano measured
SimpleQA VerifiedNot measured6.0%Only GPT-4.1 Nano measured
LMArena Text: scienceNot measured1297Only GPT-4.1 Nano measured
LMArena Text: medicine and healthcareNot measured1276Only GPT-4.1 Nano measured
LMArena Text: legal and governmentNot measured1300Only GPT-4.1 Nano measured
LMArena Text: business and financeNot measured1267Only GPT-4.1 Nano 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 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
Design Arena: websitesNot measured972Only GPT-4.1 Nano measured
Design Arena: UI componentsNot measured913Only GPT-4.1 Nano measured
Design Arena: game devNot measured970Only GPT-4.1 Nano measured
Design Arena: data vizNot measured891Only GPT-4.1 Nano measured
Design Arena: 3DNot measured924Only GPT-4.1 Nano measured
Design Arena: all code categoriesNot measured962Only GPT-4.1 Nano measured
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards measured
General benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4.1 Nano
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4.1 NanoLeader
IFBenchNot measured32.0%Only GPT-4.1 Nano measured
Long context reasoning (AA-LCR)Not measured20.3%Only GPT-4.1 Nano measured
DTBenchNot measured52.5%Only GPT-4.1 Nano measured
LMCANot measured5.5%Only GPT-4.1 Nano measured
Fiction.LiveBenchNot measured25.0%Only GPT-4.1 Nano measured
LMArena TextNot measured1285Only GPT-4.1 Nano measured
LMArena Text: instruction followingNot measured1266Only GPT-4.1 Nano measured
LMArena Text: creative writingNot measured1260Only GPT-4.1 Nano measured
LMArena VisionNot measured1063Only GPT-4.1 Nano measured
LMArena Text: EnglishNot measured1303Only GPT-4.1 Nano measured
LMArena Text: non-EnglishNot measured1260Only GPT-4.1 Nano measured
LMArena Text: ChineseNot measured1270Only GPT-4.1 Nano measured
LMArena Text: GermanNot measured1288Only GPT-4.1 Nano measured
LMArena Text: JapaneseNot measured1198Only GPT-4.1 Nano measured
LMArena Text: RussianNot measured1261Only GPT-4.1 Nano measured
LMArena Text: multi-turnNot measured1277Only GPT-4.1 Nano measured
LMArena Text: longer queriesNot measured1283Only GPT-4.1 Nano measured
LMArena Text: writing and languageNot measured1261Only GPT-4.1 Nano measured
LMArena Text: entertainment and mediaNot measured1243Only GPT-4.1 Nano measured
LMArena Vision: EnglishNot measured1101Only GPT-4.1 Nano measured
Neither model has a result on the other 26 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 Nano$0.0003Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
GPT-4.1 Nano$0.0062Fits in one request

GPT-4.1 Nano costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.520Fits in one request
GPT-4.1 Nano$0.024Fits in one request

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

Questions

Is Gemini 3.1 Pro Preview Custom Tools better than GPT-4.1 Nano 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 Nano?

Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or GPT-4.1 Nano?

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 Nano?

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GPT-4.1 Nano on Aider polyglot, AA Coding Index and LiveCodeBench (Vals AI). Compare them on price and context instead. Data as of October 22, 2026.

Compare next