The AI arena is free today

Open Superagent

DeepSeek-V4-Flash-0731 vs GLM-5

DeepSeek-V4-Flash-0731 and GLM-5 are closely matched at 44.7 and 37.1 on the LLM Stats Score. DeepSeek-V4-Flash-0731 is 17.2x cheaper per token.

DeepSeek · Zhipu AI · Updated for 2026

Which is better?

DeepSeek-V4-Flash-0731 and GLM-5 are closely matched on the overall LLM Stats Score at 44.7 and 37.1.

On price, DeepSeek-V4-Flash-0731 is roughly 17.2x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

DeepSeek-V4-Flash-0731 also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose DeepSeek-V4-Flash-0731

  • your work emphasizes agents — it leads those capability indexes
  • cost matters — it's about 17.2x cheaper per token
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Jul 2026

Choose GLM-5

  • you want predictable pricing at $1.00/M input and $3.20/M output

At a glance

The differences that matter most.

Core performance indexes
44.7
#35
37.1
#69
42.3
#45
37.4
#66
33.0
#36
26.3
#64
31.2
#30
19.8
#61
Cost, coverage & limits
Benchmark wins
Input price
$0.06 / M
$1.00 / M
Output price
$0.18 / M
$3.20 / M
Context window
1,048,576
200,000

Capability indexes

Additional strengths measured across groups of related public benchmarks

1 shared
Index
DeepSeek-V4-Flash-0731
GLM-5
25.9#30
18.0#69
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

9 reported for DeepSeek-V4-Flash-0731 · 5 for GLM-5

No common benchmarks found

DeepSeek-V4-Flash-0731 and GLM-5don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

DeepSeek-V4-Flash-0731 costs less

For input processing, DeepSeek-V4-Flash-0731 ($0.06/1M tokens) is 16.7x cheaper than GLM-5 ($1.00/1M tokens).

For output processing, DeepSeek-V4-Flash-0731 ($0.18/1M tokens) is 17.8x cheaper than GLM-5 ($3.20/1M tokens).

In conclusion, GLM-5 is more expensive than DeepSeek-V4-Flash-0731.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Sep 13 2026 • llm-stats.com
DeepSeek
DeepSeek-V4-Flash-0731
Input tokens$0.06
Output tokens$0.18
Best providerDeepinfra
Zhipu AI
GLM-5
Input tokens$1.00
Output tokens$3.20
Best providerFriendliAI
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

440.0B diff

GLM-5 has 440.0B more parameters than DeepSeek-V4-Flash-0731, making it 144.7% larger.

DeepSeek
DeepSeek-V4-Flash-0731
304.0Bparameters
Zhipu AI
GLM-5
744.0Bparameters
304.0B
DeepSeek-V4-Flash-0731
744.0B
GLM-5

Context Window

Maximum input and output token capacity

DeepSeek-V4-Flash-0731 accepts 1,048,576 input tokens compared to GLM-5's 200,000 tokens. DeepSeek-V4-Flash-0731 can generate longer responses up to 1,048,576 tokens, while GLM-5 is limited to 128,000 tokens.

DeepSeek
DeepSeek-V4-Flash-0731
Input1,048,576 tokens
Output1,048,576 tokens
Zhipu AI
GLM-5
Input200,000 tokens
Output128,000 tokens
Sun Sep 13 2026 • llm-stats.com

License

Usage and distribution terms

Both models are licensed under MIT.

Both models share the same licensing terms, providing consistent usage rights.

DeepSeek-V4-Flash-0731

MIT

Open weights

GLM-5

MIT

Open weights

Release Timeline

When each model was launched

DeepSeek-V4-Flash-0731 was released on 2026-07-31, while GLM-5 was released on 2026-02-11.

DeepSeek-V4-Flash-0731 is 6 months newer than GLM-5.

DeepSeek-V4-Flash-0731

Jul 31, 2026

1 months ago

5mo newer
GLM-5

Feb 11, 2026

7 months ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

DeepSeek-V4-Flash-0731 is available from DeepInfra, Novita, Fireworks. GLM-5 is available from FriendliAI, ZAI.

DeepSeek-V4-Flash-0731

deepinfra logo
Deepinfra
Input Price:Input: $0.06/1MOutput Price:Output: $0.18/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.28/1M
fireworks logo
Fireworks
Input Price:Input: $0.44/1MOutput Price:Output: $1.32/1M

GLM-5

friendli logo
FriendliAI
Input Price:Input: $1.00/1MOutput Price:Output: $3.20/1M
z logo
Unknown Organization
Input Price:Input: $1.00/1MOutput Price:Output: $3.20/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against DeepSeek-V4-Flash-0731 and GLM-5 side-by-side, then vote on the output you prefer.

DeepSeek-V4-Flash-0731
✓ Preferred
GLM-5
Open in Playground

FAQ

Common questions about DeepSeek-V4-Flash-0731 vs GLM-5.

Which is better, DeepSeek-V4-Flash-0731 or GLM-5?

DeepSeek-V4-Flash-0731 and GLM-5 are closely matched on the LLM Stats Score at 44.7 and 37.1. DeepSeek-V4-Flash-0731 is made by DeepSeek and GLM-5 is made by Zhipu AI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does DeepSeek-V4-Flash-0731 compare to GLM-5 in benchmarks?

DeepSeek-V4-Flash-0731 scores Terminal-Bench 2.1: 82.7%, CyberGym: 76.7%, Toolathlon: 70.3%, DSBench-FullStack: 68.7%, DSBench-Hard: 59.6%. GLM-5 scores t2-bench: 89.7%, SWE-Bench Verified: 77.8%, BrowseComp: 75.9%, MCP Atlas: 67.8%, Terminal-Bench 2.0: 56.2%.

Is DeepSeek-V4-Flash-0731 cheaper than GLM-5?

DeepSeek-V4-Flash-0731 is 16.7x cheaper for input tokens. DeepSeek-V4-Flash-0731 costs $0.06/M input and $0.18/M output via deepinfra. GLM-5 costs $1.00/M input and $3.20/M output via friendli.

What are the context window sizes for DeepSeek-V4-Flash-0731 and GLM-5?

DeepSeek-V4-Flash-0731 supports 1.0M tokens and GLM-5 supports 200K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between DeepSeek-V4-Flash-0731 and GLM-5?

Key differences include LLM Stats Score (44.7 vs 37.1), context window (1.0M vs 200K), input pricing ($0.06 vs $1.00/M). See the full comparison above for benchmark-by-benchmark results.

Who makes DeepSeek-V4-Flash-0731 and GLM-5?

DeepSeek-V4-Flash-0731 is developed by DeepSeek and GLM-5 is developed by Zhipu AI.