Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview Custom Tools vs GPT-4o (2024-05-13)

Gemini 3.1 Pro Preview Custom Tools costs 1.3x less per output token than GPT-4o (2024-05-13) ($12.00 vs $15.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-4o (2024-05-13)OpenAI
Coding
No data
Overall
27.1
Output $/M
$15.00
vs $12.00 vs $15.00 per 1M output tokens. Gemini 3.1 Pro Preview Custom Tools is 1.3x cheaper.

Gemini 3.1 Pro Preview Custom Tools or GPT-4o (2024-05-13): 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 output tokens 1.3x cheaper ($12.00 vs $15.00 per million) and a larger context window (1.05M against 128K tokens).

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GPT-4o (2024-05-13) on AA Coding Index, LiveCodeBench (Artificial Analysis run) and LMArena Text: coding. 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-4o (2024-05-13) 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-4o (2024-05-13) $15.00 per million output tokens, 1.3x apart.
Context window
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, GPT-4o (2024-05-13) 128K.

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 Index4 boards measured
Coding benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
AA Coding IndexNot measured24.2Only GPT-4o (2024-05-13) measured
LiveCodeBench (Artificial Analysis run)Not measured33.4%Only GPT-4o (2024-05-13) measured
LMArena Text: codingNot measured1297Only GPT-4o (2024-05-13) measured
LMArena Text: software and ITNot measured1297Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 39 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
AA Intelligence IndexNot measured7.3Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 1 board here
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-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
METR time horizonsNot measured40.8%Only GPT-4o (2024-05-13) measured
BALROGNot measured32.3%Only GPT-4o (2024-05-13) measured
Vending-Bench 2$3,774Not measuredOnly Gemini 3.1 Pro Preview Custom Tools measured
Neither model has a result on the other 39 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Reasoning benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
GPQA DiamondNot measured50.2%Only GPT-4o (2024-05-13) measured
GPQA Diamond (Artificial Analysis run)Not measured52.6%Only GPT-4o (2024-05-13) measured
Humanity's Last Exam (Artificial Analysis run)Not measured1.8%Only GPT-4o (2024-05-13) measured
GPQA Diamond (Epoch AI run)Not measured48.9%Only GPT-4o (2024-05-13) measured
LMArena Text: hard promptsNot measured1281Only GPT-4o (2024-05-13) measured
LMArena Text: expertNot measured1250Only GPT-4o (2024-05-13) measured
LMArena Text: hard prompts in EnglishNot measured1293Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
OTIS Mock AIMENot measured6.3%Only GPT-4o (2024-05-13) measured
MATH level 5Not measured51.0%Only GPT-4o (2024-05-13) measured
LMArena Text: mathNot measured1284Only GPT-4o (2024-05-13) measured
LMArena Text: mathematical workNot measured1284Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 10 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Knowledge benchmarks for Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
MMLU Pro (Artificial Analysis run)Not measured74.0%Only GPT-4o (2024-05-13) measured
MMLUNot measured84.2%Only GPT-4o (2024-05-13) measured
LMArena Text: scienceNot measured1295Only GPT-4o (2024-05-13) measured
LMArena Text: medicine and healthcareNot measured1278Only GPT-4o (2024-05-13) measured
LMArena Text: legal and governmentNot measured1314Only GPT-4o (2024-05-13) measured
LMArena Text: business and financeNot measured1262Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 14 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-4o (2024-05-13)
BenchmarkGemini 3.1 Pro Preview Custom ToolsGPT-4o (2024-05-13)Leader
LMArena TextNot measured1300Only GPT-4o (2024-05-13) measured
LMArena Text: instruction followingNot measured1278Only GPT-4o (2024-05-13) measured
LMArena Text: creative writingNot measured1291Only GPT-4o (2024-05-13) measured
LMArena VisionNot measured1137Only GPT-4o (2024-05-13) measured
LMArena Text: EnglishNot measured1312Only GPT-4o (2024-05-13) measured
LMArena Text: non-EnglishNot measured1283Only GPT-4o (2024-05-13) measured
LMArena Text: ChineseNot measured1277Only GPT-4o (2024-05-13) measured
LMArena Text: GermanNot measured1283Only GPT-4o (2024-05-13) measured
LMArena Text: JapaneseNot measured1257Only GPT-4o (2024-05-13) measured
LMArena Text: KoreanNot measured1234Only GPT-4o (2024-05-13) measured
LMArena Text: FrenchNot measured1304Only GPT-4o (2024-05-13) measured
LMArena Text: SpanishNot measured1292Only GPT-4o (2024-05-13) measured
LMArena Text: RussianNot measured1285Only GPT-4o (2024-05-13) measured
LMArena Text: PolishNot measured1365Only GPT-4o (2024-05-13) measured
LMArena Text: multi-turnNot measured1302Only GPT-4o (2024-05-13) measured
LMArena Text: longer queriesNot measured1288Only GPT-4o (2024-05-13) measured
LMArena Text: writing and languageNot measured1298Only GPT-4o (2024-05-13) measured
LMArena Text: entertainment and mediaNot measured1289Only GPT-4o (2024-05-13) measured
LMArena Vision: EnglishNot measured1147Only GPT-4o (2024-05-13) measured
LMArena Vision: ChineseNot measured1132Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 28 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-4o (2024-05-13)$0.013Fits in one request

Gemini 3.1 Pro Preview Custom Tools costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
GPT-4o (2024-05-13)$0.295Fits in one request

Gemini 3.1 Pro Preview Custom Tools costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.520Fits in one request
GPT-4o (2024-05-13)$1.15Exceeds the context window

Gemini 3.1 Pro Preview Custom Tools 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-4o (2024-05-13)
SpecificationGoogle Gemini 3.1 Pro Preview Custom ToolsOpenAI GPT-4o (2024-05-13)
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 25, 2026May 13, 2024
Context window1.05M128K
Input $/Mtok$2.00$5.00
Output $/Mtok$12.00$15.00
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-4o (2024-05-13) 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 output tokens 1.3x cheaper ($12.00 vs $15.00 per million) and a larger context window (1.05M against 128K tokens).

Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or GPT-4o (2024-05-13)?

Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-4o (2024-05-13) costs $5.00 and $15.00. 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-4o (2024-05-13)?

Gemini 3.1 Pro Preview Custom Tools, with 1.05M tokens against 128K.

Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and GPT-4o (2024-05-13)?

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GPT-4o (2024-05-13) on AA Coding Index, LiveCodeBench (Artificial Analysis run) and LMArena Text: coding. Compare them on price and context instead. Data as of October 22, 2026.

Compare next