DeepSeek-V4-Flash-0731 vs GLM-5.2: Specs & Benchmark Comparison

DeepSeek-V4-Flash-0731 is developed by DeepSeek, while GLM-5.2 comes from Zhipu AI. GLM-5.2 was released in June 2026, and DeepSeek-V4-Flash-0731 followed a month later in July 2026. GLM-5.2 is the larger model at roughly 753 billion parameters, against 304 billion for DeepSeek-V4-Flash-0731.

We have 4 benchmark results for DeepSeek-V4-Flash-0731 and 4 benchmark results for GLM-5.2, but they were measured on different benchmarks, so there is no like-for-like scoreboard.

DeepSeek-V4-Flash-0731 is the cheaper API at $0.14 per million input tokens and $0.28 per million output tokens, roughly 10 times cheaper than GLM-5.2 at $1.40 and $4.40. Both accept a context window of about 1M tokens.

CharacteristicDeepSeek-V4-Flash-0731GLM-5.2
CompanyDeepSeekZhipu AI
Release DateJuly 31, 2026June 16, 2026
Parameters304B753B
MultimodalNoNo
Context (input)1.0M1.0M
Context (output)393K131K
Input Price / 1M$0.14$1.40
Output Price / 1M$0.28$4.40
Average Score74.8%94.3%

Verdict

DeepSeek-V4-Flash-0731 leads in 2 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: DeepSeek-V4-Flash-0731 — 0.7, GLM-5.2 — 0.9.

API Cost

DeepSeek-V4-Flash-0731 is 13.8x cheaper: input $0.14/1M vs $1.40/1M tokens.

Context Window

GLM-5.2 supports a larger context: 1M vs 1M tokens.

Recency

DeepSeek-V4-Flash-0731 is newer: released 7/31/2026 vs 6/16/2026.

More About These Models

Related Comparisons

Frequently Asked Questions

Which is better for coding — DeepSeek-V4-Flash-0731 or GLM-5.2?
Direct comparison on the SWE-Bench benchmark is not available. We recommend reviewing other metrics on the comparison page.
Which model is cheaper — DeepSeek-V4-Flash-0731 or GLM-5.2?
DeepSeek-V4-Flash-0731 is cheaper for input: $0.14 per 1M tokens vs $1.40.
Which has a larger context window — DeepSeek-V4-Flash-0731 or GLM-5.2?
GLM-5.2 supports a larger context: 1,048,576 tokens vs 1,000,000.

The DeepSeek-V4-Flash-0731 and GLM-5.2 comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the DeepSeek-V4-Flash-0731 or GLM-5.2 page. See also the complete list of AI model comparisons.