DeepSeek V4 Flash 0731 vs GLM 5.2: pricing comparison
GLM 5.2 is the cheaper option at $0.01/$6.80 per 1M input/output tokens — DeepSeek V4 Flash 0731 ($0.06/$0.30) costs about 7.9x more per input token. Full spec-by-spec breakdown below.
| DeepSeek V4 Flash 0731 | GLM 5.2 | |
|---|---|---|
| Input /1M tokens | $0.06 | $0.01 |
| Output /1M tokens | $0.30 | $6.80 |
| Cache read /1M | $0.04 | $0.01 |
| Context window | 1.0M | 1.0M |
| Provider | DeepSeek | Z-ai |
| Vision input | No | No |
| Released | Jul 2026 | Jun 2026 |
Real workload costs: DeepSeek V4 Flash 0731 vs GLM 5.2
Cost per single request at common token profiles — the cheapest model for each workload is highlighted.
| Workload | Tokens (in / out) | DeepSeek V4 Flash 0731 | GLM 5.2 |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0001 | $0.0020 |
| RAG query with context | 4,000 / 500 | $0.0004 | $0.0034 |
| Document summarization | 20,000 / 1,000 | $0.0014 | $0.0069 |
| Agent coding session | 100,000 / 5,000 | $0.0070 | $0.03 |
Frequently asked questions
Which is cheaper: DeepSeek V4 Flash 0731 vs GLM 5.2?
GLM 5.2 is the cheapest on input tokens at $0.01 per 1M, and DeepSeek V4 Flash 0731 is cheapest on output at $0.30 per 1M. DeepSeek V4 Flash 0731 costs about 7.9x more per input token than GLM 5.2.
How much does DeepSeek V4 Flash 0731 cost per 1M tokens?
DeepSeek V4 Flash 0731 costs $0.06 per 1M input tokens and $0.30 per 1M output tokens on the DeepSeek API, with a 1.0M-token context window.
How much does GLM 5.2 cost per 1M tokens?
GLM 5.2 costs $0.01 per 1M input tokens and $6.80 per 1M output tokens on the Z-ai API, with a 1.0M-token context window.
What does a typical request cost on DeepSeek V4 Flash 0731 vs GLM 5.2?
For a typical request with 2,000 input and 500 output tokens: DeepSeek V4 Flash 0731 costs $0.0003, GLM 5.2 costs $0.0034. At 1,000 requests/day for a month that is $7.80 for DeepSeek V4 Flash 0731 vs $102 for GLM 5.2.
Estimate your own workload with the per-model calculators (DeepSeek V4 Flash 0731, GLM 5.2), browse all current prices on the live model pricing dashboard, or run these models head-to-head on a real prompt (free account required). Prices may differ from provider list prices for batch or tiered usage.
Pricing data via the OpenRouter models API.