GLM 5.1 vs Gemini 3 Flash Preview

Gemini 3 Flash Preview is the cheaper of the two, though not evenly: its input costs 64% less than GLM 5.1's, $0.50 per 1M against $1.40, while its output is only 32% cheaper, $3.00 against $4.40. Caching widens the gap: over a thousand agent loops, where most of each prompt comes from cache, that is $92.00 against $273.60.

Gemini 3 Flash Preview also scores higher on expert-exam performance (Humanity's Last Exam), 36.6 (Reasoning) against 30.1 (Reasoning), so it is cheaper and better at once — about as easy as this choice gets.

Standard pay-as-you-go prices, as of 7 Apr 2026. Last updated 4 Dec 2026.

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

🔒 We respect your privacy. Unsubscribe anytime.

Cheaper overall

Gemini 3 Flash Preview

48% lower blended rate

Higher benchmark scores

GLM 5.1

leads on 12 of 16 figures

Bigger context window

Gemini 3 Flash Preview

1,048,576 vs 200,000 tokens

Cheaper cached input

Gemini 3 Flash Preview

$0.05 vs $0.26, 81% less

Where each one wins

GLM 5.1

  • Longer maximum output 128,000 tokens
  • Higher command-line work (Terminal-Bench Hard) 43.2 vs 38.6
  • Higher Agenticslides Elo 1,245 vs 1,073
  • Higher Agenticslides(python-pptx) Elo 1,240 vs 1,075
  • Ahead on 9 more benchmark figures

Gemini 3 Flash Preview

  • Cheaper input tokens $0.50 vs $1.40, 64% less
  • Cheaper output tokens $3.00 vs $4.40, 32% less
  • Cheaper cached input $0.05 vs $0.26, 81% less
  • Cheaper on all four workloads
  • Larger context window 1,048,576 tokens
  • Higher expert-exam performance (Humanity's Last Exam) 36.6 vs 30.1
  • Higher instruction following (IFBench) 78 vs 76.3
  • Higher physics research reasoning (CritPt) 8.6 vs 4.6
  • Ahead on 1 more benchmark figure
  • Offers Batch, Flex and Priority pricing not listed for GLM 5.1

What four workloads cost

One run, and the same run a thousand times.

Gemini 3 Flash Preview is cheaper on all four workloads, by much the same margin each time — about 2.4 times, from $0.0020 against $0.0036 on a chat turn to $0.0920 against $0.2736 on a long document.

Workload GLM 5.1 Gemini 3 Flash Preview ×1,000 Difference
Chat turn 1,000 in / 500 out $0.0036 $0.0020 $3.60 / $2.00 Gemini 3 Flash Preview is 44% cheaper
RAG answer 10,000 in / 800 out $0.0175 $0.0074 $17.52 / $7.40 Gemini 3 Flash Preview is 58% cheaper
Agent loop 32,000 in / 700 out × 20 calls $0.2736 $0.0920 $273.60 / $92.00 Gemini 3 Flash Preview is 66% cheaper
Long document 400,000 in / 3,000 out GLM 5.1's context window holds 200,000 tokens, so a 400,000-token prompt does not fit.

Price your own token counts for these two →

Price per 1M tokens

Neither model changes its rate with prompt length, so these rates apply to every request.

Context band Price GLM 5.1 Gemini 3 Flash Preview Difference
Any prompt length Input $1.40 $0.50 Gemini 3 Flash Preview is 64% cheaper
Any prompt length Cached input $0.26 $0.05 Gemini 3 Flash Preview is 81% cheaper
Any prompt length Output $4.40 $3.00 Gemini 3 Flash Preview is 32% cheaper

Blended: GLM 5.1 $2.15, Gemini 3 Flash Preview $1.125 per 1M — one rate at 3:1 input to output, for comparing two models at a glance.

GLM 5.1 priced by Z.ai, Gemini 3 Flash Preview by Google. Standard tier, pay-as-you-go.

Other pricing tiers

Only Gemini 3 Flash Preview lists Batch, Flex and Priority, at up to 50% off its own standard rate; GLM 5.1 offers none of them.

Every tier either model sells is here, so this is the whole price sheet. A saving is measured against that model's own standard rate — how we read tiers.

Tier GLM 5.1 Gemini 3 Flash Preview Cheaper
Batch only on Gemini 3 Flash Preview Not offered $0.25 in / $1.50 out 50% off Standard —
Flex only on Gemini 3 Flash Preview Not offered $0.25 in / $1.50 out 50% off Standard —
Priority only on Gemini 3 Flash Preview Not offered $0.90 in / $5.40 out —

Benchmarks

They share 16 figures: GLM 5.1 leads on 12, Gemini 3 Flash Preview on 4. The widest gap is 188 points, on 3d Elo.

Expert-exam performance

Humanity's Last Exam — Expert-level questions across many academic domains

GLM 5.1 30.1
Gemini 3 Flash Preview 36.6

Gemini 3 Flash Preview ahead by 6.5

Instruction following

IFBench — Precise following of detailed instructions

GLM 5.1 76.3
Gemini 3 Flash Preview 78

Gemini 3 Flash Preview ahead by 1.7

Command-line work

Terminal-Bench Hard — Complex command-line and terminal workflows

GLM 5.1 43.2
Gemini 3 Flash Preview 38.6

GLM 5.1 ahead by 4.6

Physics research reasoning

CritPt — Unpublished physics research reasoning problems

GLM 5.1 4.6
Gemini 3 Flash Preview 8.6

Gemini 3 Flash Preview ahead by 4

Agenticslides Elo

Design Arena head-to-head rating in the agenticslides category

GLM 5.1 1,245
Gemini 3 Flash Preview 1,073

GLM 5.1 ahead by 172

Agenticslides(python-pptx) Elo

Design Arena head-to-head rating in the agenticslides(python-pptx) category

GLM 5.1 1,240
Gemini 3 Flash Preview 1,075

GLM 5.1 ahead by 165

Androidnative Elo

Design Arena head-to-head rating in the androidnative category

GLM 5.1 1,173
Gemini 3 Flash Preview 1,036

GLM 5.1 ahead by 137

Fullstack Elo

Design Arena head-to-head rating in the fullstack category

GLM 5.1 1,213
Gemini 3 Flash Preview 1,110

GLM 5.1 ahead by 103

Godotgamedev Elo

Design Arena head-to-head rating in the godotgamedev category

GLM 5.1 1,026
Gemini 3 Flash Preview 1,161

Gemini 3 Flash Preview ahead by 135

Mobileapps Elo

Design Arena head-to-head rating in the mobileapps category

GLM 5.1 1,150
Gemini 3 Flash Preview 1,082

GLM 5.1 ahead by 68

Python-pptxslides Elo

Design Arena head-to-head rating in the python-pptxslides category

GLM 5.1 1,153
Gemini 3 Flash Preview 1,036

GLM 5.1 ahead by 117

Webapps Elo

Design Arena head-to-head rating in the webapps category

GLM 5.1 1,142
Gemini 3 Flash Preview 1,077

GLM 5.1 ahead by 65

3d Elo

Design Arena head-to-head rating in the 3d category

GLM 5.1 1,336
Gemini 3 Flash Preview 1,148

GLM 5.1 ahead by 188

Codecategories Elo

Design Arena head-to-head rating in the codecategories category

GLM 5.1 1,312
Gemini 3 Flash Preview 1,230

GLM 5.1 ahead by 82

Gamedev Elo

Design Arena head-to-head rating in the gamedev category

GLM 5.1 1,240
Gemini 3 Flash Preview 1,138

GLM 5.1 ahead by 102

Website Elo

Design Arena head-to-head rating in the website category

GLM 5.1 1,309
Gemini 3 Flash Preview 1,237

GLM 5.1 ahead by 72

Each figure is that model's best published run, with the effort level named beside it — where these scores come from.

Specifications

Gemini 3 Flash Preview holds 848,576 more input tokens in one request. Gemini 3 Flash Preview also takes audio, file, image and video. Only GLM 5.1 lists open weights; only Gemini 3 Flash Preview lists code execution and computer use.

Specification GLM 5.1 Gemini 3 Flash Preview
Context window 200,000 tokens 1,048,576 tokens
Max output 128,000 tokens 65,536 tokens
Takes in Text Text, audio, image, video, file
Puts out Text Text
Released 7 Apr 2026 17 Dec 2025
Status Active Active
Sold by Z.ai Google
Tool use Yes Yes
Structured outputs Yes Yes
Web search Not listed Not listed
Prompt caching Yes Yes
Code execution Not listed Yes
Computer use Not listed Yes
Open weights Yes Not listed
Reasoning Yes Yes

FAQs

Is GLM 5.1 cheaper than Gemini 3 Flash Preview?
No — the other way round. A 1,000-token prompt with a 500-token reply costs $0.0036 on GLM 5.1 and $0.0020 on Gemini 3 Flash Preview, and the same model is cheaper on every workload on this page.
How much do GLM 5.1 and Gemini 3 Flash Preview cost per 1M tokens?
GLM 5.1 costs $1.40 for input and $4.40 for output. Gemini 3 Flash Preview costs $0.50 and $3.00. Standard pay-as-you-go rates, as of 7 Apr 2026.
Which is better, GLM 5.1 or Gemini 3 Flash Preview?
On published benchmarks, Gemini 3 Flash Preview. It leads on 12 of the 16 figures both models report, including expert-exam performance (Humanity's Last Exam), where it scores 36.6 against 30.1.
Does GLM 5.1 or Gemini 3 Flash Preview offer batch pricing?
Gemini 3 Flash Preview only. Its batch input costs $0.25, 50% off its standard rate, and GLM 5.1 lists no batch tier at all.
Does GLM 5.1 or Gemini 3 Flash Preview have a bigger context window?
Gemini 3 Flash Preview, at 1,048,576 tokens against 200,000. That is 848,576 more input tokens in a single request.

Explore these models

GLM 5.1

Z.ai · 200,000-token context

Pricing · Calculator · Specifications

Gemini 3 Flash Preview

Google · 1,048,576-token context

Pricing · Calculator · Specifications

Other comparisons