AiCostCompare

Gemini 3.1 Pro Preview

by Google · google/gemini-3.1-pro-preview · #274 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol

Pricing

Input

$2.00

per 1M tokens

Output

$12.00

per 1M tokens

Blended (3:1)

$4.50

3 input : 1 output

Cache read

$0.20

per 1M cached tokens

Cache write

$0.375

per 1M tokens

Cache & batch economics

Effective prices for Gemini 3.1 Pro Preview with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$4.50$0.216
50%$3.83$0.126−42%
90%$3.29$0.054−75%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.0046$4.60
Document summary8,0001,000$0.028$28.00
Codebase question (RAG)30,0002,000$0.084$84.00
Long-context analysis150,0005,000$0.36$360.00

Performance

Intelligence Index

46.5

AA composite quality

Coding Index

68.8

Math Index

Agentic Index

21.4

Output speed

135 tok/s

median

Time to first token

19.70s

median

Time to first answer

19.70s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
GPQA Diamond94.1%
Humanity's Last Exam44.7%
SciCode58.9%
IFBench77.1%
AA-LCR (Long Context Reasoning)72.7%
Terminal-Bench Hard53.8%
Terminal-Bench 2.173.8%
τ²-Bench (Telecom)95.6%
τ³-Bench Banking16.5%

Design Arena Elo

CategoryElo
Website1,278
Web apps1,182
Full-stack1,127
Mobile apps1,167
Android native1,038
UI components1,309
Data viz1,262
SVG1,334
3D1,291
Game dev1,258
Agentic game dev1,128
Godot game dev1,159
HTML slides1,202
PPTX slides1,110
Python→PPTX slides1,109
Agentic slides1,112
Agentic HTML slides1,226
Agentic slides (HTML)1,219
Agentic slides (Python PPTX)1,107
Code categories1,274
ASCII art1,312

Specs

Context window

1.05M

tokens

Max output

66K

tokens

Input modalities

audio, file, image, text, video

Tokenizer

Gemini