Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview Custom Tools vs GLM 5

Updated October 21, 2026. 1 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 Preview Custom ToolsGoogle
Coding
No data
Overall
No data
Output $/M
$12.00
0
GLM 5Z.ai
Coding
41.7
Overall
27.9
Output $/M
$3.20
1
vs boards won of 1 shared

Decision reading

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Gemini 3.1 Pro Preview Custom Tools has none, so the two cannot be ranked on coding.

Gemini 3.1 Pro Preview Custom Tools has the edge where the context window is larger, 1.05M against 205K tokens.

Shared results
1
Gemini 3.1 Pro Preview Custom Tools only
0
GLM 5 only
74
Like-for-like categories
1 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 Custom Tools not benchmarked, GLM 5 41.7 from 3 benchmarks.
Widest category
Agentic work, 4.1 points apart on average over 1 shared benchmark.
Widest single gap
Vending-Bench 2: Gemini 3.1 Pro Preview Custom Tools $3,774 against GLM 5 $4,432, 4.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview Custom Tools $12.00 against GLM 5 $3.20 per million output tokens, 3.8x apart.
Context window
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, GLM 5 205K.

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 Preview Custom ToolsBarsGLM 5Ties
Agentic work01
All shared boards01
CodingDirectional onlySix of these boards feed the Vibe Coding Index14 boards, none shared
Coding benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
SWE-bench VerifiedNot measured72.8%Only GLM 5 measured
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LMArena WebDevNot measured1435Only GLM 5 measured
LiveCodeBench (Vals AI)Not measured81.9%Only GLM 5 measured
SWE-bench Verified (Vals AI)Not measured71.4%Only GLM 5 measured
Vibe Code Bench (Vals AI)Not measured23.4%Only GLM 5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5 measured
Terminal-BenchNot measured52.4%Only GLM 5 measured
WeirdMLNot measured48.2%Only GLM 5 measured
ALE-BenchNot measured765.6Only GLM 5 measured
LMArena Text: codingNot measured1461Only GLM 5 measured
LMArena Text: software and ITNot measured1460Only GLM 5 measured
LMArena WebDev: ReactNot measured1424Only GLM 5 measured
LMArena WebDev: HTMLNot measured1450Only GLM 5 measured
Neither model has a result on the other 24 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
AA Intelligence IndexNot measured27.9Only GLM 5 measured
Epoch Capabilities IndexNot measured145.8Only GLM 5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
Design Arena: agents building full-stack appsNot measured1123Only GLM 5 measured
Design Arena: agents building mobile appsNot measured1136Only GLM 5 measured
Design Arena: agents building Android appsNot measured1153Only GLM 5 measured
Design Arena: agents building Godot gamesNot measured1144Only GLM 5 measured
Design Arena: HTML slidesNot measured1148Only GLM 5 measured
τ²-Bench TelecomNot measured98.2%Only GLM 5 measured
Vending-Bench 2$3,774$4,432GLM 5
Neither model has a result on the other 32 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Reasoning benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
GPQA DiamondNot measured83.3%Only GLM 5 measured
GPQA Diamond (Artificial Analysis run)Not measured82.0%Only GLM 5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured29.3%Only GLM 5 measured
GPQA Diamond (Epoch AI run)Not measured87.8%Only GLM 5 measured
ARC-AGINot measured44.7%Only GLM 5 measured
ARC-AGI-2Not measured4.9%Only GLM 5 measured
SimpleBenchNot measured53.2%Only GLM 5 measured
LMArena Text: hard promptsNot measured1452Only GLM 5 measured
LMArena Text: expertNot measured1454Only GLM 5 measured
LMArena Text: hard prompts in EnglishNot measured1460Only GLM 5 measured
Neither model has a result on the other 11 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
AIMENot measured91.7%Only GLM 5 measured
OTIS Mock AIMENot measured80.0%Only GLM 5 measured
LMArena Text: mathNot measured1440Only GLM 5 measured
LMArena Text: mathematical workNot measured1451Only GLM 5 measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Knowledge benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
MMLU ProNot measured86.0%Only GLM 5 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5 measured
CaseLaw (Vals AI)Not measured52.5%Only GLM 5 measured
CorpFin (Vals AI)Not measured62.9%Only GLM 5 measured
TaxEval (Vals AI)Not measured70.0%Only GLM 5 measured
MedQA (Vals AI)Not measured94.3%Only GLM 5 measured
LMArena Text: scienceNot measured1460Only GLM 5 measured
LMArena Text: medicine and healthcareNot measured1455Only GLM 5 measured
LMArena Text: legal and governmentNot measured1453Only GLM 5 measured
LMArena Text: business and financeNot measured1430Only GLM 5 measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
Design Arena: websitesNot measured1247Only GLM 5 measured
Design Arena: UI componentsNot measured1230Only GLM 5 measured
Design Arena: game devNot measured1234Only GLM 5 measured
Design Arena: data vizNot measured1228Only GLM 5 measured
Design Arena: 3DNot measured1229Only GLM 5 measured
Design Arena: all code categoriesNot measured1246Only GLM 5 measured
Design Arena: SVGNot measured1168Only GLM 5 measured
Design Arena: ASCII artNot measured1146Only GLM 5 measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards, none shared
General benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
IFBenchNot measured72.3%Only GLM 5 measured
Long context reasoning (AA-LCR)Not measured75.7%Only GLM 5 measured
CL-benchNot measured18.7%Only GLM 5 measured
LMArena TextNot measured1446Only GLM 5 measured
LMArena Text: instruction followingNot measured1428Only GLM 5 measured
LMArena Text: creative writingNot measured1438Only GLM 5 measured
LMArena Text: EnglishNot measured1458Only GLM 5 measured
LMArena Text: non-EnglishNot measured1430Only GLM 5 measured
LMArena Text: ChineseNot measured1511Only GLM 5 measured
LMArena Text: GermanNot measured1447Only GLM 5 measured
LMArena Text: JapaneseNot measured1416Only GLM 5 measured
LMArena Text: KoreanNot measured1423Only GLM 5 measured
LMArena Text: FrenchNot measured1456Only GLM 5 measured
LMArena Text: SpanishNot measured1454Only GLM 5 measured
LMArena Text: RussianNot measured1436Only GLM 5 measured
LMArena Text: PolishNot measured1434Only GLM 5 measured
LMArena Text: multi-turnNot measured1456Only GLM 5 measured
LMArena Text: longer queriesNot measured1446Only GLM 5 measured
LMArena Text: writing and languageNot measured1437Only GLM 5 measured
LMArena Text: entertainment and mediaNot measured1426Only GLM 5 measured
Neither model has a result on the other 26 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 Custom Tools and GLM 5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 5Leader
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 Custom Tools$0.0080Fits in one request
GLM 5$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
GLM 5$0.060Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.520Fits in one request
GLM 5$0.232Exceeds the context window

GLM 5 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 GLM 5
SpecificationGoogle Gemini 3.1 Pro Preview Custom ToolsZ.ai GLM 5
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedFebruary 25, 2026February 11, 2026
Context window1.05M205K
Input $/Mtok$2.00$1.00
Output $/Mtok$12.00$3.20
Coding indexNot benchmarked41.7
Independent measurements behind it03
Cost per solved taskNot computable$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview Custom Tools better than GLM 5 for coding?

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Gemini 3.1 Pro Preview Custom Tools has none, so the two cannot be ranked on coding. Gemini 3.1 Pro Preview Custom Tools has the edge where the context window is larger, 1.05M against 205K tokens.

Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or GLM 5?

Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Cost per solved task is known for GLM 5 only.

Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or GLM 5?

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

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

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

Compare next