All guides

DeepSeek vs Qwen vs GLM: API prices, official and XHuoAPI

Each vendor sells its main models directly: DeepSeek on its own API, Qwen on Alibaba Cloud Model Studio (international), GLM on Z.ai. Below are those official prices next to XHuoAPI's, each with its source and the date we checked. XHuoAPI is this site; we list every tier.

Third-party data checked:

DeepSeek

WhereModel ID$ / 1M in / outNotes
DeepSeek (official)
source
deepseek-flash$0.30 / $1.20Peak price. Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday; all other hours (including weekends) are half price: $0.15 / $0.60
DeepSeek (official)
source
deepseek-v4-pro$1.32 / $3.96Peak price. Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday; all other hours (including weekends) are half price: $0.66 / $1.98
XHuoAPI (Standard)deepseek-v4.1-flash-1017$0.24 / $0.96Off-peak (outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, and all weekend): $0.12 / $0.48
Saver $0.15 / $0.60
Spot $0.090 / $0.36
Official tier $0.30 / $1.20
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.
XHuoAPI (Standard)deepseek-v4-pro$1.06 / $3.17Off-peak (outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, and all weekend): $0.53 / $1.58
Saver $0.66 / $1.98
Spot $0.40 / $1.19
Official tier $1.32 / $3.96
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.

Qwen

WhereModel ID$ / 1M in / outNotes
Alibaba Cloud Model Studio (international)
source
qwen3.8-max$2.00 / $6.00The vendor's own public price.
Alibaba Cloud Model Studio (international)
source
qwen3.7-plus$0.40 / $1.60The vendor's list price (up to 256K context); a limited-time 20% discount currently makes it $0.32 / $1.28.
XHuoAPI (Standard)qwen3.8-max$1.60 / $4.80Official tier $2.00 / $6.00
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.
XHuoAPI (Standard)qwen3.7-plus$0.32 / $1.28Official tier $0.40 / $1.60
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.

GLM (Zhipu)

WhereModel ID$ / 1M in / outNotes
Z.ai (official)
source
glm-5.3$1.40 / $4.40The vendor's own public price.
XHuoAPI (Standard)glm-5.3$1.12 / $3.52Saver $0.70 / $2.20
Spot $0.42 / $1.32
Official tier $1.40 / $4.40
The same key also calls Qwen, GLM, Kimi, GPT, Claude and others, in OpenAI and Anthropic formats. Cheaper tiers trade off stability; see the pricing page.

How to read these tables

Besides price

Related

Use XHuoAPI in Claude Code One API key for multiple LLM providers: four approaches compared Chinese models in coding agents: test results OpenAI-compatible gateways for Chinese AI models: what four platforms actually list DeepSeek vs Qwen vs GLM price comparison Pricing About XHuoAPI
Sign up and create an API key