Skip to content
Pricing comparison · June 2026

DeepSeek V4-Pro vs GLM-5.2: API Pricing

Input and output token rates, context windows, and real monthly cost for DeepSeek V4-Pro (DeepSeek) and GLM-5.2 (Z.ai), side by side. Prices are standard on-demand rates as of June 2026.

The short answer

For a typical coding-agent workload (60M in / 12M out per month), DeepSeek V4-Pro is the cheaper option at $36.54/mo versus $137/mo for GLM-5.2 - about 73% less (3.7× cheaper). On the headline sticker of 1M input + 1M output, DeepSeek V4-Pro is $1.30 and GLM-5.2 is $5.80.

Rates at a glance

DeepSeek V4-Pro GLM-5.2
Input ($/1M tokens) $0.43 $1.40
Output ($/1M tokens) $0.87 $4.40
Blended (1M in + 1M out) $1.30 $5.80
Context window 1,000K 200K
Type Open-weight Open-weight
Provider DeepSeek Z.ai

Monthly cost by workload

Estimated monthly API spend at each workload's token volume. Output usually costs several times input, so the winner can flip with your mix.

Workload DeepSeek V4-Pro GLM-5.2 Cheaper
Chatbot / assistant 10M in / 3M out $6.96/mo $27.20/mo DeepSeek V4-Pro
Coding agent 60M in / 12M out $36.54/mo $137/mo DeepSeek V4-Pro
RAG / summarization 40M in / 4M out $20.88/mo $73.60/mo DeepSeek V4-Pro
Batch / classification 20M in / 2M out $10.44/mo $36.80/mo DeepSeek V4-Pro

Want your own in/out split? Use the full interactive comparator to rank every model and provider for your exact workload.

Frequently asked questions

Is DeepSeek V4-Pro or GLM-5.2 cheaper?

It depends on your input/output mix, but for a typical coding-agent workload (60M in / 12M out per month) DeepSeek V4-Pro costs $36.54/mo versus $137/mo for GLM-5.2 - about 73% less (3.7x). On the headline sticker (1M input + 1M output), DeepSeek V4-Pro is $1.30 and GLM-5.2 is $5.80.

What are the token rates for DeepSeek V4-Pro and GLM-5.2?

DeepSeek V4-Pro (DeepSeek) is $0.43 per 1M input and $0.87 per 1M output. GLM-5.2 (Z.ai) is $1.40 per 1M input and $4.40 per 1M output. These are standard on-demand rates, not cached or batch.

Is DeepSeek V4-Pro or GLM-5.2 open-weight?

DeepSeek V4-Pro is open-weight and GLM-5.2 is open-weight. Open-weight models can be self-hosted or run on third-party hosts at different rates, so the first-party price shown here is a starting point, not the only option.

What context window do DeepSeek V4-Pro and GLM-5.2 support?

DeepSeek V4-Pro supports 1,000K tokens and GLM-5.2 supports 200K tokens. Some models also step up pricing past a size threshold - check the source pricing pages for long-context tiers.

More pricing comparisons

Stay ahead of the AI tools curve

Picks, reviews, and automation tips every weekday. Free, no spam.