Gemini 2.5 Flash vs GLM-5
Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.
Google · Jun 2025
The 2025 fast-tier favorite: hybrid reasoning, full multimodality and a 1M context at $0.30/$2.50.
Z.ai (Zhipu) · Feb 2026
Z.ai's 744B open-weights MoE — within ~4 points of Opus 4.6 on SWE-bench Verified at $1/$3.20 per million tokens.
The verdict
GLM-5 wins 1 of the 1 benchmarks these models share, against 0 for Gemini 2.5 Flash. Gemini 2.5 Flash is about 1.8x cheaper per blended million tokens (3:1 input:output mix). Gemini 2.5 Flash also takes 1.0M of context versus 200K for GLM-5. And GLM-5 is open-weights (MIT), so it can be self-hosted — a structural advantage if data control or vendor independence matters.
Benchmark head-to-head 0–1
Specs & pricing
| Gemini 2.5 Flash | GLM-5 | |
|---|---|---|
| modhub Index | — | — |
| Input price / 1M | $0.3 | $1 |
| Output price / 1M | $2.5 | $3.2 |
| Context window | 1.0M | 200K |
| Max output | 66K | 128K |
| Open weights | no | yes (MIT) |
| Reasoning model | yes | yes |
| Multimodal input | text, image, audio, video | text |
| Knowledge cutoff | Jan 2025 | Dec 2025 |
| Released | Jun 2025 | Feb 2026 |
| Example monthly cost* | $6.75 | $14.80 |
* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.
Frequently asked questions
- Which is better, Gemini 2.5 Flash or GLM-5?
- GLM-5 wins 1 of the 1 benchmarks these models share, against 0 for Gemini 2.5 Flash. Gemini 2.5 Flash is about 1.8x cheaper per blended million tokens (3:1 input:output mix). Gemini 2.5 Flash also takes 1.0M of context versus 200K for GLM-5. And GLM-5 is open-weights (MIT), so it can be self-hosted — a structural advantage if data control or vendor independence matters.
- Which is cheaper, Gemini 2.5 Flash or GLM-5?
- Gemini 2.5 Flash costs $0.3/$2.5 per million input/output tokens, while GLM-5 costs $1/$3.2. For a typical workload of 10M input and 1.5M output tokens per month, that's $6.75 versus $14.80.
- Which model is better for coding, Gemini 2.5 Flash or GLM-5?
- On SWE-bench Verified — the standard agentic-coding benchmark — GLM-5 scores ~77.8% versus ~48.9% for Gemini 2.5 Flash, making GLM-5 the stronger pick for coding agents.