DeepSeek V4 Flash 0731 vs GLM-5.3-Flash

DeepSeek V4 Flash 0731 (DeepSeek, July 2026) and GLM-5.3-Flash (Z.ai Zhipu AI, August 2026), compared on price, context window, access and specs. GLM-5.3-Flash is the cheaper API at $0.037 in and $0.13 out per million tokens, about 47% less than DeepSeek V4 Flash 0731 on a typical 3:1 input-to-output mix. GLM-5.3-Flash reads more at once: a 1.05M-token context window against 1M.

Updated 5 December 2026 · read each row across; the best value in a row is marked

At a glance

Released
31 July 2026
20 August 2026
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
China
China

Price and API

Input, per 1M tokens
$0.06on DeepInfra
$0.037on Hugging FaceLowest
Output, per 1M tokens
$0.14on Hugging Face
$0.13on Hugging FaceLowest
Official API id
alibaba/deepseek-v4-flash-0731
mistral/zai-glm-5-3-flash
Context window
1M tokens
1.05M tokensLargest
Max output
393K tokensLargest
131K tokens
Takes
Text
Text, Image, PDF
Returns
Text
Text
Knowledge cutoff
May 2025
Not listed
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
284B284,000,000,000
320B320,000,000,000Largest
Training compute
2.5 × 10²⁴ FLOP
3.2 × 10²⁴ FLOPMost
Confidence
Likely
Likely

Notes

Parameters
284B total, 13B active
320B total, 18B active.
Training compute
From https://api-docs.deepseek.com/updates/: "DeepSeek-V4-Flash-0731 keeps the same model architecture and size as DeepSeek-V4-Flash-Preview, and was only re-post-trained." 6 * 13e9 active parameters * 32e12 tokens = 2.496E24 for pre-training
6 * 18e9 active parameters * 30e12 tokens = 3.24e24 FLOP. https://docs.z.ai/guides/vlm/glm-5.3-flash says "Combined with our latest 30T-token multimodal pre-training corpus, these changes let GLM-5.3-Flash produce more intelligence with less compute.", which is not definitive in saying that all 30T tokens were used exactly once; likely confidence.

In their own words

Abstract
DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. It has the same model structure as DeepSeek-V4-Flash-DSpark, i.e. it comes with a speculative decoding module attached.Read all
We introduce GLM-5.3-Flash, the first natively multimodal model in the GLM-5 series. With 320B total parameters and just 18B active parameters, it outperforms GLM-5.2 across benchmarks and real-world workloads at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks.Read all

Which should you pick?

High-volume or budget workloads
GLM-5.3-Flash · Lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
GLM-5.3-Flash · 1.05M tokens of context, 5% more than DeepSeek V4 Flash 0731.
Long answers in one response
DeepSeek V4 Flash 0731 · Up to 393K output tokens per response.
Reading images and screenshots
GLM-5.3-Flash · Accepts image input through the API.

Questions people ask

Is DeepSeek V4 Flash 0731 better than GLM-5.3-Flash?

It depends on the job. For high-volume or budget workloads, GLM-5.3-Flash has the edge: lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM-5.3-Flash has the edge: 1.05M tokens of context, 5% more than DeepSeek V4 Flash 0731. For long answers in one response, DeepSeek V4 Flash 0731 has the edge: up to 393K output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: DeepSeek V4 Flash 0731 or GLM-5.3-Flash?

GLM-5.3-Flash: $0.037 in and $0.13 out per million tokens at Hugging Face. DeepSeek V4 Flash 0731 starts at $0.07 in and $0.14 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

GLM-5.3-Flash, with 1.05M tokens; DeepSeek V4 Flash 0731 takes 1M. A larger window lets one request hold longer documents or conversations.

Where can I use DeepSeek V4 Flash 0731 and GLM-5.3-Flash through one API?

Hugging Face, DeepInfra, OpenRouter and Baseten serve all of them, so you can switch models without opening another account.

When were they released?

DeepSeek V4 Flash 0731 in July 2026 and GLM-5.3-Flash in August 2026.

Other comparisons