Coding agents are different from chatbots in one important way: they make a lot of calls per task. A single refactor can trigger dozens of model requests — plan, edit, run tests, read the error, try again. At that call volume, the model's unit price matters more than the demo quality.
This guide breaks down what to compare, and gives you a starting shortlist of Chinese coding-capable models with their published list prices from the live NovAI price feed (snapshot 2026-10-26).
An agent session is a loop, not a single prompt. The real cost driver is total tokens per completed task: input tokens (usually the big number, because the agent re-sends context), output tokens, retries, and any tool-call overhead. A model that looks 2x cheaper per token can cost more per task if it needs an extra retry or writes longer diffs.
So compare in this order: model capability on your task → tokens per successful task → price per unit → latency. The last one matters because slow models make agents feel broken.
All prices below are the provider's published list price passed through by NovAI at a 1.0x multiplier with no platform fee. The unit column is what the feed publishes — for chat models this is the comparable cost unit, not always a per-token figure, so always read the unit before comparing numbers.
| Model | Provider | List price | Unit (as published) | Best for |
|---|---|---|---|---|
| GLM-5.3-Flash | Zhipu AI | $0.08 | flat | cheap scaffolding, boilerplate, simple edits |
| Qwen3 Coder Flash | Alibaba Cloud | $0.15 | flat | coding-tuned model at a low price |
| DeepSeek-V4-Flash | DeepSeek | $0.21 | flat | balanced default for agent loops |
| DeepSeek V4.1 Flash | DeepSeek | $0.308 | flat | newer flash variant, similar role |
| Doubao-Seed-2.0-Code | ByteDance | $0.45 | per generation | ByteDance coding stack |
| DeepSeek-V4-Pro | DeepSeek | $0.63 | flat | harder planning / debugging steps |
| Kimi-K2.5 | Moonshot AI | $0.64 | flat | long-context repo reading |
| Kimi-K2.7-Code | Moonshot AI | $1.04 | flat | purpose-built coding model |
| Kimi-K2.7-Code HighSpeed | Moonshot AI | $2.07 | flat | latency-sensitive interactive use |
Most teams do not pick one model — they route by step:
Because every model is behind the same OpenAI-compatible endpoint and key, switching per step is a model parameter change — no extra accounts, no second billing relationship.
from openai import OpenAI
client = OpenAI(
base_url="https://aiapi-pro.com/v1",
api_key="nvai-...", # from /free/index.html
)
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Fix the failing test in src/parser.py"}],
)
print(resp.choices[0].message.content)
If your coding agent supports MCP (Claude Code, Cursor, Cline, VS Code), add the read-only price server and the agent can query cost mid-session instead of guessing:
claude mcp add --transport http novai-prices https://aiapi-pro.com/api/mcp
Tools: cheapest_models, model_price, list_categories. No API key required for price lookups. Full setup guide: Chinese AI models in Claude Code and Cursor via MCP.
usage field.This is also how you catch model swapping: if a candidate claims to be a specific model but its token counts and behaviour diverge from the official endpoint, your eval will show it. Independent canary checks for NovAI are published in the awesome-ai-gateway issue.
The live feed is machine-readable: /china-ai-leaderboard.json (regenerated daily from the model catalogue). The fee policy is in /transparency.json: 0% platform fee, 1.0x multiplier, unused balance refundable within 7 days, failed video/3D jobs refunded in full.
GLM-4.7-Flash is $0 to call and works for simple edits and scaffolding, but it is the cheapest tier - use it for low-stakes steps, not for complex refactors. Before the first top-up a low request-rate limit applies (5 req/min per the published policy).
DeepSeek-V4-Flash is a reasonable starting default: it balances capability, price and latency. Route harder planning or debugging steps to a stronger model and cheap bulk edits to GLM-5.3-Flash.
No. All models are behind one OpenAI-compatible endpoint and one key, so switching is a model parameter change. Billing is at provider list price with a 1.0x multiplier and no platform fee.
Compare cost per successful task, not price per unit: include retries, failed runs and the number of calls per task. The unit column in the price feed differs by model type, so read it before comparing numbers.
Yes, if it supports MCP. Add the read-only price server at https://aiapi-pro.com/api/mcp and the agent can call cheapest_models, model_price and list_categories without an API key.
One OpenAI-compatible endpoint for DeepSeek, Qwen, GLM, Kimi, MiniMax and Doubao. Five models are free to call without a credit card.
Get a free API key →