Pricing updated 2026-08-19: AIWave V4 Flash is $0.638 input, $1.914 output, and $0.0203 cache hit; V4 Pro is $1.914 input, $5.742 output, and $0.0638 cache hit per 1M tokens.
With dozens of Chinese AI models available through a single API, choosing the right one for your budget is easier than you think.


Pricing for AI APIs is a mess. Every provider uses different tiers, different billing models, and different names for similar capabilities. This article puts every major model's pricing side by side so you can stop guessing and start optimizing.
Sorted by total cost for a typical 1:1 input/output ratio. All prices are current as of July 2026 from AIWave's live pricing data.
| Model | Input | Output | Context | Vendor |
|---|---|---|---|---|
| GLM 4.7 Flash | starter credits | starter credits | 128K | Zhipu AI |
| ERNIE 3.5 8K | $0.002 | $0.002 | 8K | Baidu |
| ERNIE 4.0 Turbo / Speed / Lite / Char (7 models) | $0.001 | $0.001 | 8K | Baidu |
| ERNIE 4.0 8K | $0.005 | $0.005 | 8K | Baidu |
| ERNIE 4.0 Turbo 128K | $0.018 | $0.018 | 128K | Baidu |
| DeepSeek R1 Distill Qwen 14B/32B | $0.015 | $0.031 | 128K | DeepSeek |
| GLM 4.5 Air | $0.031 | $0.031 | 8K | Zhipu AI |
| Model | Input | Output | Context | Vendor |
|---|---|---|---|---|
| Qwen3 8B | $0.05 | $0.40 | 128K | Alibaba |
| GLM 4.7 FlashX | $0.06 | $0.06 | 128K | Zhipu AI |
| ERNIE Speed Pro 128K | $0.063 | $0.126 | 128K | Baidu |
| Qwen3 Coder 480B | $0.12 | $0.36 | 128K | Alibaba |
| DeepSeek V4 Flash | $0.638 | $1.914 | 1M | DeepSeek |
| DeepSeek V3 / V3.2 | $0.154 | $0.308 | 128K | DeepSeek |
| GLM 4.5 | $0.151 | $0.151 | 128K | Zhipu AI |
| DeepSeek Chat | $0.638 | $1.914 | 128K | DeepSeek |
| Qwen3 32B | $0.20 | $0.60 | 128K | Alibaba |
| Model | Input | Output | Context | Vendor |
|---|---|---|---|---|
| DeepSeek V4 Pro | $1.914 | $5.742 | 1M | DeepSeek |
| GLM 4.6 | $0.452 | $0.452 | 128K | Zhipu AI |
| MiniMax M2.5 | $0.50 | $2.00 | 1M | MiniMax |
| GLM 4.7 | $0.60 | $2.19 | 128K | Zhipu AI |
| DeepSeek R1 | $0.605 | $2.41 | 128K | DeepSeek |
| Model | Input | Output | Context | Vendor |
|---|---|---|---|---|
| GLM 5 | $1.55 | $4.96 | 128K | Zhipu AI |
| GLM 5 Turbo | $1.80 | $5.40 | 128K | Zhipu AI |
| GLM 5.1 | $2.10 | $6.60 | 128K | Zhipu AI |
| Kimi K2.7 Code | $1.09 | $4.60 | 128K | Moonshot |
| Qwen3.5 397B | $1.50 | $6.00 | 128K | Alibaba |
| ERNIE 5.0 / 5.1 | $2.055 | $2.055 | 8K | Baidu |
| Kimi K2.7 Code HighSpeed | $2.19 | $9.20 | 128K | Moonshot |
| Model | Input (est.) | Output (est.) | Context | Vendor |
|---|---|---|---|---|
| Claude 3.5 Haiku | $0.80 | $4.00 | 200K | Anthropic |
| Claude 3.5 Sonnet | $3.00 | $15.00 | 200K | Anthropic |
| GPT-4o | $2.50 | $10.00 | 128K | OpenAI |
| GPT-4o Mini | $0.15 | $0.60 | 128K | OpenAI |
| Gemini 1.5 Flash | $0.075 | $0.30 | 1M | |
| Gemini 1.5 Pro | $1.25 | $5.00 | 2M |
The tables above sprawl across 60+ models. In practice most AIWave traffic lands on a handful. These are the regular-tier rates AIWave reads from its own live pricing endpoint, USD per 1M tokens — the numbers worth memorizing:
| Model | Input | Output | Cache hit | Vendor |
|---|---|---|---|---|
deepseek-chat | $0.638 | $1.914 | $0.0203 | DeepSeek |
deepseek-v3.2-think | $0.154 | $0.308 | — | DeepSeek |
deepseek-v4-flash | $0.638 | $1.914 | $0.0203 | DeepSeek |
deepseek-v4-pro | $1.914 | $5.742 | $0.0638 | DeepSeek |
deepseek-r1 | $0.605 | $2.409 | — | DeepSeek |
glm-4.7 | $0.930 | $3.410 | $0.220 | Zhipu AI |
glm-5 | $1.550 | $4.960 | $0.400 | Zhipu AI |
glm-5.1 | $2.100 | $6.600 | $0.680 | Zhipu AI |
kimi-k2.5 | $0.660 | $3.300 | $0.122 | Moonshot |
kimi-k3 | $4.500 | $22.500 | $0.900 | Moonshot |
qwen3-coder-480b-a35b-instruct | $0.120 | $0.360 | — | Alibaba |
qwen3-235b-a22b-instruct-2507 | $0.342 | $3.425 | — | Alibaba |
Three things separate the sticker price from the invoice, and every one of them favors reading the table more carefully:
Output is where the money is. Most workloads generate several output tokens per input token, and output is priced 2–5x higher. So sort by output, not input. qwen3-coder-480b at $0.360 output and deepseek-chat at $0.638 are effectively starter credits next to kimi-k2.5 at $1.914 — the same generated token costs 9x more on Kimi. Kimi earns that only when you genuinely need its long context; on ordinary generation it is the wrong default.
The cache column is a real discount, not a footnote. deepseek-chat drops from $0.638 to $1.914 on cached input, glm-1.914 from $0.930 to $0.220, kimi-k2.5 from $0.660 to $0.122 — roughly 76–81% off. If your prompts share a stable prefix (system instructions, tool schemas, a pinned document), design for the cache: constant material first, variable material last, byte-identical between calls.
Reasoning models bill you for thinking. deepseek-r1 at $2.409 output looks close to glm-4.7, but R1 emits its whole chain-of-thought as billable output, so the same question can produce 5–10x the tokens. The line item is output-rate × token-count, and reasoning inflates the second factor. Reserve it for problems that need multi-step deduction and route everything else to a conventional model.
To estimate your monthly spend:
Monthly Cost = (Monthly Input Tokens / 1,000,000) × Input Price
+ (Monthly Output Tokens / 1,000,000) × Output Price
Practical example: Processing 10M input tokens and 20M output tokens per month:
| Model | Monthly Cost |
|---|---|
| GLM 4.7 Flash | $0.00 |
| DeepSeek V4 Flash | See current pricing |
| DeepSeek V4 Pro | See current pricing |
| GPT-4o | $225.00 |
| Claude 3.5 Sonnet | $330.00 |
That's not a typo. DeepSeek V4 Pro delivers comparable (or better) benchmark scores to GPT-4o at 10.7x lower cost.
Chinese AI providers consistently undercut Western pricing by 5-50x while maintaining competitive quality:
This isn't about compromising quality. DeepSeek V4 Pro scores 92.1 on HumanEval (vs GPT-4o's 90.2) and 90.2 on MATH (vs 76.6). You're paying less for equal or better performance.
ernie-4.0-turbo-128k at $0.018/1M instead.For a 1K token prompt producing 500 tokens of output:
| Model | Cost per Call |
|---|---|
| GLM 4.7 Flash | $0.00 |
| DeepSeek V4 Flash | See current pricing |
| DeepSeek V4 Pro | See current pricing |
| GPT-4o | $0.00750 |
At 10,000 calls/day, that's $0.00 vs $2.80 vs $8.40 vs $75.00. Scale makes the difference obvious.
See the live pricing page for the most current rates across all 60+ models. Sign up to start testing with your $0.20 starter credit. Join Discord to discuss cost optimization strategies with other developers.
The formula above is fine for a back-of-envelope, but the reliable way to know a model's cost on your traffic is to run real calls and read usage back. Every model on AIWave returns token counts in the same OpenAI-compatible shape, so one estimator covers all of them.
from openai import OpenAI
client = OpenAI(api_key="sk-your-aiwave-key", base_url="https://aiwave.live/v1")
PRICES = { # USD per 1M tokens, regular tier
"deepseek-chat": (0.638, 1.914), # updated 2026-08-19
"glm-4.7": (0.930, 3.410),
"kimi-k2.5": (0.660, 3.300),
"glm-5.1": (2.100, 6.600),
}
def price(model, prompt):
r = client.chat.completions.create(
model=model, messages=[{"role": "user", "content": prompt}])
pin, pout = PRICES[model]
u = r.usage
cost = u.prompt_tokens / 1e6 * pin + u.completion_tokens / 1e6 * pout
print(f"{model:14} {u.prompt_tokens:>5} in + {u.completion_tokens:>5} out = ${cost:.6f}")
for m in PRICES:
price(m, "Explain a B-tree in three sentences.") # same prompt, four bills
Run that against 50–100 real inputs from your own traffic and you get the only cost comparison that matters: the actual token counts your prompts produce, not a vendor's example.
The same request in curl, piping usage through jq:
curl -s https://aiwave.live/v1/chat/completions \
-H "Authorization: Bearer sk-your-aiwave-key" \
-H "Content-Type: application/json" \
-d '{"model":"glm-4.7","messages":[{"role":"user","content":"hi"}]}' \
| jq '.usage'
And in Node, if your billing dashboard lives in JavaScript:
import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.AIWAVE_KEY, baseURL: "https://aiwave.live/v1" });
const prices = { "deepseek-chat": [0.638, 1.914], "kimi-k2.5": [0.660, 3.300] };
const model = "deepseek-chat";
const r = await client.chat.completions.create({
model, messages: [{ role: "user", content: "Explain a B-tree in three sentences." }],
});
const [pin, pout] = prices[model];
const cost = (r.usage.prompt_tokens / 1e6) * pin + (r.usage.completion_tokens / 1e6) * pout;
console.log(model, r.usage.prompt_tokens, "in", r.usage.completion_tokens, "out", "$" + cost.toFixed(6));
Wire this into a cheap-first router — run the most cost-effective model, keep the ones that pass, re-run only the failures on a stronger model — and the pricing table stops being trivia and starts being your monthly savings.
Ready to put this to the test? Sign up for AIWave and get $0.20 starter credit to try it yourself. No credit card needed.
We're a small team behind AIWave. No VC money, no big marketing budget — just a few people who believe Chinese AI models should be accessible to everyone in the world. Your API calls keep this project alive. If you find value in what we're building, stick around. It means more than you know.
Per-token rates are only the visible layer. Three others move the real number:
The strategy that beats any single-model choice: run the most cost-effective capable model, keep the answers that pass a check, and re-run only the failures on a stronger model. Because every model shares the OpenAI-compatible shape, escalation is a string swap.
from openai import OpenAI
client = OpenAI(api_key="sk-your-aiwave-key", base_url="https://aiwave.live/v1")
LADDER = ["deepseek-chat", "glm-4.7", "glm-5.1"] # cheap -> capable
def answer(prompt, passes):
out = None
for model in LADDER:
resp = client.chat.completions.create(
model=model, messages=[{"role": "user", "content": prompt}])
out = resp.choices[0].message.content
if passes(out): # your validator: schema, tests, a rubric
return model, out
return LADDER[-1], out # fell through: best effort
# most traffic resolves on deepseek-chat at $0.638/$1.914;
# only the hard slice reaches glm-5.1 at $2.100/$6.600
The savings live in step two. If 85% of your traffic passes on deepseek-chat, you pay the cheap rate on 85% of calls and the expensive rate on 15% — a blended cost far below standardizing on the strong model, and far more reliable than standardizing on the weak one. The validator is the hard part and the part worth your time: a JSON schema check, a unit test on generated code, or a second cheap model scoring the answer.
starter credits tiers like GLM 4.7 Flash are real and useful for prototyping, but "starter credits" has a ceiling — rate limits and no throughput guarantee under load. Treat them as the first rung: validate an idea on the starter tier, then move the workload to a paid model with predictable limits before you ship. The paid rates in the authoritative table are low enough ($0.638 input on deepseek-chat) that the jump from starter credits to reliable is single-digit dollars a month for most side projects.
The 5–50x gap is not a loss-leader promotion. It comes from structural things: years of intense domestic price competition, lower training and serving costs, and models like DeepSeek-V3 and GLM engineered for inference efficiency rather than maximum parameter count. The result is a genuine price floor, not a temporary sale — deepseek-chat at $0.638 input and near-starter credits GLM Flash tiers are the steady state. What AIWave adds is access: USD, card payments, and Stripe billing, an OpenAI-compatible endpoint, and Email or GitHub account options, so a developer anywhere can reach those rates without a domestic account.
A big window is not starter credits even when the input price is low, because you pay for every token you put into it. The 1M-context models are genuinely useful when a task needs them, but padding prompts with "just in case" context is how a $0.638 input rate turns into a real bill. Send the minimum context that answers the question, and let retrieval — not a giant prompt — decide what the model sees.
None of this requires switching frameworks or rewriting prompts. It is base_url, model strings, prompt ordering, and a validator — and it is the difference between a $60 month and a $6 one.