Pricing & Billing · As of 2026-11-26

Chinese AI Coding Models Price Comparison (November 2026): GLM, Kimi, DeepSeek and Qwen Prices, Context and One-Key Access

As of 2026-11-25, going by vendor list prices, the cheapest Chinese models for coding are DeepSeek V4.1 Flash ($0.30 / $1.20 at peak, half that off-peak), GLM-5.3-Flash and Qwen3.8-Flash (about $0.15 input). Among flagships, GLM-5.3 ($1.40 / $4.40), Qwen4-Max ($1.50 / $4.50) and DeepSeek V4 Pro ($1.32 / $3.96 at peak) all list well below Claude Sonnet 5.5 and GPT-6.2 Sol ($2 / $10 each). GLM-5.4, released on November 23, is available only through Zhipu's GLM Coding Plan for now and has no public API price. The tables below put prices, context windows and QCode availability side by side, then show how to call these models with one key in Claude Code and in OpenAI-compatible tools.

QCode is an independent third-party API service. It is not affiliated with Zhipu (Z.ai), Moonshot, DeepSeek, Alibaba Cloud, Anthropic or OpenAI. Every price here carries its source and date. Always check the vendor's pricing page and the live rates on /models.

Updated 2026-11-26

Key facts

  • Cheapest coding model: DeepSeek V4.1 Flash (API name deepseek-flash) lists at $0.30 / $1.20 peak and $0.15 / $0.60 off-peak, with cache hits from $0.003 (DeepSeek pricing page, read 2026-11-25).
  • Flagship list prices: GLM-5.3 $1.40 / $4.40 (Z.ai official), Qwen4-Max $1.50 / $4.50 (Alibaba Cloud international, official), DeepSeek V4 Pro $1.32 / $3.96 at peak (DeepSeek official), Kimi K3.1 Pro about $2 / $10 (reported), Kimi K3 about $3 / $15 (reported).
  • Two DeepSeek dates: peak/off-peak pricing for V4 Pro since 2026-08-16; V4 Flash retired on 2026-09-10, with the old name deepseek-v4-flash served by V4.1 Flash at the Flash price.
  • GLM-5.4: released 2026-11-23, 1M context, available on the GLM Coding Plan, ZCode and Z.ai Chat only. Zhipu says API access opens after a security assessment. No API price yet.
  • On QCode: as of 2026-11-26, /models lists glm-5.3, glm-5.3-flash, kimi-k3, kimi-k3.1-pro, deepseek-v4-pro, deepseek-v4.1-flash, qwen3.8-max, qwen3.8-flash and more. QCode is adding GLM-5.4 — check /models for availability and the exact model ID; GLM-5.3 works today. Qwen4-Max is not on QCode /models as of 2026-11-26; check /models.
  • One key, two protocols: Chinese models work on both QCode's Anthropic and OpenAI endpoints. In Claude Code, switch with /model glm-5.3. In your own code, use https://api.qcode.cc/openai/v1.

November 2026 price table for Chinese coding models

Prices are USD per million tokens (input / cached input / output). The "Source" column separates official pricing pages from press reports. Re-check reported figures against the vendor before relying on them.

Model Vendor Input Cache hit Output Context Source and date On QCode /models (2026-11-26)
GLM-5.3 Zhipu / Z.ai $1.40 $0.26 $4.40 1M, 128K output Z.ai pricing page, 2026-11-25 Listed: glm-5.3
GLM-5.3-Flash Zhipu / Z.ai $0.15 $0.03 $0.50 1M Z.ai pricing page, 2026-11-25 Listed: glm-5.3-flash
GLM-5.4 Zhipu / Z.ai not published not published not published 1M, 128K output Z.ai docs: API after security assessment Being added; check /models
Kimi K3 Moonshot $3.00 $0.30 $15.00 1,048,576 Reported (Yotta Labs and others) Listed: kimi-k3
Kimi K3.1 Pro Moonshot $2.00 $0.20 $10.00 1,048,576 Reported (Yotta Labs, citing Moonshot) Listed: kimi-k3.1-pro
DeepSeek V4 Pro (peak) DeepSeek $1.32 $0.044 $3.96 1M, up to 384K output DeepSeek pricing page, 2026-11-25 Listed: deepseek-v4-pro
DeepSeek V4 Pro (off-peak) DeepSeek $0.66 $0.022 $1.98 same same same
DeepSeek V4.1 Flash (peak) DeepSeek $0.30 $0.006 $1.20 1M, up to 384K output DeepSeek pricing page, 2026-11-25 Listed: deepseek-v4.1-flash
DeepSeek V4.1 Flash (off-peak) DeepSeek $0.15 $0.003 $0.60 same same same
Qwen3.8-Max Alibaba Cloud $2.00 ~$0.25 $6.00 1M Alibaba Cloud intl. (official); cache price reported by DataCamp Listed: qwen3.8-max
Qwen3.8-Flash Alibaba Cloud $0.15 not listed $0.47 1M Alibaba Cloud intl., 2026-11-25 Listed: qwen3.8-flash
Qwen4-Max Alibaba Cloud $1.50 ~$0.075 $4.50 1M Alibaba Cloud intl. (official); cache price reported by HPCwire Not listed as of 2026-11-26

Reference models (official prices, per million tokens):

Model Input Cache hit Output Note
Claude Sonnet 5.5 (claude-sonnet-5-5) $2.00 $0.10 $10.00 Anthropic official; 1M context at standard rates
GPT-6.2 Sol (gpt-6.2-sol) $2.00 $0.10 $10.00 OpenAI official; a request with more than 272K input is billed at the long-context rate for the whole request — check /models for the rate that applies

On QCode, Claude and GPT models are billed at the official API price ×1.0. For Chinese models, the rate you are charged is whatever /models shows; this article does not replace that page.

How to read the table:

  1. Alibaba prices vary by region. The Qwen rows use the international (Singapore) region. In the Beijing region, Qwen3.8-Flash lists lower, at $0.113 / $0.382.
  2. Qwen3.7-Plus is tiered. Input $0.4 / output $1.6 up to 256K, then $1.2 / $4.8 from 256K to 1M (Alibaba Cloud international, with a limited-time discount note). It can make a cheap mid-tier option; check /models for current availability and the exact model ID.
  3. Kimi has a batch discount. Moonshot's docs say batch inference for kimi-k3.1-pro and kimi-k3 costs 60% of the standard price, which suits offline jobs such as bulk refactors or test generation.
  4. Tokens are not characters. Each vendor's tokenizer counts the same code differently. Anthropic itself notes that the Claude 4.7+ tokenizer produces about 30% more tokens for the same text. Unit price alone can mislead, so run your own task and read the bill.

DeepSeek: peak/off-peak pricing and the V4 Flash retirement

DeepSeek changed its pricing more than anyone this year. Three changes matter most for coders:

  • Peak/off-peak pricing for V4 Pro since 2026-08-16. DeepSeek's pricing page defines peak as 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday, excluding Chinese public holidays. Everything else, including weekends and holidays, is off-peak at half price. According to BenchLM, V4 Pro used to have a flat $0.435 / $0.87, so the peak rate is about 3x on input and about 4.6x on output.
  • V4 Flash retired on 2026-09-10. DeepSeek says legacy names such as deepseek-v4-flash are still accepted, but the model behind them is retired. Requests are served by DeepSeek-V4.1-Flash-1017 at the Flash price, and you should use deepseek-flash going forward. On QCode, use deepseek-v4.1-flash directly and check the rate shown on /models for the ID you call.
  • Search and Fetch calls billed from 2026-11-01 at $0.75 per 1,000 successful requests (reported by BenchLM). Plain coding rarely triggers them, but agents that browse on their own can.

A practical pattern: if your working hours overlap DeepSeek's peak windows, queue large refactors, test generation and documentation passes for evenings and weekends on V4 Pro, and keep interactive work on V4.1 Flash, which is cheap at any hour. See also DeepSeek V4.1 Flash pricing.

What each model is good at for coding

The strengths below are vendor claims or independent tests, each attributed. They are not QCode's own benchmark results.

GLM-5.3 / GLM-5.3-Flash (Zhipu). GLM-5.3 launched in August 2026; Zhipu credits a large jump to scaled-up post-training (reported by The Decoder). It is text-only, reasoning is always on, and effort has three levels: low, high and max. With 1M context and 128K output, it handles questions across a large repo and multi-file edits. GLM-5.3-Flash is natively multimodal and costs about a tenth of GLM-5.3, so it fits screenshot-to-code, subagents and high-volume small tasks. More in the GLM-5.3 guide.

GLM-5.4 (Zhipu). Released November 23 as Zhipu's first Loop Transformer flagship: it runs 28 layers of the GLM-5 base twice, adding depth without adding parameters. It accepts video, image, text and file input. Zhipu says it reaches intelligence comparable to 2T–3T-parameter models, and also lists a known weakness: overly long "marathon thinking." It is subscription-only for now; see section 5.

Kimi K3 / K3.1 Pro (Moonshot). K3 launched in July with open weights. K3.1 Pro launched on October 23; Moonshot reports 65.7% on Terminal-Bench 4.0 against 66.4% for Claude Opus 5.5 in the same table (vendor figures, reported by TNW). Note that kimi-k3.1-pro reasons before answering, so long-thinking tasks can cost more than the unit price suggests; the rate shown on /models is what applies.

DeepSeek V4 Pro / V4.1 Flash. Both have 1M context and up to 384K output, the highest output ceiling in this group, which helps when you generate long files or migration scripts in one go. V4.1 Flash is the cheapest model here and suits Claude Code background tasks, code search and bulk commenting.

Qwen3.8-Max / Qwen3.8-Flash / Qwen4-Max (Alibaba). Qwen3.8-Max is a 2.4T-parameter MoE model (reported by DataCamp). Qwen4-Max launched on November 16 with 2.4T total and 71B active parameters, 1M context and native vision. Alibaba says it lowers cost per task by about 60% versus 3.8-Max (vendor claim, reported by HPCwire); it has been in Qwen Code since November 19. Qwen4-Max is not on QCode /models as of 2026-11-26; check /models for availability and the exact model ID.

A rough comparison with Claude Sonnet 5.5 and GPT-6.2 Sol

To make the numbers concrete, here is the list-price cost of one request with 1M uncached input tokens and 100K output tokens. This is simple multiplication, not a benchmark, and different models will not use the same number of tokens for the same task.

Model 1M input + 100K output at list price
GLM-5.3-Flash ~$0.20
Qwen3.8-Flash ~$0.20
DeepSeek V4.1 Flash ~$0.42 peak / ~$0.21 off-peak
DeepSeek V4 Pro ~$1.72 peak / ~$0.86 off-peak
GLM-5.3 ~$1.84
Qwen4-Max ~$1.95
Qwen3.8-Max ~$2.60
Kimi K3.1 Pro ~$3.00 (reasoning tokens billed as output on top)
Claude Sonnet 5.5 ~$3.00
GPT-6.2 Sol ~$3.00
Kimi K3 ~$4.50

The takeaway: on this measure the GLM, Qwen and DeepSeek flagships cost roughly 55%–90% of Sonnet 5.5 or GPT-6.2 Sol, Kimi K3.1 Pro is level with them and Kimi K3 costs more, while the Flash tier costs only 7%–15%. Real agent costs also depend on cache hit rate, thinking tokens and the number of turns. One independent reviewer found that GLM-5.4 used about 1.04M tokens and 431 minutes on a single test suite (KingBench 4, as summarized by DataCamp), far more than some rivals. A sensible split is to keep the model you trust for hard, high-stakes work and hand high-volume, low-risk jobs, such as search, bulk generation and subagents, to a cheaper Chinese model.

How can you use GLM-5.4 today?

GLM-5.4 is this month's most discussed Chinese model (1,170 points on the Hacker News front page, per the 2026-11-25 HN digest). As of 2026-11-26:

  • Where it runs: the GLM Coding Plan (Zhipu's docs say "All plans support GLM-5.4"), ZCode and Z.ai Chat.
  • API: Zhipu's docs say the model API "will be made available upon completion of the security assessment." There is no public price. Weights are to be released after "safety hardening," with no date.
  • Quota: on weekly-quota plans, GLM-5.4 gets 1.5x the GLM-5.3 quota (Zhipu docs).
  • QCode: QCode is adding GLM-5.4 — check /models for availability and the exact model ID. glm-5.3 works today, so you can build your workflow on it now and evaluate a switch once GLM-5.4 is live. Full details in the GLM-5.4 guide.

Calling these models with one key

On QCode, Claude models use only the Anthropic endpoint, GPT models use only the OpenAI endpoint, and Chinese models work on both.

In Claude Code (Anthropic protocol)

Point Claude Code at QCode:

export ANTHROPIC_BASE_URL=https://api.qcode.cc/api
export ANTHROPIC_AUTH_TOKEN=cr_your_key
claude

Then switch models inside the session without touching the base URL:

/model glm-5.3
/model kimi-k3.1-pro
/model deepseek-v4-pro

You can also start with claude --model deepseek-v4.1-flash, or keep Claude for the main work and move only Haiku-class background tasks to a cheaper model. Put this in the env block of ~/.claude/settings.json (the variable names come from Claude Code's official docs):

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.qcode.cc/api",
    "ANTHROPIC_AUTH_TOKEN": "cr_your_key",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4.1-flash"
  },
  "model": "claude-sonnet-5-5"
}

Two caveats. Claude Code assumes a 200K context window for model IDs it does not recognize (Claude Code docs). And non-Claude models may not support Claude-native features such as extended thinking, so test before relying on them and treat Chinese models as a complement rather than a full replacement. More combinations in Claude Code with DeepSeek, GLM, Kimi and Qwen.

In your own code and OpenAI-compatible tools (OpenAI protocol)

For Cline, OpenCode, Cherry Studio and your own scripts, set the base URL to https://api.qcode.cc/openai/v1 (the asia.qcode.cc and us.qcode.cc hosts take the same key) and type the model ID by hand:

curl https://api.qcode.cc/openai/v1/chat/completions \
  -H "Authorization: Bearer $QCODE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.3","messages":[{"role":"user","content":"Write a Python HTTP GET helper with retries"}]}'

Compare several vendors with a single client:

from openai import OpenAI

client = OpenAI(base_url="https://api.qcode.cc/openai/v1", api_key="cr_your_key")
prompt = "Write pytest unit tests for: def add(a, b): return a + b"

for model in ["glm-5.3", "kimi-k3.1-pro", "deepseek-v4.1-flash", "qwen3.8-max"]:
    r = client.chat.completions.create(model=model, messages=[{"role": "user", "content": prompt}])
    print(model, r.usage.prompt_tokens, r.usage.completion_tokens)
    print(r.choices[0].message.content[:300])

Multiply the usage token counts by the rates on /models to get the real cost of your own task. Do not paste https://api.qcode.cc/api (the Anthropic prefix) into an OpenAI-compatible tool; that returns 404.

Quick picker

Your situation Try first Why
Tight budget, high volume DeepSeek V4.1 Flash, GLM-5.3-Flash, Qwen3.8-Flash Lowest unit price, 1M context
Batch jobs at night or on weekends DeepSeek V4 Pro (off-peak) Half price off-peak
Large-repo understanding, multi-file edits GLM-5.3, Qwen3.8-Max, Kimi K3.1 Pro 1M-context flagships
Screenshots or designs to code GLM-5.3-Flash (multimodal) GLM-5.3 is text-only
You want GLM-5.4 right now GLM Coding Plan Only channel today; QCode is adding it — check /models
Architecture decisions, critical code Claude Sonnet 5.5 / Opus 5.5 or GPT-6.2 Sol Official price ×1.0 on QCode

FAQ

Which Chinese coding model is cheapest in November 2026?

At list price, DeepSeek V4.1 Flash off-peak is the lowest overall: $0.15 input, $0.60 output and $0.003 for cache hits. GLM-5.3-Flash ($0.15 / $0.50) and Qwen3.8-Flash ($0.15 / $0.47) match it on input and are lower on output. Pick based on whether you need multimodal input or long outputs.

How much cheaper are Chinese flagships than Claude Sonnet 5.5?

Sonnet 5.5 lists at $2 / $10. GLM-5.3 is $1.40 / $4.40, Qwen4-Max $1.50 / $4.50 and DeepSeek V4 Pro $1.32 / $3.96 at peak. For 1M input plus 100K output, that is about 55%–65% of the Sonnet 5.5 cost, but token counting and the number of turns change the real figure, so test with your own work.

Can I still use DeepSeek V4 Flash?

DeepSeek retired V4 Flash on 2026-09-10. The legacy name deepseek-v4-flash still works, but V4.1 Flash answers and you pay the Flash price. DeepSeek recommends deepseek-flash; on QCode, use deepseek-v4.1-flash.

When are DeepSeek's peak hours?

Monday to Friday, 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other hours are off-peak at half price. Convert to your own time zone before scheduling batch jobs.

Does GLM-5.4 have an API price, and is it on QCode?

GLM-5.4 has no public API price as of 2026-11-26. Zhipu says the API opens after a security assessment; until then GLM-5.4 runs on the GLM Coding Plan, ZCode and Z.ai Chat. QCode is adding GLM-5.4 — check /models for availability and the exact model ID; glm-5.3 works today.

Is Qwen4-Max available on QCode?

Qwen4-Max is not on QCode /models as of 2026-11-26; check /models for availability and the exact model ID. Alibaba Cloud's international list price is $1.50 input and $4.50 output.

How do I switch to a Chinese model in Claude Code?

Point Claude Code at QCode with ANTHROPIC_BASE_URL=https://api.qcode.cc/api and ANTHROPIC_AUTH_TOKEN, then type /model glm-5.3 or another model ID in the session. No extra key is needed. To change only background tasks, set ANTHROPIC_DEFAULT_HAIKU_MODEL.

What does QCode charge for Chinese models?

Claude and GPT models are billed at the official API price ×1.0. For Chinese models, the live rate on /models is what applies. Run a small test and compare it with your usage log.

Try them all with a pay-as-you-go pack

A price table tells you unit prices; only a real run tells you which model fits your codebase. QCode's pay-as-you-go packs need no subscription, start at $4 and last 7 days; see the pack page for which models a pack covers and /models for the live rate of each model. One key lets you call GLM, Kimi, DeepSeek and Qwen alongside Claude and GPT in Claude Code, Cline, OpenCode or your own scripts. For daily use over a longer period, see the subscription plans on /pricing.

Sources: Z.ai pricing page, DeepSeek pricing page, Alibaba Cloud Model Studio international pricing page and Zhipu's GLM-5.4 docs (all read 2026-11-25); Kimi prices from Yotta Labs; Kimi K3.1 Pro benchmark from TNW; Qwen4-Max specs from HPCwire; DeepSeek price history from BenchLM.

Try them all with a pay-as-you-go pack

One key for both the Anthropic Messages API and OpenAI-compatible APIs. Claude and GPT are billed at the official price ×1.0; live rates are on /models.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack