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
| Where | Model ID | $ / 1M in / out | Notes |
|---|---|---|---|
| DeepSeek (official) source | deepseek-flash | $0.30 / $1.20 | Peak 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.96 | Peak 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.96 | Off-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.17 | Off-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
| Where | Model ID | $ / 1M in / out | Notes |
|---|---|---|---|
| Alibaba Cloud Model Studio (international) source | qwen3.8-max | $2.00 / $6.00 | The vendor's own public price. |
| Alibaba Cloud Model Studio (international) source | qwen3.7-plus | $0.40 / $1.60 | The 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.80 | Official 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.28 | Official 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)
| Where | Model ID | $ / 1M in / out | Notes |
|---|---|---|---|
| Z.ai (official) source | glm-5.3 | $1.40 / $4.40 | The vendor's own public price. |
| XHuoAPI (Standard) | glm-5.3 | $1.12 / $3.52 | Saver $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
- Official prices are each vendor's public prices on its own platform; using them means a separate account and balance per vendor.
- XHuoAPI's Standard tier is the default for new accounts; Saver and Spot are cheaper and less stable. DeepSeek models use peak / off-peak hours on both sides, and both rates are listed.
- Qwen3.8-Max is available only in the Official and Standard tiers on XHuoAPI.
- For a monthly estimate, use the calculator on the pricing page; cache-hit prices also differ between platforms.
Besides price
- Where data goes: XHuoAPI runs in the US behind Cloudflare, and requests to Chinese vendors' models may be processed in mainland China; see the About page.
- API format: all three vendors offer OpenAI-compatible APIs; XHuoAPI also offers the Anthropic format for some models, which Claude Code needs.