Gemini 3.5 Flash vs GLM 5.2
API pricing, context window and capabilities for Gemini 3.5 Flash and GLM 5.2, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.
Verdict
computed from the published numbersGemini 3.5 Flash wins on coding. GLM 5.2 wins on price and on intelligence.
Price
GLM 5.2
Coding
Gemini 3.5 Flash
Intelligence
GLM 5.2
Context window
Tied
Key takeaways
who wins on what, from the published numbersGemini 3.5 Flash wins
- Supports vision
- Supports audio
- Has web search
GLM 5.2 wins
- Cheaper input ($1.50 vs $0.61 /1M)
- Cheaper output ($9.00 vs $1.98 /1M)
- Higher max output (66K vs 1M)
- More serving providers (5 vs 10)
Cheaper overall
GLM 5.2
$0.61 + $1.98 /1M
Larger context
Tied
More providers
GLM 5.2
10 providers
Pricing & specs
cheapest serving route · per 1M tokens| Gemini 3.5 Flash | GLM 5.2 | |
|---|---|---|
| Input $/1M | $1.50 | $0.61 best |
| Output $/1M | $9.00 | $1.98 best |
| Context window | 1M | 1M |
| Max output | 66K | 1M best |
| Serving providers | 5 | 10 best |
| Released | 2026-05-22 | 2026-06-13 |
Benchmarks
Artificial Analysis indices, side by side| Gemini 3.5 Flash | GLM 5.2 | |
|---|---|---|
| Intelligence | 52.0 | 52.6 best |
| Coding | 70.1 best | 68.8 |
| GPQA Diamond | 92% best | 89% |
| Output speed | 204 t/s best | 70 t/s |
| Latency (TTFT) | 19.87s | 1.56s best |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
Gemini 3.5 Flash
via Vertex AI
$17
GLM 5.2
via Scx AI
$5.03
Capabilities
feature support, side by side| Feature | Gemini 3.5 Flash | GLM 5.2 |
|---|---|---|
| Vision | ✓ | — |
| Tool use | ✓ | ✓ |
| Reasoning | ✓ | ✓ |
| Audio | ✓ | — |
| Prompt caching | ✓ | ✓ |
| Structured output | ✓ | ✓ |
| Web search | ✓ | — |
Related comparisons
Frequently asked questions
Which is cheaper, Gemini 3.5 Flash or GLM 5.2?
GLM 5.2 is cheaper for input ($1.50 vs $0.61 per 1M tokens). GLM 5.2 is cheaper for output ($9.00 vs $1.98 per 1M tokens).
What is the context window difference between Gemini 3.5 Flash and GLM 5.2?
Both Gemini 3.5 Flash and GLM 5.2 have about a 1M-token context window.
How do Gemini 3.5 Flash and GLM 5.2 compare on benchmarks?
On the tracked Artificial Analysis indices, Gemini 3.5 Flash leads on coding, and GLM 5.2 leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI