GLM-5.3 vs DeepSeek V4.1 vs Kimi K3/K3.1 Pro: API Price, Caching and Agent Routing
Compare GLM-5.3 (Flash, FlashX), DeepSeek V4.1 Flash and V4 Pro, Kimi K3 and K3.1 Pro: per-token prices, caching rules, output limits, multimodal input, three worked cost examples and a routing table for coding agents.
GLM-5.3, DeepSeek V4.1 and Kimi K3 all offer roughly one-million-token context, but they sit at very different price points. Checked against the official pricing pages of Z.AI, DeepSeek and Kimi on November 16, 2026:
- GLM-5.3 Flash ($0.15 / $0.50) and DeepSeek V4.1 Flash ($0.15 / $0.60 off-peak, $0.30 / $1.20 peak) are the low-cost routes.
- DeepSeek V4.1 Flash has by far the cheapest cached input ($0.003–$0.006 per 1M), so it wins cache-heavy agent loops.
- GLM-5.3 ($1.40 / $4.40) and DeepSeek V4 Pro ($0.66 / $1.98 off-peak, $1.32 / $3.96 peak) are the mid-priced flagships.
- Kimi K3.1 Pro ($2 / $10) is now Moonshot’s newest flagship and one third cheaper than Kimi K3 ($3 / $15).
- Kimi and DeepSeek V4.1 Flash accept images; Kimi K3 also accepts video. GLM-5.3 is text-only.
Price Comparison (USD per 1M tokens)
| Model | Input | Cached input | Output | Context | Max output | Visual input |
|---|---|---|---|---|---|---|
| GLM-5.3 | $1.40 | $0.26 | $4.40 | 1M | 128K | No |
| GLM-5.3 FlashX | $0.37 | $0.075 | $1.25 | 1M | 128K | No |
| GLM-5.3 Flash | $0.15 | $0.03 | $0.50 | 1M | 128K | No |
| DeepSeek V4.1 Flash, off-peak | $0.15 | $0.003 | $0.60 | 1M | 384K | Image |
| DeepSeek V4.1 Flash, peak | $0.30 | $0.006 | $1.20 | 1M | 384K | Image |
| DeepSeek V4 Pro, off-peak | $0.66 | $0.022 | $1.98 | 1M | 384K | No |
| DeepSeek V4 Pro, peak | $1.32 | $0.044 | $3.96 | 1M | 384K | No |
| Kimi K3.1 Pro | $2.00 | $0.20 | $10.00 | 1M | — | Image |
| Kimi K3 | $3.00 | $0.30 | $15.00 | 1M | Up to 1M | Image, video |
Kimi does not publish a maximum output for K3.1 Pro on its pricing page, so it is left blank. A separate K3.1 Pro Highspeed endpoint costs $4 / $20.
Billing Rules That Differ Between the Three
DeepSeek: time-of-day pricing. Peak hours are 01:00–04:00 and 06:00–10:00 UTC (09:00–12:00 and 14:00–18:00 Beijing time), Monday to Friday. Every other hour, weekends and Chinese public holidays bill at half the peak rate. The deepseek-flash ID serves V4.1 Flash; the old deepseek-v4-flash IDs route to it at the same price. Caching is automatic and free to write. Details: DeepSeek API pricing guide.
Kimi: cache writes are billed by TTL. Prefix caching is automatic with a 5-minute default TTL. On K3, writing to the cache costs $3 per 1M tokens for 5 minutes or $6 for 1 hour; on K3.1 Pro, $2 or $4. A cache hit bills only the hit price ($0.30 on K3, $0.20 on K3.1 Pro) with no further write charge. Batch jobs on K3 and K3.1 Pro cost 60% of the standard price. Details: Kimi K3 API pricing guide.
Z.AI: flat rates, free cache storage. GLM prices do not change by time of day or context length, and cached-input storage is free for a limited time (Z.AI gives no end date). GLM-5.3 always reasons, with low, high and max effort levels.
Worked Cost Examples
Example 1: The same task with no cache hits
2M input and 500K output tokens:
| Model | Arithmetic | Cost |
|---|---|---|
| GLM-5.3 Flash | 2 × $0.15 + 0.5 × $0.50 | $0.55 |
| DeepSeek V4.1 Flash, off-peak | 2 × $0.15 + 0.5 × $0.60 | $0.60 |
| DeepSeek V4.1 Flash, peak | 2 × $0.30 + 0.5 × $1.20 | $1.20 |
| GLM-5.3 FlashX | 2 × $0.37 + 0.5 × $1.25 | $1.365 |
| DeepSeek V4 Pro, off-peak | 2 × $0.66 + 0.5 × $1.98 | $2.31 |
| DeepSeek V4 Pro, peak | 2 × $1.32 + 0.5 × $3.96 | $4.62 |
| GLM-5.3 | 2 × $1.40 + 0.5 × $4.40 | $5.00 |
| Kimi K3.1 Pro | 2 × $2 + 0.5 × $10 | $9.00 |
| Kimi K3 | 2 × $3 + 0.5 × $15 | $13.50 |
Without caching, GLM-5.3 Flash is the cheapest route. Kimi K3 costs 2.7 times GLM-5.3 and 11 to 22 times DeepSeek V4.1 Flash, depending on the hour.
Example 2: A cache-heavy coding-agent task
10M input tokens across all turns, 90% served from cache (9M) and 1M uncached, plus 500K output. On Kimi the uncached 1M is a 5-minute cache write, which costs the same as normal input on both K3 and K3.1 Pro.
| Model | Arithmetic | Cost |
|---|---|---|
| DeepSeek V4.1 Flash, off-peak | 9 × $0.003 + 1 × $0.15 + 0.5 × $0.60 | $0.477 |
| GLM-5.3 Flash | 9 × $0.03 + 1 × $0.15 + 0.5 × $0.50 | $0.67 |
| DeepSeek V4.1 Flash, peak | 9 × $0.006 + 1 × $0.30 + 0.5 × $1.20 | $0.954 |
| GLM-5.3 FlashX | 9 × $0.075 + 1 × $0.37 + 0.5 × $1.25 | $1.67 |
| DeepSeek V4 Pro, off-peak | 9 × $0.022 + 1 × $0.66 + 0.5 × $1.98 | $1.848 |
| DeepSeek V4 Pro, peak | 9 × $0.044 + 1 × $1.32 + 0.5 × $3.96 | $3.696 |
| GLM-5.3 | 9 × $0.26 + 1 × $1.40 + 0.5 × $4.40 | $5.94 |
| Kimi K3.1 Pro | 9 × $0.20 + 1 × $2 + 0.5 × $10 | $8.80 |
| Kimi K3 | 9 × $0.30 + 1 × $3 + 0.5 × $15 | $13.20 |
With heavy caching, DeepSeek V4.1 Flash off-peak overtakes GLM-5.3 Flash, because its cached input costs one tenth as much. DeepSeek V4 Pro off-peak also costs less than a third of GLM-5.3 on this task. Output is now the biggest line for every model.
Example 3: One very long generated document
A single request with a 200K-token prompt that must produce 300K tokens of output:
| Model | Arithmetic | Cost |
|---|---|---|
| DeepSeek V4.1 Flash, peak | 0.2 × $0.30 + 0.3 × $1.20 | $0.42 |
| Kimi K3 | 0.2 × $3 + 0.3 × $15 | $5.10 |
| GLM-5.3, split into 3 calls | 3 × (0.2 × $1.40) + 0.3 × $4.40 | $2.16 |
GLM-5.3 cannot return 300K tokens in one response (128K maximum), so the job needs three calls that each resend the 200K prompt. DeepSeek (384K) and Kimi K3 (up to 1M) can do it in one. Output limits change the bill, not just the workflow.
Capability Differences
GLM-5.3 is Z.AI’s flagship for hard coding, security analysis and long-horizon agents. Flash is the price-first tier; FlashX costs more and is positioned for faster service. Benchmark both on cost per successful task rather than assuming the faster tier lowers total cost. GLM-5.3 accepts text only.
DeepSeek V4.1 Flash is the economic default for routine, cache-heavy and schedulable traffic, and it accepts images. V4 Pro is text-only and should be an escalation route, used where harder coding steps measurably reduce retries.
Kimi K3 accepts text, image and video, supports function calling and structured output, and allows extremely long completions. K3.1 Pro is cheaper and newer; test it before K3 for most work and keep K3 for video input or outputs above what K3.1 Pro handles in your tests. Kimi’s K2 models stopped accepting new users on October 31 and retire by the end of December 2026.
Routing Table for Coding Agents
| Agent step | Start with | Escalate to |
|---|---|---|
| File search, classification, log summaries | DeepSeek V4.1 Flash (off-peak where possible) or GLM-5.3 Flash | GLM-5.3 FlashX |
| Normal patches and tool loops with stable context | DeepSeek V4.1 Flash | DeepSeek V4 Pro |
| Hard coding and long engineering runs | GLM-5.3 or DeepSeek V4 Pro | Kimi K3.1 Pro |
| Image-grounded tasks | DeepSeek V4.1 Flash | Kimi K3.1 Pro |
| Video input, or output beyond 384K tokens | Kimi K3 | Proprietary frontier model |
Route by measured results, not benchmark rank. Track first-pass success, valid tool calls, cache hit rate, total output tokens, wall-clock time and human repair minutes per task.
For the wider Chinese lineup (Qwen, MiniMax, MiMo) see the Chinese AI model API price comparison, and test your own token mix in the AI Pricing Calculator.
Sources
Checked November 16, 2026:
- Z.AI pricing: GLM-5.3, Flash and FlashX rates, free cached-input storage
- GLM-5.3 docs
- DeepSeek pricing: V4.1 Flash and V4 Pro peak and off-peak rates, model IDs, output limits, vision support
- Kimi K3 series pricing: K3, K3.1 Pro and Highspeed rates, cache-write TTL pricing, Batch discount, K2 retirement
Next step
Related Posts
Chinese AI Model API Prices 2026: GLM-5.3, Kimi K3, DeepSeek V4.1, Qwen 3.8
2026-06-14
AI Coding Agent Cost Comparison 2026: GPT-6, Opus 5.5, DeepSeek, and Kimi
2026-05-07
How to Use GLM-5.3 in Claude Code (Official Z.AI Setup, 2026)
2026-11-16