Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview Custom Tools vs GLM 4.5

GLM 4.5 costs 5.5x less per output token than Gemini 3.1 Pro Preview Custom Tools ($2.20 vs $12.00 per million). Updated October 21, 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
GLM 4.5Z.ai
Coding
No data
Overall
12.8
Output $/M
$2.20
vs $12.00 vs $2.20 per 1M output tokens. GLM 4.5 is 5.5x cheaper.

Gemini 3.1 Pro Preview Custom Tools or GLM 4.5: 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 131K tokens).

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GLM 4.5 on SWE-bench Verified, LiveCodeBench (Vals AI) and LiveCodeBench (Artificial Analysis run). 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, GLM 4.5 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 GLM 4.5 $2.20 per million output tokens, 5.5x apart.
Context window
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, GLM 4.5 131K.

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 GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
SWE-bench VerifiedNot measured64.2%Only GLM 4.5 measured
LiveCodeBench (Vals AI)Not measured67.5%Only GLM 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured73.8%Only GLM 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured22.0%Only GLM 4.5 measured
WeirdMLNot measured40.6%Only GLM 4.5 measured
ALE-BenchNot measured344.8Only GLM 4.5 measured
LMArena Text: codingNot measured1434Only GLM 4.5 measured
LMArena Text: software and ITNot measured1440Only GLM 4.5 measured
Neither model has a result on the other 30 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 GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
AA Intelligence IndexNot measured12.8Only GLM 4.5 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Agentic work benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
τ²-Bench TelecomNot measured43.0%Only GLM 4.5 measured
Vending-Bench 2$3,774Not measuredOnly Gemini 3.1 Pro Preview Custom Tools measured
Neither model has a result on the other 37 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Reasoning benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
GPQA DiamondNot measured72.2%Only GLM 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured78.2%Only GLM 4.5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured13.0%Only GLM 4.5 measured
LMArena Text: hard promptsNot measured1429Only GLM 4.5 measured
LMArena Text: expertNot measured1433Only GLM 4.5 measured
LMArena Text: hard prompts in EnglishNot measured1429Only GLM 4.5 measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
AIMENot measured86.7%Only GLM 4.5 measured
MATH 500 (Vals AI)Not measured94.0%Only GLM 4.5 measured
MGSM (Vals AI)Not measured90.8%Only GLM 4.5 measured
AA Math IndexNot measured73.7Only GLM 4.5 measured
AIME 2025 (Artificial Analysis run)Not measured73.7%Only GLM 4.5 measured
LMArena Text: mathNot measured1427Only GLM 4.5 measured
LMArena Text: mathematical workNot measured1430Only GLM 4.5 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards measured
Knowledge benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
MMLU ProNot measured81.2%Only GLM 4.5 measured
LegalBench (Vals AI)Not measured75.6%Only GLM 4.5 measured
CorpFin (Vals AI)Not measured61.0%Only GLM 4.5 measured
TaxEval (Vals AI)Not measured72.4%Only GLM 4.5 measured
MedQA (Vals AI)Not measured90.0%Only GLM 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured83.5%Only GLM 4.5 measured
LMArena Text: scienceNot measured1444Only GLM 4.5 measured
LMArena Text: medicine and healthcareNot measured1455Only GLM 4.5 measured
LMArena Text: legal and governmentNot measured1438Only GLM 4.5 measured
LMArena Text: business and financeNot measured1420Only GLM 4.5 measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Web design benchmarks for Gemini 3.1 Pro Preview Custom Tools and GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
Design Arena: websitesNot measured1170Only GLM 4.5 measured
Design Arena: UI componentsNot measured1144Only GLM 4.5 measured
Design Arena: game devNot measured1145Only GLM 4.5 measured
Design Arena: data vizNot measured1159Only GLM 4.5 measured
Design Arena: 3DNot measured1170Only GLM 4.5 measured
Design Arena: all code categoriesNot measured1165Only GLM 4.5 measured
Design Arena: SVGNot measured1096Only GLM 4.5 measured
Neither model has a result on the other 2 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 GLM 4.5
BenchmarkGemini 3.1 Pro Preview Custom ToolsGLM 4.5Leader
IFBenchNot measured44.1%Only GLM 4.5 measured
Long context reasoning (AA-LCR)Not measured52.7%Only GLM 4.5 measured
Creative writing (Lech Mazur)Not measured73.4%Only GLM 4.5 measured
LMArena TextNot measured1430Only GLM 4.5 measured
LMArena Text: instruction followingNot measured1404Only GLM 4.5 measured
LMArena Text: creative writingNot measured1395Only GLM 4.5 measured
LMArena Text: EnglishNot measured1437Only GLM 4.5 measured
LMArena Text: non-EnglishNot measured1417Only GLM 4.5 measured
LMArena Text: ChineseNot measured1465Only GLM 4.5 measured
LMArena Text: GermanNot measured1407Only GLM 4.5 measured
LMArena Text: JapaneseNot measured1415Only GLM 4.5 measured
LMArena Text: KoreanNot measured1380Only GLM 4.5 measured
LMArena Text: FrenchNot measured1418Only GLM 4.5 measured
LMArena Text: SpanishNot measured1454Only GLM 4.5 measured
LMArena Text: RussianNot measured1413Only GLM 4.5 measured
LMArena Text: PolishNot measured1422Only GLM 4.5 measured
LMArena Text: multi-turnNot measured1415Only GLM 4.5 measured
LMArena Text: longer queriesNot measured1412Only GLM 4.5 measured
LMArena Text: writing and languageNot measured1403Only GLM 4.5 measured
LMArena Text: entertainment and mediaNot measured1404Only GLM 4.5 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
GLM 4.5$0.0017Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
GLM 4.5$0.037Fits in one request

GLM 4.5 costs less

Agent loop

200K input + 10K output tokens

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

GLM 4.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 4.5
SpecificationGoogle Gemini 3.1 Pro Preview Custom ToolsZ.ai GLM 4.5
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedFebruary 25, 2026July 25, 2025
Context window1.05M131K
Input $/Mtok$2.00$0.60
Output $/Mtok$12.00$2.20
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 GLM 4.5 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 131K tokens).

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

Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 4.5 costs $0.60 and $2.20. Cost per solved task is known for neither of them.

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

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

Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and GLM 4.5?

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; GLM 4.5 on SWE-bench Verified, LiveCodeBench (Vals AI) and LiveCodeBench (Artificial Analysis run). Compare them on price and context instead. Data as of October 21, 2026.

Compare next