LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GLM 5V Turbo

Updated October 21, 2026. 65 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 3.1 Pro PreviewGoogle
Coding
35.3
Overall
29.7
Output $/M
$12.00
59
GLM 5V TurboZ.ai
Coding
28.8
Overall
23.5
Output $/M
$4.00
6
vs boards won of 65 shared

Decision reading

Pick Gemini 3.1 Pro Preview for coding: it scores 35.3 on the Vibe Coding Index against 28.8 for GLM 5V Turbo.

Pick GLM 5V Turbo when output tokens cost 3.0x less, or when what matters is Design Arena: agents building full-stack apps or Design Arena: agents building mobile apps, where it leads.

Shared results
65
Gemini 3.1 Pro Preview only
66
GLM 5V Turbo only
0
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 35.3 from 1 benchmark, GLM 5V Turbo 28.8 from 1 benchmark.
Widest category
Coding, 10.8 points apart on average over 7 shared benchmarks.
Widest single gap
Design Arena: agents building Godot games: Gemini 3.1 Pro Preview 1236 against GLM 5V Turbo 957, 34.9 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GLM 5V Turbo $4.00 per million output tokens, 3.0x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, GLM 5V Turbo 203K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGemini 3.1 Pro PreviewBarsGLM 5V TurboTies
Coding70
Intelligence10
Agentic work45
Reasoning70
Math20
Knowledge40
Web design71
General270
All shared boards596
CodingLike-for-likeFour of these boards feed the Vibe Coding Index70
Coding benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
LMArena WebDev14471402Gemini 3.1 Pro Preview
AA Coding Index68.8Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)88.5%Not measuredOnly Gemini 3.1 Pro Preview measured
SWE-bench Verified (Vals AI)78.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench (Vals AI)32.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Code migration (Vals AI)17.3%Not measuredOnly Gemini 3.1 Pro Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
SciCode58.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench Hard (Artificial Analysis run)53.8%32.6%Gemini 3.1 Pro Preview
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%Not measuredOnly Gemini 3.1 Pro Preview measured
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: coding14841466Gemini 3.1 Pro Preview
LMArena Text: software and IT14871460Gemini 3.1 Pro Preview
LMArena WebDev: React14381386Gemini 3.1 Pro Preview
LMArena WebDev: HTML14901356Gemini 3.1 Pro Preview
LMArena WebDev: from an image14811425Gemini 3.1 Pro Preview
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
AA Intelligence Index29.723.5Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index45
Agentic work benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps11251124Gemini 3.1 Pro Preview
Design Arena: agents building full-stack apps10681149GLM 5V Turbo
Design Arena: agents building mobile apps10941134GLM 5V Turbo
Design Arena: agents building Android apps10551267GLM 5V Turbo
Design Arena: agents building Godot games1236957Gemini 3.1 Pro Preview
Design Arena: agents building games11141102Gemini 3.1 Pro Preview
Design Arena: HTML slides11531120Gemini 3.1 Pro Preview
Design Arena: PowerPoint slides10641152GLM 5V Turbo
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Tax Agent Bench (Vals AI)9.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Legal Research Bench (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Excel Modeling Benchmark (Vals AI)52.6%Not measuredOnly Gemini 3.1 Pro Preview measured
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%98.5%GLM 5V Turbo
APEX-Agents35.1%Not measuredOnly Gemini 3.1 Pro Preview measured
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
DeepResearch Bench47.8%Not measuredOnly Gemini 3.1 Pro Preview measured
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 15 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
GPQA Diamond95.5%Not measuredOnly Gemini 3.1 Pro Preview measured
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GPQA Diamond (Artificial Analysis run)94.1%80.9%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%17.1%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%Not measuredOnly Gemini 3.1 Pro Preview measured
ARC-AGI98.0%Not measuredOnly Gemini 3.1 Pro Preview measured
ARC-AGI-277.1%Not measuredOnly Gemini 3.1 Pro Preview measured
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Mystery game puzzles34.0%Not measuredOnly Gemini 3.1 Pro Preview measured
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851443Gemini 3.1 Pro Preview
LMArena Text: expert14831453Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801456Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111286Gemini 3.1 Pro Preview
LMArena Vision: homework13161273Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierMath, tiers 1 to 359.6%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.1 Pro Preview measured
ProofBench26.0%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: math14861442Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781447Gemini 3.1 Pro Preview
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
MMLU Pro91.0%Not measuredOnly Gemini 3.1 Pro Preview measured
LegalBench (Vals AI)87.4%Not measuredOnly Gemini 3.1 Pro Preview measured
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%Not measuredOnly Gemini 3.1 Pro Preview measured
TaxEval (Vals AI)72.9%Not measuredOnly Gemini 3.1 Pro Preview measured
MortgageTax (Vals AI)69.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%Not measuredOnly Gemini 3.1 Pro Preview measured
SimpleQA Verified73.5%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: science14971448Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861433Gemini 3.1 Pro Preview
LMArena Text: legal and government14871436Gemini 3.1 Pro Preview
LMArena Text: business and finance14591435Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index71
Web design benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
Design Arena: websites12341230Gemini 3.1 Pro Preview
Design Arena: UI components12261213Gemini 3.1 Pro Preview
Design Arena: game dev12031219GLM 5V Turbo
Design Arena: data viz12091202Gemini 3.1 Pro Preview
Design Arena: 3D12341209Gemini 3.1 Pro Preview
Design Arena: all code categories12311228Gemini 3.1 Pro Preview
Design Arena: SVG12851151Gemini 3.1 Pro Preview
Design Arena: ASCII art12701118Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index270
General benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MedScribe (Vals AI)76.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%61.1%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%70.3%Gemini 3.1 Pro Preview
DTBench97.1%Not measuredOnly Gemini 3.1 Pro Preview measured
LMCA53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%Not measuredOnly Gemini 3.1 Pro Preview measured
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801437Gemini 3.1 Pro Preview
LMArena Text: instruction following14661423Gemini 3.1 Pro Preview
LMArena Text: creative writing14821417Gemini 3.1 Pro Preview
LMArena Vision12961264Gemini 3.1 Pro Preview
LMArena Text: English14781454Gemini 3.1 Pro Preview
LMArena Text: non-English14761420Gemini 3.1 Pro Preview
LMArena Text: Chinese15271491Gemini 3.1 Pro Preview
LMArena Text: German14901422Gemini 3.1 Pro Preview
LMArena Text: Japanese1491Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: Korean14551397Gemini 3.1 Pro Preview
LMArena Text: French14871443Gemini 3.1 Pro Preview
LMArena Text: Spanish14811452Gemini 3.1 Pro Preview
LMArena Text: Russian14971432Gemini 3.1 Pro Preview
LMArena Text: Polish14981432Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871431Gemini 3.1 Pro Preview
LMArena Text: longer queries14821438Gemini 3.1 Pro Preview
LMArena Text: writing and language14811420Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651407Gemini 3.1 Pro Preview
LMArena Vision: English12871274Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641329Gemini 3.1 Pro Preview
LMArena Vision: reading text13041270Gemini 3.1 Pro Preview
LMArena Vision: humor13221268Gemini 3.1 Pro Preview
LMArena Vision: captioning13451264Gemini 3.1 Pro Preview
LMArena Vision: recognizing things13301241Gemini 3.1 Pro Preview
LMArena Vision: creative writing13241252Gemini 3.1 Pro Preview
LMArena Document14441416Gemini 3.1 Pro Preview
Neither model has a result on the other 8 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Pro Preview and GLM 5V Turbo
BenchmarkGemini 3.1 Pro PreviewGLM 5V TurboLeader
Neither model has a result on 5 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$0.0080Fits in one request
GLM 5V Turbo$0.0032Fits in one request

GLM 5V Turbo costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GLM 5V Turbo$0.072Fits in one request

GLM 5V Turbo costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GLM 5V Turbo$0.280Exceeds the context window

GLM 5V Turbo 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 and GLM 5V Turbo
SpecificationGoogle Gemini 3.1 Pro PreviewZ.ai GLM 5V Turbo
MakerGoogleZ.ai
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026April 1, 2026
Context window1.05M203K
Input $/Mtok$2.00$1.20
Output $/Mtok$12.00$4.00
Coding index35.328.8
Independent measurements behind it11
Cost per solved task$0.99Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than GLM 5V Turbo for coding?

Pick Gemini 3.1 Pro Preview for coding: it scores 35.3 on the Vibe Coding Index against 28.8 for GLM 5V Turbo. Pick GLM 5V Turbo when output tokens cost 3.0x less, or when what matters is Design Arena: agents building full-stack apps or Design Arena: agents building mobile apps, where it leads.

Which is cheaper, Gemini 3.1 Pro Preview or GLM 5V Turbo?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 5V Turbo costs $1.20 and $4.00. Cost per solved task is known for Gemini 3.1 Pro Preview only.

Which has the bigger context window, Gemini 3.1 Pro Preview or GLM 5V Turbo?

Gemini 3.1 Pro Preview, with 1.05M tokens against 203K.

How many benchmarks is the Gemini 3.1 Pro Preview vs GLM 5V Turbo comparison based on?

65 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and GLM 5V Turbo's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next