Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GLM 4.5 Air

Gemini 3.1 Pro Preview leads GLM 4.5 Air on the Artificial Analysis Intelligence Index, 29.7 to 11.1, and GLM 4.5 Air costs 10.9x less per output token ($1.10 vs $12.00 per million). Updated October 22, 2026; 43 benchmarks have a result for both.

Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
43
GLM 4.5 AirZ.ai
Coding
No data
Overall
No data
Output $/M
$1.10
0
vs boards won of 43 shared

Gemini 3.1 Pro Preview or GLM 4.5 Air: which to pick

Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; GLM 4.5 Air has none, so the two cannot be ranked on coding.

Pick GLM 4.5 Air for output tokens 10.9x cheaper ($1.10 vs $12.00 per million).

Shared results
43
Gemini 3.1 Pro Preview only
90
GLM 4.5 Air only
5
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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 32.3 from 4 benchmarks, GLM 4.5 Air not benchmarked.
Widest category
Agentic work, 49.1 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemini 3.1 Pro Preview 95.6% against GLM 4.5 Air 46.5%, 49.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GLM 4.5 Air $1.10 per million output tokens, 10.9x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, GLM 4.5 Air 131K.

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 4.5 AirTies
Coding40
Intelligence10
Agentic work10
Reasoning50
Math20
Knowledge40
Web design70
General190
All shared boards430
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
LMArena WebDev1447Not measuredOnly Gemini 3.1 Pro Preview measured
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
LiveCodeBench (Artificial Analysis run)Not measured68.4%Only GLM 4.5 Air measured
SciCode58.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench Hard (Artificial Analysis run)53.8%20.5%Gemini 3.1 Pro Preview
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GSO-Bench22.6%2.9%Gemini 3.1 Pro Preview
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: coding14841397Gemini 3.1 Pro Preview
LMArena Text: software and IT14871401Gemini 3.1 Pro Preview
LMArena WebDev: React1438Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: HTML1490Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: from an image1481Not measuredOnly Gemini 3.1 Pro Preview measured
SciCode14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
AA Intelligence Index29.711.1Gemini 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 index10
Agentic work benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps1125Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1068Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1094Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1049Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building games1113Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1103Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1041Not measuredOnly Gemini 3.1 Pro Preview measured
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%46.5%Gemini 3.1 Pro Preview
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 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
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%73.3%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%7.0%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 prompts14851379Gemini 3.1 Pro Preview
LMArena Text: expert14831370Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801388Gemini 3.1 Pro Preview
LMArena Vision: diagrams1311Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: homework1316Not measuredOnly Gemini 3.1 Pro Preview measured
Kagi LLM BenchmarkNot measured43.0%Only GLM 4.5 Air measured
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 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
AA Math IndexNot measured80.7Only GLM 4.5 Air measured
AIME 2025 (Artificial Analysis run)Not measured80.7%Only GLM 4.5 Air 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: math14861396Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781396Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
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
MMLU Pro (Artificial Analysis run)Not measured81.5%Only GLM 4.5 Air measured
SimpleQA Verified73.5%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: science14971407Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861402Gemini 3.1 Pro Preview
LMArena Text: legal and government14871382Gemini 3.1 Pro Preview
LMArena Text: business and finance14591371Gemini 3.1 Pro Preview
FACTS Benchmark Suite67.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index70
Web design benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
Design Arena: websites12331146Gemini 3.1 Pro Preview
Design Arena: UI components12241120Gemini 3.1 Pro Preview
Design Arena: game dev12021094Gemini 3.1 Pro Preview
Design Arena: data viz12091186Gemini 3.1 Pro Preview
Design Arena: 3D12341122Gemini 3.1 Pro Preview
Design Arena: all code categories12311137Gemini 3.1 Pro Preview
Design Arena: SVG12851071Gemini 3.1 Pro Preview
Design Arena: ASCII art1270Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Gemini 3.1 Pro Preview and GLM 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
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%37.6%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%46.7%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 Text14801384Gemini 3.1 Pro Preview
LMArena Text: instruction following14661354Gemini 3.1 Pro Preview
LMArena Text: creative writing14821343Gemini 3.1 Pro Preview
LMArena Vision1296Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: English14781397Gemini 3.1 Pro Preview
LMArena Text: non-English14761366Gemini 3.1 Pro Preview
LMArena Text: Chinese15271426Gemini 3.1 Pro Preview
LMArena Text: German14901377Gemini 3.1 Pro Preview
LMArena Text: Japanese14911348Gemini 3.1 Pro Preview
LMArena Text: Korean14551308Gemini 3.1 Pro Preview
LMArena Text: French14871400Gemini 3.1 Pro Preview
LMArena Text: Spanish14811385Gemini 3.1 Pro Preview
LMArena Text: Russian14971373Gemini 3.1 Pro Preview
LMArena Text: Polish14981368Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871371Gemini 3.1 Pro Preview
LMArena Text: longer queries14821366Gemini 3.1 Pro Preview
LMArena Text: writing and language14811354Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651339Gemini 3.1 Pro Preview
LMArena Vision: English1287Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: Chinese1364Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: reading text1304Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: humor1322Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing1324Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
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 4.5 Air
BenchmarkGemini 3.1 Pro PreviewGLM 4.5 AirLeader
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 4.5 Air$0.0008Fits in one request

GLM 4.5 Air costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GLM 4.5 Air$0.013Fits in one request

GLM 4.5 Air costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GLM 4.5 Air$0.051Exceeds the context window

GLM 4.5 Air 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 4.5 Air
SpecificationGoogle Gemini 3.1 Pro PreviewZ.ai GLM 4.5 Air
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedFebruary 19, 2026July 25, 2025
Context window1.05M131K
Input $/Mtok$2.00$0.20
Output $/Mtok$12.00$1.10
Coding index32.3Not benchmarked
Independent measurements behind it40
Cost per solved task$0.99Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than GLM 4.5 Air for coding?

Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; GLM 4.5 Air has none, so the two cannot be ranked on coding. Pick GLM 4.5 Air for output tokens 10.9x cheaper ($1.10 vs $12.00 per million).

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

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GLM 4.5 Air costs $0.20 and $1.10. 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 4.5 Air?

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

How many benchmarks is the Gemini 3.1 Pro Preview vs GLM 4.5 Air comparison based on?

43 benchmarks have a result for both models as of October 22, 2026. Gemini 3.1 Pro Preview's coding index rests on 4 independent benchmarks and GLM 4.5 Air's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next