LIVE Cheapest: GLM-4.7-Flash $0.000/Mtok in 153 models tracked Updated Jun 25, 2026
Jun 25, 2026
ModelPriceWatch$/Mtok
Pricing / Compare / GLM-5.2 vs Gemini 3.1 Pro

GLM-5.2 vs Gemini 3.1 Pro

Side-by-side API pricing comparison · Z.AI vs Google

🏆 GLM-5.2 is 141.4% cheaper on blended cost ($2.90 vs $7.00/Mtok)

GLM-5.2

by Z.AI

Current flagship Open weights
Input
$1.40/Mtok
Output
$4.40/Mtok
✓ Cheaper
Blended avg$2.90/Mtok
Cached input$0.260/Mtok
Context128K tokens
Modalitytext
ParametersProprietary
ReleasedJan 1, 2026
Full details →

Gemini 3.1 Pro

by Google

Current flagship
Input
$2.00/Mtok
Output
$12.00/Mtok
Blended avg$7.00/Mtok
Context2M tokens
Modalitytext, image, audio, video
ParametersProprietary
ReleasedNov 1, 2025
Full details →

Cost at scale — 1M tokens (50/50 input/output)

VolumeGLM-5.2Gemini 3.1 ProSavings
1M tokens $2.9 $7 $4.1 (58.6%)
10M tokens $29 $70 $41 (58.6%)
100M tokens $290 $700 $410 (58.6%)
1000M tokens $2900 $7000 $4100 (58.6%)

Summary

GLM-5.2 by Z.AI costs $1.40/Mtok input and $4.40/Mtok output, with a 128K-token context window. It supports text input.

Gemini 3.1 Pro by Google costs $2.00/Mtok input and $12.00/Mtok output, with a 2M-token context window. It supports text, image, audio, video input.

On a blended cost basis, GLM-5.2 is 141.4% cheaper than Gemini 3.1 Pro.

Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.