gemini-2.5-flash-preview-05-20 vs GLM 5.1
GLM 5.1 is cheaper on output tokens, while gemini-2.5-flash-preview-05-20 offers a larger context window. Choose gemini-2.5-flash-preview-05-20 or GLM 5.1 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | gemini-2.5-flash-preview-05-20 | GLM 5.1 |
|---|---|---|
| Provider | Jiekou.AI | Z.ai |
| Input / 1M tokens | $0.14 | $0.97 |
| Output / 1M tokens | $3.15 | $3.04 |
| Context window | 1M | 205K |
| Parameters | — | 754B |
| Open weights | No | — |
| Released | Jan 2026 | Apr 2026 |
| Aider Polyglot score | 55.1 | — |
| LiveBench score | — | 70.6 |
| LMArena (Chatbot Arena) Elo score | — | 1463 |
| LMArena WebDev Elo score | — | 1508 |
| GPQA Diamond score | — | 89.9 |
| FrontierMath score | — | 33.5 |
| Epoch Capabilities Index score | — | 150 |
FAQ
Is gemini-2.5-flash-preview-05-20 or GLM 5.1 cheaper?
GLM 5.1 is cheaper on output tokens ($3.04 vs $3.15 per 1M).
Which has the larger context window, gemini-2.5-flash-preview-05-20 or GLM 5.1?
gemini-2.5-flash-preview-05-20 has the larger context window (1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.