Skip to content

models

13 posts with the tag “models”

DeepSeek V4.1 Flash: what changed, and how to use it over the API

On September 10, 2026 DeepSeek released DeepSeek V4.1 Flash — not a retrain this time, a new generation: 552B parameters (mixture-of-experts, 8B active per token in prefill and 16B in decode), a new “causal encoder–decoder” architecture, vision trained in from the start of pre-training, a 1M-token context, and MIT weights on Hugging Face at deepseek-ai/DeepSeek-V4.1-Flash (the tech report PDF ships in the same repo).

It replaced the previous build in our Core Pool the same day. There is exactly one thing to migrate: the model id. The new id is deepseek-v4.1-flash; the old deepseek-v4-flash keeps working as an alias until October 10, 2026, after which it returns an invalid-model error. Same key, same endpoints, same subscription, same reserved hours — unlimited, flat-rate access starts from $17.99/mo ($15.29/mo billed annually), live pricing on /pools.

Terminal window
# before # from 2026-09-10
"model": "deepseek-v4-flash" "model": "deepseek-v4.1-flash"

The headline claim in DeepSeek’s own release material is that V4.1 Flash beats its own larger V4-Pro on performance, cost, speed and total time to finish a task. It is confident enough in that to act on it: from September 14, 2026 DeepSeek will route its own deepseek-v4-pro traffic to V4.1 Flash, billed at Flash rates, until a V4.1-Pro exists.

Here are the three agent benchmarks from the instruct table on the model card, next to V4-Pro and Claude Opus 5.0. All of these are vendor-run — DeepSeek’s own harness at maximum reasoning effort (reasoning_effort=100), with no independent verification yet:

DeepSeek V4.1-FlashDeepSeek V4-ProClaude Opus 5.0
Terminal-Bench 2.1 DeepSWE v1.1 AutomationBench V4.1-Flash — Terminal-Bench 2.1: 90.6 V4-Pro — Terminal-Bench 2.1: 87.9 Claude Opus 5.0 — Terminal-Bench 2.1: 89.1 V4.1-Flash — DeepSWE v1.1 resolved: 74.2 V4-Pro — DeepSWE v1.1 resolved: 62.7 Claude Opus 5.0 — DeepSWE v1.1 resolved: 74.0 V4.1-Flash — AutomationBench pass@1: 54.8 V4-Pro — AutomationBench pass@1: 43.2 Claude Opus 5.0 — AutomationBench pass@1: 50.3 90.687.989.1 74.262.774.0 54.843.250.3

Same numbers as a table, plus the base-model scores DeepSeek publishes alongside them:

Instruct (vendor harness, max reasoning effort)V4.1-FlashV4-ProClaude Opus 5.0
Terminal-Bench 2.190.687.989.1
DeepSWE v1.1 (resolved)74.262.774.0
AutomationBench (pass@1)54.843.250.3
Base modelV4.1-Flash-BaseV4-Flash-BaseV4-Pro-Base
MMLU-Pro74.168.373.5
HumanEval79.469.576.8
GSM8K93.090.892.6

Two honest readings, and both are worth holding at once. The generous one: on DeepSeek’s own harness, a model with 8–16B active parameters edges past Claude Opus 5.0 on all three agent benchmarks, and past its own Pro-tier sibling on every row of both tables — which is exactly why DeepSeek is willing to point Pro traffic at it. The sceptical one: every number above was produced by the vendor, at maximum reasoning effort, on its own scaffolding. Vendor tables set expectations; they don’t settle them. Where independent evaluation lands is the next section.

Where it lands on the independent board — pending

Section titled “Where it lands on the independent board — pending”

Artificial Analysis has not published an Intelligence Index score for V4.1 Flash yet. So we are not moving anything on the strength of a vendor table: our Pareto Frontier, Price Tracker and Which-LLM reports keep the previous build’s plotted point until an independent score exists. For reference, the build this one replaces scored 50 on that index when it launched (52 after AA’s later v4.1.1 recalibration). We’ll update the reports when AA publishes.

The architecture, the vision, and the price

Section titled “The architecture, the vision, and the price”
DeepSeek V4.1 Flash
Parameters552B mixture-of-experts — 8B active per token in prefill, 16B in decode
ArchitectureNew causal encoder–decoder: a 20-layer causal encoder followed by a 20-layer decoder
VisionNative — a from-scratch vision encoder plus projector, trained alongside text from the start of pre-training, not bolted on afterwards
Context window1M tokens
KV cache~890 bytes per token — DeepSeek reports roughly ¼ of the previous generation’s HBM footprint and ⅛ of its SSD footprint
WeightsMITdeepseek-ai/DeepSeek-V4.1-Flash, tech report in the repo
Model id heredeepseek-v4.1-flash (old deepseek-v4-flash accepted until 2026-10-10)
PoolCore Pool, alongside MiMo v2.5

The cache line is the one with second-order consequences. A quarter of the KV footprint per token is what makes a 1M-token context economically serious rather than a spec-sheet number — and it is the mechanism behind DeepSeek’s list price coming down on a newer, larger model, which is not the usual direction:

DeepSeek list price, per 1M tokensV4 Flash (before)V4.1 Flash (now)
Off-peak input$0.22$0.15
Off-peak output$0.66$0.60
Peak input$0.44$0.30
Peak output$1.32$1.20
Cache hit (off-peak / peak)$0.003 / $0.006

Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday; everything else is off-peak. DeepSeek has retired the deepseek-v4-flash id on its own API, where it now routes to V4.1.

On a flat-rate subscription none of that column matters at all — a Core Pool block costs the same whether your agent burns one million tokens or one billion — but it matters as a signal: the cheap tier keeps getting better without getting more expensive. We track that trend month by month in the LLM Price Tracker.

curl:

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI SDK (Python):

from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-...", # your subscriber key
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Fix the failing test in this repo..."}],
)
print(response.choices[0].message.content)

Anthropic SDK (Python) — the same key against the /anthropic endpoint:

from anthropic import Anthropic
client = Anthropic(
base_url="https://api.cheapestinference.com/anthropic",
api_key="sk-...", # your subscriber key
)
message = client.messages.create(
model="deepseek-v4.1-flash",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain this stack trace..."}],
)
print(message.content[0].text)

No account yet? Register, subscribe to the Core Pool, and mint a key at cheapestinference.com/keys.

Claude Code speaks the Anthropic Messages API, so it drops in with two environment variables (plus the small-model one):

Terminal window
export ANTHROPIC_BASE_URL="https://api.cheapestinference.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-..." # your subscriber key
export ANTHROPIC_MODEL="deepseek-v4.1-flash"
export ANTHROPIC_SMALL_FAST_MODEL="deepseek-v4.1-flash"

Start claude as usual — every request runs on V4.1 Flash with no per-token meter. Per-project pinning, thinking blocks and the rest of the setup are in the Claude Code + DeepSeek guide. The same key works in Cline, Roo Code, Continue and anything that accepts a custom OpenAI base URL.

Vision is native, and it uses the standard content formats on both endpoints — image_url parts on /v1/chat/completions, image blocks on /anthropic/v1/messages, in user messages, inside the same 1 MB per-request budget as everything else:

response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "What does this dashboard screenshot show?"},
{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{b64}"}},
],
}],
)

Does DeepSeek V4.1 Flash have open weights? Yes — MIT, on Hugging Face at deepseek-ai/DeepSeek-V4.1-Flash, with the tech report PDF in the same repo. MIT means unrestricted commercial use, including self-hosting.

Does it replace V4-Pro? For DeepSeek’s own traffic, effectively yes for now: from September 14, 2026 requests to deepseek-v4-pro will be routed to V4.1 Flash and billed at Flash rates, until a V4.1-Pro ships. On its own tables V4.1 Flash outscores V4-Pro on every row we quote above.

What is its Artificial Analysis Intelligence Index score? There isn’t one yet — AA has not published a score for V4.1 Flash. Our living reports keep the previous build’s point on the chart until it does; we’ll update them when it lands.

Do I have to change anything to keep working? One line: the model id becomes deepseek-v4.1-flash. deepseek-v4-flash still resolves here until October 10, 2026, then returns an invalid-model error. Keys, endpoints, subscriptions and reserved blocks are untouched.

Can it read images? Yes, natively — vision was in the pre-training, not added afterwards. Send image_url parts (OpenAI format) or image blocks (Anthropic format) in user messages, within the 1 MB per-request limit.

Is it better than Claude Opus? On DeepSeek’s own three agent benchmarks above it is ahead of Claude Opus 5.0 — 90.6 vs 89.1, 74.2 vs 74.0, 54.8 vs 50.3. Those are vendor-run numbers at maximum reasoning effort with no independent verification, and two of the three margins are inside a point; treat them as a claim worth testing on your own workload, not a settled ranking.

Full details: DeepSeek V4.1 Flash API docs · Plans & Limits · what a flat monthly DeepSeek subscription changes.

Check live Core Pool availability →


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

GLM-5.3-Flash: specs, benchmarks, pricing & API options

GLM-5.3-Flash is Z.ai’s (Zhipu AI) efficiency-tier release next to GLM-5.3, and the headline is simple: Artificial Analysis measures it at 57 on its Intelligence Index at a blended price of $0.10 per 1M tokens$0.09 per Index task, on AA’s intelligence-vs-cost Pareto frontier, ranked #4 of 111 open-weights models it tracks. For scale: the entire index currently tops out at 63.

Unlike its big sibling — a post-training pass on the existing 743B GLM base — Flash is a new model: 320B total / 18B active MoE with hybrid sparse + linear attention, trained on a 30T-token multimodal corpus, and natively multimodal (image, video and file input) where GLM-5.3 is text-only. The weights are on Hugging Face under MIT (zai-org/GLM-5.3-Flash) — plain MIT, where the flagship’s custom license carries a security-review clause for large Model-as-a-Service operators.

Architecture320B total / 18B active MoE, hybrid sparse + linear attention
MultimodalNative — image, video, text and file input; text output
Context window1M tokens; up to 128K output
ReasoningReasoning model — thinking always on, cannot be disabled on the direct API
Open weightsYes — zai-org/GLM-5.3-Flash, MIT license (BF16 + FP8)
List price (API)$0.15 in / $0.50 out per 1M, cached input $0.03 — 50% launch promo ($0.075 / $0.25) until September 9, 2026
Measured speed48.6 output tok/s, 1.51s to first token (Artificial Analysis)

Z.ai’s own reported numbers (vendor harness — not independently reproduced), with the retired GLM 5.2 and the full GLM-5.3 on either side:

GLM 5.2 (743B, retired)GLM-5.3-Flash (18B active)GLM-5.3 (743B)
Terminal-Bench 2.1 DeepSWE v1.1 AutomationBench GLM 5.2 — Terminal-Bench 2.1: 81.0 GLM-5.3-Flash — Terminal-Bench 2.1: 84.3 GLM-5.3 — Terminal-Bench 2.1: 88.2 GLM 5.2 — DeepSWE v1.1: 46.2 GLM-5.3-Flash — DeepSWE v1.1: 63.4 GLM-5.3 — DeepSWE v1.1: 66.9 GLM 5.2 — AutomationBench v1.0.6: 26.2 GLM-5.3-Flash — AutomationBench v1.0.6: 48.8 GLM-5.3 — AutomationBench v1.0.6: 48.2 81.084.388.2 46.263.466.9 26.248.848.2
Benchmark (Z.ai, vendor-run)GLM 5.2GLM-5.3-FlashGLM-5.3
Terminal-Bench 2.181.084.388.2
DeepSWE v1.146.263.466.9
AutomationBench v1.0.626.248.848.2

Two things stand out. An 18B-active model beats the 743B GLM 5.2 on all three — a model that was frontier-class until weeks ago. And on AutomationBench it edges out the full GLM-5.3 itself. Z.ai also reports Flash within half a point of Claude Opus 4.8 on its internal Code Bench v1.0 (29.0 vs 29.5, max effort) — vendor-run, so hold it loosely until independent reproductions land.

The independent signal, from Artificial Analysis (current index edition — every score below re-verified today):

GLM-5.3-FlashServed in a CheapestInference poolReference frontier models
Claude Opus 5 Claude Fable 5 GPT-5.6 Sol Kimi K3 GLM-5.3 Qwen3.8 Max GLM-5.3-Flash Claude Opus 5 (max effort): 63 — current index leader Claude Fable 5 (max effort, Opus 4.8 fallback — AA's evaluated config): 62 GPT-5.6 Sol (max): 61 Kimi K3 (max) — Flagship Pool: 60, tied top open-weights score GLM-5.3 (max) — Frontier Pool: 60, tied top open-weights score — blended $0.90/1M (AA) Qwen3.8 Max — Flagship Pool: 58 GLM-5.3-Flash: 57 — blended $0.10/1M (AA), #4 open-weights model on the index 6362 6160 6058 57

Honest framing, as always: Flash does not beat the closed frontier — Claude Opus 5 leads the index at 63 — and it is three points behind the best open-weights scores (Kimi K3 and GLM-5.3, tied at 60). What is remarkable is the column AA puts next to those scores:

ModelAA Intelligence IndexAA blended $/1M tokens
GLM-5.3 (max)60$0.90
Qwen3.8 Max58
GLM-5.3-Flash57$0.10

Blended = AA’s 7:2:1 cache-hit/input/output mix; scores from the current index edition. Full field and history in our monthly LLM Pareto Frontier report.

95% of GLM-5.3’s measured intelligence at a ninth of its blended price is why AA places Flash on the Pareto frontier: among everything it tracks at this intelligence level, nothing is cheaper per task. The trade-off it does not hide: speed. Flash generates ~48.6 tok/s against GLM-5.3’s ~66.6, so interactive latency is where the smaller model feels smaller.

Z.ai shipped GLM-5.3’s weights under a custom license with a security-review clause for Model-as-a-Service operators above US$10B revenue. Flash ships under plain MIT — no clauses, BF16 and FP8 checkpoints on Hugging Face. For anyone evaluating models to serve rather than just call, that difference is not cosmetic: MIT is as serving-friendly as licenses get, and it makes Flash the most permissively-licensed near-frontier model of the moment.

We serve the full GLM-5.3 unlimited in the Frontier Pool (from $71/mo, flat) since August 30. A near-frontier, MIT-licensed, 1M-context multimodal model is squarely the profile our pools exist for, and Flash is under active evaluation — the live pipeline status is always on the models-under-review page, and additions land in the changelog the day they ship.

What is GLM-5.3-Flash? Z.ai’s efficiency-tier model beside GLM-5.3: a new 320B-total / 18B-active MoE with native multimodal input (image, video, file), a 1M-token context window and MIT-licensed open weights. Artificial Analysis scores it 57 on its Intelligence Index at $0.10 per 1M tokens blended.

How much does the GLM-5.3-Flash API cost? Z.ai lists $0.15 input / $0.50 output per 1M tokens (cached input $0.03), with a 50% launch discount until September 9, 2026. Artificial Analysis measures $0.09 per Intelligence-Index task and a $0.10/1M blended rate.

Does GLM-5.3-Flash have open weights? Yes — zai-org/GLM-5.3-Flash on Hugging Face under the MIT license, in BF16 and FP8. More permissive than the full GLM-5.3, whose custom license adds a security-review clause for large Model-as-a-Service operators.

How good is GLM-5.3-Flash at coding? On Z.ai’s vendor benchmarks it scores 84.3 on Terminal-Bench 2.1 and 63.4 on DeepSWE v1.1 — above the retired 743B GLM 5.2 on both — and 48.8 on AutomationBench, marginally above the full GLM-5.3. Independently, its 57 on the AA index is three points behind the best open-weights models. Its measured output speed is ~48.6 tok/s.

Is there an unlimited GLM-5.3-Flash API subscription? Not from us today — Flash is under evaluation (live status). The full GLM-5.3 is served unlimited in the Frontier Pool from $71/mo: flat monthly fee, no token caps during your reserved hours.


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

GLM-5.3: specs, benchmarks, pricing & API options — now served unlimited

Update, August 30, 2026: the review is over — GLM-5.3 is live in our Frontier Pool as glm-5.3. Z.ai published the open weights on August 28 (zai-org/GLM-5.3, under the custom GLM-5.3 License — commercial use allowed; a security-review clause applies only to Model-as-a-Service operators above US$10B revenue), the licensing gate we describe below lifted, and the pool’s GLM slot was upgraded in place: every Frontier subscriber gets GLM-5.3 at the same flat price, and glm-5.2 requests keep working until September 30, 2026. Setup on the model page. The analysis below is as written on launch day.

GLM-5.3 (API id glm-5.3) is Z.ai’s (Zhipu AI) new coding and agentic model, released today, August 14, 2026, under the tagline “Built to Code. Ready for Cyber Defense.” The architecture story is unusual and worth being precise about: GLM-5.3 keeps the same 743B-parameter base model as GLM 5.2 — every reported gain comes from scaled-up post-training alone. On Z.ai’s own benchmark suite that post-training buys a lot: it calls GLM-5.3 the strongest open-weights coding model it has measured, and reports a cyber-security capability that grew faster than the company anticipated.

And the question this blog exists to answer: GLM-5.3 was officially under review for our pools as of launch day — and went live on August 30 (see the update above). We already serve GLM 5.2 in the Frontier Pool, so 5.3 enters the pipeline as the natural upgrade candidate for that slot. What gates the decision is not quality signals — it’s that the model is API-only today: open weights are promised roughly two weeks out, after Z.ai completes its own safety evaluation. Live status is always on our models-under-review page.

Base modelSame 743B base as GLM 5.2 — not a new pretrain; gains from extended post-training
Context windowZ.ai advertises a 1M-token variant (glm-5.3[1m], with context compaction); the standard-API spec is not yet published
ReasoningEffort levels low / high / max — default max; thinking cannot be disabled on the direct API
Open weightsPublished August 28, 2026zai-org/GLM-5.3 (fp8, 141 shards); at launch they were promised ~2 weeks out
LicenseGLM-5.3 License (custom): commercial use with attribution; Model-as-a-Service operators above US$10B revenue over 12 months must pass Z.ai’s security review. Not MIT — GLM 5.2’s terms did not carry over
List price (API)$1.40 in / $4.40 out per 1M, cached input $0.26 — unchanged from GLM 5.2
AvailabilityFirst-party API access from Z.ai; open weights since August 28; served unlimited on CheapestInference’s Frontier Pool since August 30 — works with Claude Code, OpenCode, Cline and Codex via compatible endpoints

GLM-5.3 benchmarks: what post-training bought

Section titled “GLM-5.3 benchmarks: what post-training bought”

All numbers below are Z.ai’s own reported results — vendor-run, not yet independently reproduced, and the Artificial Analysis index hasn’t rated GLM-5.3 yet. With that caveat on the table, the GLM 5.2 → GLM-5.3 deltas are the story, because the base model is identical:

BenchmarkGLM 5.2GLM-5.3Δ
Terminal-Bench 2.181.088.2+9%
Terminal-Bench 3.04.628.3+515%
DeepSWE v1.146.266.9+45%
SWE-Marathon v1.119.442.5+119%
FrontierSWE67.578.1+16%
NL2Repo48.958.0+19%
Toolathlon Verified59.973.0+22%
AutomationBench v1.0.626.248.2+84%
CyberGym77.284.5+9%

Two readings. The charitable one: the biggest jumps land on the newest, hardest agentic benchmarks (Terminal-Bench 3.0, SWE-Marathon) — exactly where post-training on agent trajectories should show up, and exactly the workloads coding agents run all day. The skeptical one: several of these benchmarks are new or Z.ai-adjacent, and until independent runs land, “strongest open-weights coding model” is a claim, not a fact. Both readings can wait two weeks — the open-weights release is when independent verification becomes possible.

The cyber-defense angle — and why the weights are two weeks out

Section titled “The cyber-defense angle — and why the weights are two weeks out”

The unusual part of this launch is that Z.ai leads with cyber security as a first-class capability, not a footnote. It reports GLM-5.3 at 84.5 on CyberGym — above its figures for Claude Mythos 5 (83.8) and GPT-5.6 Sol (83.6) — and says the model found thousands of real vulnerabilities across open-source projects during training. Z.ai’s framing is defensive: vulnerability detection at scale.

That capability is also the stated reason the weights aren’t out yet. Rather than shipping weights on day one — as it did with GLM 5.2 — Z.ai is running a staged release: API first, then open weights roughly two weeks after launch, once its own safety evaluation and hardening work is complete. Whatever you think of the trade-off, it’s a more deliberate open-weights process than the ecosystem norm, and it puts a concrete clock on the one thing our review is waiting for.

GLM-5.3 vs GLM 5.2 — the model we serve today

Section titled “GLM-5.3 vs GLM 5.2 — the model we serve today”
GLM-5.3GLM 5.2
Base743B (same base)743B
What’s newScaled post-training: agentic coding, tool use, cyber
ContextZ.ai advertises a 1M-token variant (glm-5.3[1m], with context compaction); the standard-API spec is not yet published1M per the model card
ReasoningEffort low / high / max, thinking always onStandard GLM 5.2 semantics
Open weightsPublished August 28 (GLM-5.3 License)Published (MIT)
List price (per 1M)$1.40 in / $4.40 out$1.40 in / $4.40 out
Status hereLive in the Frontier Pool since August 30Retired August 30 — migration

Because the base is unchanged, this isn’t a “new model vs old model” decision so much as a post-training upgrade — the same shape as DeepSeek’s V4-Flash-0731 build, which we upgraded in place in the Core Pool within days of release. If GLM-5.3’s weights land with a usable license and it passes our quality evaluation on real coding and agent workloads, the natural outcome is the same: the Frontier Pool’s GLM slot upgrades, and every existing subscription simply gets the better model.

So the honest status board:

  • Quality — vendor numbers are strong; our own evaluation on real agent workloads (both OpenAI and Anthropic endpoints, tool calling included): ✅ passed.
  • Fit — a post-training upgrade of a model already serving Frontier Pool workloads: as clean as fit gets.
  • Licensing — ✅ open weights published August 28 under the GLM-5.3 License.

Outcome (August 30): live. The upgrade is recorded in the changelog; the models-under-review page is where the next candidate will show up.

Is there an unlimited GLM-5.3 API? Yes — since August 30, 2026 CheapestInference serves GLM-5.3 in the Frontier Pool on flat-rate time-block subscriptions from $71/mo: no token caps during your reserved hours, model id glm-5.3, OpenAI- and Anthropic-compatible.

Does GLM-5.3 have open weights? Yes, since August 28, 2026 — zai-org/GLM-5.3 on Hugging Face, under Z.ai’s custom GLM-5.3 License: commercial use is allowed with attribution, and only Model-as-a-Service operators above US$10B aggregate revenue over 12 months must pass Z.ai’s security review first. GLM 5.2 was MIT; the terms did not carry over.

How much does the GLM-5.3 API cost? Per token, Z.ai lists $1.40 in / $4.40 out per 1M (cached input $0.26) — the same as GLM 5.2. On CheapestInference it is a flat monthly fee: from $71/mo for a daily 8-hour block, unlimited tokens.

What is the difference between GLM-5.3 and GLM 5.2? Same 743B base model — GLM-5.3 is extended post-training on top of it, targeting agentic coding, tool use, and cyber-security workloads. Z.ai reports large gains on agentic benchmarks (SWE-Marathon 19.4 → 42.5, Terminal-Bench 3.0 4.6 → 28.3); all numbers are vendor-run so far.


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Qwen3.8 Max: specs, benchmarks, pricing & API options — now live in the Flagship Pool

Qwen3.8 Max (also written “Qwen 3.8 Max”; API id qwen3.8-max) is Alibaba’s flagship model, announced July 19: a 2.4-trillion-parameter system with a 1M-token context window, scoring 58 on the independent Artificial Analysis Intelligence Index (v4.1.1) — top-five territory, two points behind Kimi K3 (60), the current open-weights ceiling. As we chart below, that score at Qwen’s list price lands it on the price-vs-intelligence Pareto frontier — and knocks Claude Sonnet 5 off it.

Update, August 14, 2026: the review is over — Qwen3.8 Max is live in our Flagship Pool. Alibaba shipped the open-weight variant on August 13, the licensing gate we describe below lifted, and every Flagship subscriber can now call it with model id qwen3.8-max — unlimited, flat-rate, from $199/mo, next to Kimi K3. Setup, specs and examples: Qwen3.8 Max API — pricing, access & subscription.

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3.8-max", "messages": [{"role": "user", "content": "Hello"}]}'

The analysis below is the review that got it there, kept as published (August 4) with the status lines updated.

Architecture~2.4T total parameters (MoE details unpublished)
Context window1M tokens
Open weightsReleased August 13, 2026 — Qwen3.8-2.4T-A95B, the open variant of the Max
VisionYes — image input
List price (API)$2 input / $6 output per 1M tokens (cached input from $0.25)

The benchmark picture: 58 on the Artificial Analysis index (v4.1.1) puts Qwen3.8 Max above every previous Qwen release and within two points of Kimi K3 (60). Independent benchmarking is ongoing; active-parameter counts and MoE configuration haven’t been published, so per-token compute cost can’t be derived yet.

The head-to-head everyone is asking for — the two highest-scoring models in the open(-ing) ecosystem, and on paper they’re complements rather than rivals:

Qwen3.8 MaxKimi K3
AA Intelligence Index5860
Parameters~2.4T (MoE, config unpublished)~2.8T MoE
Context window1M tokens1M tokens
List price (in / out per 1M)$2.00 / $6.00$3.00 / $15.00
Open weightsPublished August 13, 2026 (2.4T-A95B)Published July 27, 2026
Status hereLive in the Flagship Pool since August 14Live in the Flagship Pool

K3 holds the intelligence crown and the agentic-coding pedigree; Qwen3.8 Max answers with 2.5× cheaper output at two index points’ distance, plus standard sampling controls. One pool serving both covers the two profiles that matter — peak agentic reasoning and tunable long-context breadth — which is exactly what the Flagship Pool now does.

Qwen3.8 Max on the price-vs-intelligence Pareto frontier

Section titled “Qwen3.8 Max on the price-vs-intelligence Pareto frontier”

A model is on the frontier when nothing tracked is both smarter and cheaper. At index 58 for a $6.00/1M list output price, Qwen3.8 Max steps onto the frontier — five points above Claude Sonnet 5 at 40% lower list price — and pushes Sonnet 5 off it:

Served in a CheapestInference poolUnder reviewReference frontier modelsPareto frontier
4045 5055 60 $0$10 $20$30 $40$50 List output price — $ per 1M tokens AA Intelligence Index ↑ DeepSeek V4-Flash-0731 — Core Pool: index 50 at $0.28/1M — on the frontier MiniMax M3 — Frontier Pool: index 44 at $1.20/1M GLM 5.2 — Frontier Pool: index 53 at $4.40/1M — on the frontier Qwen3.8 Max — Flagship Pool: index 58 at $6.00/1M — on the frontier Gemini 3.5 Flash: index 50 at $9.00/1M Claude Sonnet 5: index 53 at $10.00/1M — pushed off the frontier by Qwen3.8 Max Kimi K3 — Flagship Pool: index 60 at $15.00/1M — on the frontier Claude Opus 4.8: index 56 at $25.00/1M Claude Opus 5: index 61 at $25.00/1M — on the frontier GPT-5.6 Sol: index 59 at $30.00/1M Claude Fable 5: index 60 at $50.00/1M (AA config: max effort, Opus 4.8 fallback) V4-Flash-0731 MiniMax M3 GLM 5.2 Gemini 3.5 Flash Sonnet 5 Qwen3.8 Max Kimi K3 Opus 4.8 Claude Opus 5 GPT-5.6 Sol Claude Fable 5 Qwen3.8 Max: five index points above Sonnet 5 at 40% lower list output price

Four of the five models on that frontier — V4-Flash-0731, GLM 5.2, Qwen3.8 Max and Kimi K3 — are served here on flat rate. The monthly-updated, full-field version of this chart (with cost-per-task data and edition history) lives in our LLM Pareto Frontier report.

What gated the decision — and how it resolved

Section titled “What gated the decision — and how it resolved”

When this review was published (August 4), Qwen3.8 Max had no open weights and no open license. Qwen’s open releases (3.5, 3.6) shipped under Apache 2.0; its Max tier had historically stayed closed — a tension the community debated openly since the preview shipped. Our review status was explicit that licensing, not quality, was the gate.

On August 13 Alibaba resolved it: Qwen3.8-2.4T-A95B — the open-weight variant of the Max — shipped on Hugging Face and ModelScope, followed on August 14 by the dense Qwen3.8-27B under Apache 2.0. The final scorecard:

  • Quality — reviewed on real agent workloads through both our OpenAI and Anthropic endpoints, including tool calling: ✅ passed.
  • Fit — a second flagship-class model with a different profile (hybrid reasoning, standard sampling, 1M context, vision) next to Kimi K3: ✅ strong.
  • Licensing — ✅ open weights published August 13.

Result: live in the Flagship Pool on August 14 — the pipeline’s fastest gate-to-launch turnaround so far. The models-under-review board and the changelog reflect it.

Is there an unlimited Qwen3.8 Max API? Yes — live since August 14, 2026: the CheapestInference Flagship Pool serves Qwen3.8 Max with no token caps during your reserved hours, from $199/month for a daily 8-hour block, on the same subscription as Kimi K3. Model id qwen3.8-max; setup on the model page. Seats are very limited.

Does Qwen3.8 Max have open weights? Yes, as of August 13, 2026: Alibaba published Qwen3.8-2.4T-A95B, the open-weight variant of the Max, on Hugging Face and ModelScope — and the dense Qwen3.8-27B followed on August 14 under Apache 2.0.

How much does the Qwen3.8 Max API cost? Per token, list price is $2.00 per 1M input tokens and $6.00 per 1M output, with cached input from $0.25 — a 100M-token month lands around $200–600 depending on cache-hit rate and output mix. The credit-based subscription plans we analyzed in Qwen coding plans, explained cap usage per 5-hour and 7-day windows. For heavy use, our flat-rate unlimited route starts at $199/month.

What is the context window of Qwen3.8 Max? 1M tokens, per Alibaba’s published spec for the model.


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

DeepSeek V4-Flash-0731: what changed, and how to use it over the API

Update — September 10, 2026: DeepSeek V4.1 Flash replaced this build in the Core Pool on 2026-09-10, served as deepseek-v4.1-flash — a new generation (552B MoE, causal encoder–decoder, native vision, MIT weights), not another retrain. The old id deepseek-v4-flash keeps working until October 10, 2026, then returns an invalid-model error; migration is one line. Full analysis: DeepSeek V4.1 Flash: what changed, and how to use it over the API. The post below is kept as published on August 1, 2026.

On July 31, DeepSeek shipped V4-Flash-0731 — not a bigger model, a retrained one. Same 284B-total / 13B-active architecture, same 1M-token context, same price bracket — but re-post-trained for agent work, and the reported jump is unusual: DeepSeek says the new Flash now beats its own larger V4-Pro-Preview on every one of the nine agent benchmarks it publishes.

If you use the Core Pool, there is nothing to migrate: the model id is still deepseek-v4-flash, and requests already serve the new build. Unlimited, flat-rate access starts from $17.99/mo ($15.29/mo billed annually) — live pricing on /pools.

Same architecture, new post-training. This is DeepSeek’s own reported before/after (vendor harness — no independent verification of these specific numbers yet):

V4-Flash-0731V4-Flash preview (the previous build, April 2026)
Terminal-Bench 2.1 DSBench-FullStack DeepSWE V4-Flash-0731 — Terminal-Bench 2.1: 82.7 V4-Flash preview — Terminal-Bench 2.1: 61.8 V4-Flash-0731 — DSBench-FullStack: 68.7 V4-Flash preview — DSBench-FullStack: 37.0 V4-Flash-0731 — DeepSWE: 54.4 V4-Flash preview — DeepSWE: 7.3 82.761.8 68.737.0 54.47.3

Full vendor-stated table for the 0731 build, next to the April preview it replaces:

BenchmarkFlash-0731Flash preview (Apr)
Terminal-Bench 2.182.761.8
Cybergym76.738.7
Toolathlon-Verified70.349.7
DSBench-FullStack†68.737.0
DSBench-Hard†59.625.8
DeepSWE54.47.3
NL2Repo54.239.4
Agents’ Last Exam25.215.8
AutomationBench Public25.110.8

† DeepSeek-internal test sets; the rest are public benchmarks.

The DeepSWE number is the striking one: the retrain multiplied the preview’s score by seven without touching the architecture. And like the April preview, the 0731 checkpoint is a genuine open-weights release: the weights are published under MIT at deepseek-ai/DeepSeek-V4-Flash-0731 (304B parameters on the repo — the 284B base plus a draft module).

The independent signal comes from Artificial Analysis, which measures Flash-0731 at 50 on its Intelligence Index — ten points above the previous Flash. Honest framing: it does not beat Claude Opus 5 (61) or GPT-5.6 Sol (59) — nothing near this price does. What it does is land within seven points of Kimi K3 (57, the highest open-weights score on the index) from the budget model of the field — with a reference per-token price of $0.28 per 1M output tokens, roughly 90× below Claude Opus 5’s $25:

Served in a CheapestInference poolReference frontier models
Claude Opus 5 Claude Fable 5 GPT-5.6 Sol Kimi K3 Claude Opus 4.8 GLM 5.2 V4-Flash-0731 MiniMax M3 Claude Opus 5 (max effort): 61 — list output $25.00/1M Claude Fable 5 (max effort, Opus 4.8-fallback config as evaluated by AA): 60 — list output $50.00/1M GPT-5.6 Sol (max): 59 — list output $30.00/1M Kimi K3 (max) — Flagship Pool: 57 — list output $15.00/1M Claude Opus 4.8: 56 — list output $25.00/1M GLM 5.2 (max) — Frontier Pool: 51 — list output $4.40/1M DeepSeek V4-Flash-0731 — Core Pool: 50 — list output $0.28/1M MiniMax M3 — Frontier Pool: 44 — list output $1.20/1M 6160 5957 5651 5044

Same data as a table, with list output prices alongside for scale — each model at its best published configuration (max effort where the index reports one); the median across all models Artificial Analysis tracks is 17:

ModelAA Intelligence IndexList output $/1MOn CheapestInference
Claude Opus 561$25.00
Claude Fable 5*60$50.00
GPT-5.6 Sol59$30.00
Kimi K357$15.00Flagship Pool
Claude Opus 4.856$25.00
GLM 5.251$4.40Frontier Pool
DeepSeek V4-Flash-073150$0.28Core Pool
MiniMax M344$1.20Frontier Pool

* Yes, one point below Claude Opus 5, even though Anthropic positions Fable 5 above Opus in capability. The index scores what AA actually evaluates: Fable 5 is measured in its “Adaptive Reasoning, Max Effort, Opus 4.8 Fallback” serving configuration — the variant with Anthropic’s additional dual-use safeguards — while Opus 5 runs at plain max effort. Independent index, published configurations, taken as-is.

Four of the eight models on that chart are served here on flat-rate subscriptions — and the 0731 retrain just moved the cheapest pool of the three into frontier territory.

V4-Flash-0731 vs Claude Opus 4.8, GPT-5.6 Luna, and Gemini 3.6 Flash

Section titled “V4-Flash-0731 vs Claude Opus 4.8, GPT-5.6 Luna, and Gemini 3.6 Flash”

Is DeepSeek V4-Flash-0731 better than Claude Opus? On raw capability, no — and we won’t pretend otherwise. The strongest competitor in DeepSeek’s own release table is Claude Opus 4.8, and Opus wins every one of the nine shared benchmarks. What the table actually shows is how little it wins by, against a model priced roughly 90× higher per output token at list:

Benchmark (DeepSeek’s release table, vendor-run)V4-Flash-0731Claude Opus 4.8
Terminal-Bench 2.182.785.0
Cybergym76.783.1
Toolathlon-Verified70.376.2
DSBench-FullStack†68.771.6
DSBench-Hard†59.671.7
DeepSWE54.458.0
NL2Repo54.269.7
Agents’ Last Exam25.225.7
AutomationBench Public25.127.2
Reference output price, per 1M tokens$0.28$25.00

On Agents’ Last Exam the gap is half a point — effective parity. On Terminal-Bench 2.1 it is 2.3 points. NL2Repo and the (internal) DSBench-Hard are where the distance stays wide.

Against its actual price peers, the independent picture flips. Per Artificial Analysis: Flash-0731 sits one point behind GPT-5.6 Luna (50 vs 51 at max effort) with a cost per task roughly 60% lower — even after OpenAI’s price cut — ties Gemini 3.6 Flash (50), and lands on AA’s Pareto frontier for Intelligence vs Cost per Task: at this intelligence level, nothing tracked is cheaper per task.

Here is that frontier drawn out — intelligence against list output price. A model is on the frontier when nothing tracked is both smarter and cheaper; everything below-right of the line pays more for less. The 0731 retrain moved Flash onto it, and pushed MiniMax M3 off:

Served in a CheapestInference poolReference frontier modelsPareto frontier
4045 5055 60 $0$10 $20$30 $40$50 List output price — $ per 1M tokens AA Intelligence Index ↑ DeepSeek V4-Flash-0731 — Core Pool: index 50 at $0.28/1M — on the frontier MiniMax M3 — Frontier Pool: index 44 at $1.20/1M GLM 5.2 — Frontier Pool: index 51 at $4.40/1M — on the frontier Gemini 3.5 Flash: index 50 at $9.00/1M Claude Sonnet 5: index 53 at $10.00/1M — on the frontier Kimi K3 — Flagship Pool: index 57 at $15.00/1M — on the frontier Claude Opus 4.8: index 56 at $25.00/1M Claude Opus 5: index 61 at $25.00/1M — on the frontier GPT-5.6 Sol: index 59 at $30.00/1M Claude Fable 5: index 60 at $50.00/1M (AA config: max effort, Opus 4.8 fallback) V4-Flash-0731 MiniMax M3 GLM 5.2 Gemini 3.5 Flash Sonnet 5 Kimi K3 Opus 4.8 Claude Opus 5 GPT-5.6 Sol Claude Fable 5 Flash-0731 matches Gemini-Flash-class intelligence at 32× lower list price

Three of the five models on that frontier — Flash-0731, GLM 5.2 and Kimi K3 — are served here on flat rate. This chart is a snapshot of the frontier’s cheap end; the monthly-updated, full-field version (with cost-per-task data and edition history) lives in our LLM Pareto Frontier report.

And on a flat-rate subscription the per-token column stops mattering altogether: a Core Pool block is the same price whether your agent burns one million tokens or one billion.

curl:

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI SDK (Python):

from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-...", # your subscriber key
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Fix the failing test in this repo..."}],
)
print(response.choices[0].message.content)

No account yet? Register, subscribe to the Core Pool, and mint a key at cheapestinference.com/keys.

The API also speaks the Anthropic Messages format, so a retrained agent model drops straight into the most popular coding agent:

Terminal window
export ANTHROPIC_BASE_URL="https://api.cheapestinference.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-..." # your subscriber key
export ANTHROPIC_MODEL="deepseek-v4-flash"
export ANTHROPIC_SMALL_FAST_MODEL="deepseek-v4-flash"

Start claude as usual — every request runs on Flash-0731 with no per-token meter. The same key works in Cline, Roo Code, Continue, and anything that accepts a custom OpenAI base URL (setup guides).

Why this release matters for flat-rate users

Section titled “Why this release matters for flat-rate users”

Agent workloads are exactly where per-token bills explode: an agent re-sends its growing context on every tool call, and iteration count — not task value — drives the invoice. A model that is suddenly much better at agent work makes that math worse per-token and better flat-rate: more capable loops, same fixed monthly price. We ran the full per-token vs. flat break-even math in Unlimited DeepSeek: what a flat monthly subscription changes — every row of that table just got more favorable, because the same subscription now serves a stronger model.

The trade-offs, as always: usage is unlimited in tokens during your reserved 8-hour blocks, each subscription runs one request at a time (fair use), and outside your blocks the key doesn’t serve. Full details: DeepSeek V4 Flash API docs · Plans & Limits.

Check live Core Pool availability →


CheapestInference serves Kimi K3 (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

How to use the Kimi K3 API: key, snippets, and unlimited access

Kimi K3 is live on CheapestInference: Moonshot’s flagship — scoring 60 on the Artificial Analysis Intelligence Index — the top open-weights score — served through an OpenAI- and Anthropic-compatible API with unlimited usage at a flat monthly price, from $199/mo (live availability — seats are very limited). This is the practical guide: get access, call it, wire it into your coding agent.

Three realistic routes to K3 over an API today:

  1. Per-token, from Moonshot — $3.00 per 1M input tokens ($0.30 cached) and $15.00 per 1M output. Ideal for evaluation and light use; expensive fast for agent workloads.
  2. Kimi memberships — Moonshot’s own plans bundle K3 access with request quotas per 5-hour and weekly windows (new signups have been intermittently paused since launch).
  3. Unlimited time-block subscription (this guide) — reserve one or more daily 8-hour blocks on the Flagship Pool and use K3 with no token caps during your hours. From $199/mo per block; all three blocks = 24/7.

For the subscription route: create an account, subscribe to the Flagship Pool, and mint an API key at cheapestinference.com/keys. Model id: kimi-k3.

curl:

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k3", "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI SDK (Python):

from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-...", # your subscriber key
)
response = client.chat.completions.create(
model="kimi-k3",
messages=[{"role": "user", "content": "Refactor this function..."}],
)
print(response.choices[0].message.content)

K3 is a reasoning model, but reasoning is off by default — you get fast, direct answers. Turn it on per request with "thinking": {"type": "enabled"} or reasoning_effort (low / high / max — K3’s deepest tier). With reasoning on, give it a generous max_tokens so long answers don’t truncate mid-thought, and stream (stream: true) for responsive UIs.

The API also speaks the Anthropic Messages format, so Claude Code works out of the box:

Terminal window
export ANTHROPIC_BASE_URL="https://api.cheapestinference.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-..." # your subscriber key
export ANTHROPIC_MODEL="kimi-k3"
export ANTHROPIC_SMALL_FAST_MODEL="kimi-k3"

Start claude as usual — every request now runs on K3 with no per-token meter. The same key works in Cline, Roo Code, Continue, and any client that accepts a custom OpenAI base URL (setup guides).

At list price, a coding agent that burns 100M tokens a month on K3 costs roughly $200–400 per-token, depending on your cache-hit and output mix — and heavy agentic users go far beyond that. A Flagship block at $199/mo covers your working day; all three blocks cover 24/7. The trade-offs: during your reserved hours usage is truly unlimited, each subscription runs one request at a time (fair use), and outside your blocks the key doesn’t serve. Full pricing detail: Plans & Limits · Kimi K3 API docs.

Seats on the Flagship Pool are very limited — when a block sells out it’s gone until someone leaves. Check live availability →


CheapestInference serves Kimi K3 (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Kimi K3: specs, benchmarks, and our day-one plan to serve it

Kimi K3 is Moonshot AI’s new flagship, announced on July 16 after a leaked promotion page on Moonshot’s own platform tipped the release a day early. The headline is simple: on the independent Artificial Analysis Intelligence Index it scores 57 — above Claude Opus 4.8 (56), making it the first open-weight model to outscore a Claude Opus-class model on that index.

And to answer the question this blog exists to answer: yes, we will serve it. We have already secured the capacity to run a model of this size. K3 goes live on CheapestInference the moment two things are true: the weights are actually published, and the license terms permit commercial serving. Nothing else is in the way.

Update — July 2026: Kimi K3 is now live. The weights shipped on schedule (July 27), and K3 is served in the new Flagship Pool with unlimited usage at a flat monthly price — very limited seats. How to use the Kimi K3 API → · Subscribe →

July 28: with Claude Opus 5 (61) and GPT-5.6 Sol (59) landing the same month, K3’s 57 puts the open-vs-closed gap at 4 index points — per Artificial Analysis, the narrowest since the GLM-5 release in February. Only two labs score higher. Our Pareto Frontier report now charts K3 — straight onto the frontier.

ArchitectureMixture-of-Experts, ~2.8T total parameters
Context window1M tokens
InputText, image, and video
Variants at launchK3 Max (chat and agent tasks) · K3 Swarm Max (large-scale parallel processing)
Available todayMoonshot’s API, Kimi Code, and the Kimi app
Open weightsPublished July 27, 2026Hugging Face, Kimi K3 License
List price (API)$3 input / $15 output per 1M tokens

Coverage from the launch day: TechCrunch on the Opus gap closing, Fortune on Chinese AI entering Fable-level territory, and Simon Willison’s notes for a practitioner’s first look.

K3 was announced on July 16, 2026, usable from day one through Moonshot’s own API, Kimi Code, and the Kimi app. The open weights were published on July 27, 2026, on schedule, on Hugging Face under Moonshot’s own Kimi K3 License — and K3 went live on CheapestInference’s Flagship Pool the same week.

  • Artificial Analysis Intelligence Index: 57. For scale: Claude Opus 4.8 scores 56, and the best open-weight model until now — GLM 5.2 — scores 51: the open ceiling jumped six points in one release. Only three closed models score higher — Claude Opus 5 (61), Claude Fable 5 (60) and GPT-5.6 Sol (59). Where every model sits on price-vs-intelligence is our Pareto Frontier report, whose refreshed 2026-07 edition now charts K3 — straight onto the Pareto frontier.
  • #1 on Frontend Code Arena with 1,679 points — ahead of Claude Fable 5 (1,631), GPT-5.6 Sol (1,618), and GLM 5.2 (1,587).
  • The Kimi track record. Moonshot’s K2.6 still holds the best open SWE-bench Verified score (80.2), and the K2 line has been the default open choice for tool-heavy agent work — see the tier-fair matchups in our Which-LLM guide.

The honest caveats, same as in our living reports: the index is one composite and task-specific rankings differ, and these are launch-week numbers, mostly on Moonshot’s own serving stack. The weights question resolved on schedule: K3 is downloadable from Hugging Face under Moonshot’s own Kimi K3 License (not the K2 line’s Modified MIT — read the text before self-hosting), and K3 now has its row in State of Open Weights.

When K3 was announced, every model above GLM 5.2’s intelligence score was closed, and the open-vs-closed gap had sat at 5+ index points all year. With the weights shipped, the open ceiling is 57 — and after Claude Opus 5 (61) and GPT-5.6 Sol (59) landed in the same month, the gap to the very top stands at 4 index points, the narrowest since the GLM-5 release in February (Artificial Analysis). K3’s $3/$15 list price still undercuts every closed model in its class, and it walked straight onto the Pareto frontier.

Moonshot’s list price for the K3 API is $3 input / $15 output per 1M tokens — undercutting every closed model in its class, but 3–4× the K2 line’s price: the first open flagship priced like a closed mid-tier model (Price Tracker). On CheapestInference that call is made: K3 debuted in its own Flagship Pool, flat-rate from $199/mo, unlimited usage during your reserved hours and very limited seatsthe pools page is always the live source for lineup, prices and availability.

  • Live now. The capacity we secured before launch is serving K3 today in the Flagship Pool — we didn’t start the clock the day the weights dropped.
  • The usual: one OpenAI- and Anthropic-compatible API, flat-rate time-block subscriptions, no token caps during your reserved hours — so it drops into Claude Code, Cline, or any compatible client; it’s in GET /v1/models now.

If you want to be running K3 this week, create an account — seats in the Flagship Pool are very limited, no waitlist.


CheapestInference serves Kimi K3 (Flagship Pool, from $199/mo), GLM 5.3 and MiniMax M3 (Frontier Pool, from $60.35/mo billed annually) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool, from $15.29/mo) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Qwen coding plans in 2026: what you actually get

Qwen3-Coder — Alibaba’s open-weights coder family — is one of the most capable coding models you can run over an API, and one of the most searched-for. If you want to run it as your daily coding model, you have a few realistic routes. As with Kimi and GLM, they differ less in headline price than in cost shape: what happens to your bill and your workflow when a heavy week hits.

Update — August 14, 2026: Alibaba’s flagship Qwen3.8 Max is now live in our Flagship Pool on unlimited time-block subscriptions — the review chronicle and specs are in Qwen3.8 Max: specs, benchmarks, pricing & API options, setup on the model page.

Evaluating Qwen coding plans? There’s now a flat-rate unlimited route for Qwen itself. We serve Qwen3.8 Max in the Flagship Pool — and if what you’re after is a fixed monthly bill for a capable open-weights coder at a lower price point, the same cost-shape question applies to GLM 5.3, DeepSeek V4.1 Flash, MiMo v2.5, and MiniMax M3. Compare the flat-rate pools →

Alibaba Cloud sells a subscription Coding Plan on Model Studio aimed specifically at coding-tool usage of Qwen (plus a few third-party models). It’s first-party access, integrated with Qwen Code and compatible with Claude Code, Cline, and Cursor, and the Qwen coder models — qwen3-coder-plus, qwen3-coder-next, and the newer qwen3.x-plus line — arrive there first.

The trade-off is that the plan is quota-based: each tier grants a request allowance that resets on a schedule — with per-few-hours, weekly, and monthly request caps — and burning through it mid-refactor means waiting for the reset or moving up a tier. The tier lineup itself has already shifted once in 2026 (the entry-level Lite tier stopped accepting new orders), so any number printed here would go stale — check Alibaba’s Coding Plan page for the current tiers and quotas.

Good fit: you want first-party access to the newest Qwen coder models and your volume fits inside a tier’s request quota.

Qwen3-Coder is available per-token from Alibaba’s Model Studio / DashScope API and from several aggregators. No tiers, no resets — you pay for exactly the tokens you burn, which is ideal while you’re evaluating the model or your usage is light. New Model Studio accounts also get a time-limited free-token trial (region-restricted, expiring after a fixed window), useful for a first look — see Alibaba’s pricing page for the current allowance.

The catch is structural, not Qwen-specific: coding agents re-send their whole context on every tool call, so token volume compounds with every iteration. A capable coder will happily churn through long agent sessions — great for output, open-ended for the invoice. Per-token Qwen is cheap per request and unpredictable per month.

Good fit: a few million tokens a month, spiky schedules, or benchmarking before committing.

Route 3: unlimited time blocks on comparable open-weights models

Section titled “Route 3: unlimited time blocks on comparable open-weights models”

The third shape is the one we sell, so apply the usual discount for self-interest. Since August 14, 2026 this route includes Qwen3.8 Max itself (Flagship Pool), alongside a lineup of comparable open-weights coders at lower price points. You reserve one or more daily 8-hour time blocks and get unlimited usage during them: no token allowances, no request quotas, no resets — a monthly number that’s fixed the day you subscribe. Capacity is shaped by per-key concurrency instead of token or request budgets, so an agent that loops all afternoon changes nothing on the bill.

Two things matter if you’re weighing this against a Qwen plan:

  1. Qwen itself, plus comparable models, one fee. A Flagship Pool block covers Qwen3.8 Max (and Kimi K3); a Frontier Pool block covers GLM 5.3 and MiniMax M3 (1M context); the Core Pool covers DeepSeek V4.1 Flash and MiMo v2.5 — switchable per request.
  2. It runs in the same tools. The API speaks both the Anthropic and OpenAI formats, so it drops into Claude Code, Cline, Roo Code, or Qwen Code — no wrapper, just a base-URL change.

Current block pricing is on the pools page.

Good fit: you want a fixed monthly bill for Qwen3.8 Max or a comparable open-weights coder, with predictable working hours.

RouteCost shapeLimitsModelsBest for
Official Qwen Coding PlanFixed monthly subscriptionRequest quotas that reset (per-few-hours / weekly / monthly)First-party Qwen coder models (plus some third-party)First-party Qwen, volume inside quota
Per-token APIPay per token usedNone — spend scales with usageAny Qwen model on Model Studio / aggregatorsLight, spiky, or exploratory use
Flat-rate time blocks (us)Fixed monthly, per blockConcurrency-shaped; no token or request capsQwen3.8 Max (Flagship) plus Kimi K3, GLM, DeepSeek, MiMo, MiniMaxPredictable hours, fixed bill

Official Qwen Coding Plan — first-party access, day-one Qwen coder updates, your volume fits the request quota. Per-token — light, spiky, or exploratory usage; pay only for what you burn. Flat-rate time blocks — heavy daily coding in predictable hours where you want a constant bill, on Qwen3.8 Max itself or a comparable open-weights model.

All three answer the same underlying question. It isn’t “which Qwen tier is cheapest” — it’s which cost shape matches how you work.


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Kimi coding plans in 2026: K2.7, K2.6, and what you actually get

Kimi K2.7 — Moonshot AI’s open-weights flagship — is currently one of the most capable coding models you can run over an API, and its predecessor K2.6 remains a strong, cheaper-to-serve option per-token from Moonshot and the aggregators. If you want Kimi as your daily coding model, you have three realistic routes. As with GLM, they differ less in headline price than in cost shape: what happens to your bill and your workflow when a heavy week hits.

Moonshot sells subscription plans aimed specifically at coding-tool usage of Kimi. It’s first-party access, tightly integrated with their own tooling, and the models arrive there first. The trade-off is that the plans are quota-based: each tier grants a usage allowance that resets on a schedule, and burning through it mid-refactor means waiting for the reset or moving up a tier. Tiers and allowances change often enough that any number printed here would go stale — check Moonshot’s pricing page for the current shape.

Good fit: you want first-party access and your coding volume fits comfortably inside a tier’s allowance.

Kimi K2.7 and K2.6 are available per-token from Moonshot’s open platform and from several aggregators. No tiers, no resets — you pay for exactly the tokens you burn, which is ideal while you’re evaluating the model or your usage is light.

The catch is structural, not Kimi-specific: coding agents re-send their whole context on every tool call, so token volume compounds with every iteration. A model as eager to work as K2.7 will happily churn through long agent sessions — great for output, open-ended for the invoice. Per-token Kimi is cheap per request and unpredictable per month.

Good fit: a few million tokens a month, spiky schedules, or benchmarking before committing.

The third shape is the one we sell, so apply the usual discount for self-interest — but the mechanics are easy to verify. You reserve one or more daily 8-hour time blocks and get unlimited Kimi K3 usage during them: no token allowances, no resets, a monthly number that’s fixed the day you subscribe. Capacity is shaped by per-key concurrency instead of token budgets, so an agent that loops all afternoon changes nothing on the bill.

Three properties matter for coding specifically:

  1. Kimi K3 — the current Moonshot flagship — under one flat fee. A Flagship Pool block covers Kimi K3 (model id kimi-k3), alongside Qwen3.8 Max, switchable per request — very limited seats. (K2.6 and K2.7 were retired from our pools in July and August 2026; if you need those builds specifically, Route 2 still covers them per-token.)
  2. It runs inside Claude Code natively. The API speaks both the Anthropic and OpenAI formats, so Kimi drops into Claude Code, Cline, Roo Code, or whatever tool you already use — no wrapper, just a base-URL change.
  3. The subscription isn’t Kimi-only. The same Flagship block also covers Qwen3.8 Max (1M context, vision). If Kimi is your main model but not your only one, that’s two flagship coding plans for the price of one.

Current block pricing is on the pools page.

Good fit: Kimi is your daily driver, your working hours are roughly predictable, and you want the bill to be a constant instead of a variable.

Official Moonshot plan — first-party access, day-one model updates, your volume fits the quota. Per-token — light, spiky, or exploratory usage; pay only for what you burn. Time-block unlimited — heavy daily coding or agent work in predictable hours; fixed cost, Kimi K3 plus Qwen3.8 Max under one fee.

All three routes serve the same open-weights model family. The question isn’t “which Kimi is better” — it’s which cost shape matches how you work.


CheapestInference serves Kimi K3 and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

DeepSeek subscription: what unlimited flat-monthly access changes

DeepSeek has a well-earned reputation as the budget option among frontier-quality models. Per-token rates for DeepSeek V4 Flash run around $0.14 per million input tokens and $0.28 per million output — an order of magnitude below closed-source flagships.

So why would anyone pay a flat monthly fee for it?

Update — September 10, 2026: the Core Pool’s DeepSeek slot is now DeepSeek V4.1 Flash (deepseek-v4.1-flash) — a new generation: 552B MoE with 8–16B active, a causal encoder–decoder architecture, native image input, 1M context and MIT weights, at a lower list price than the build it replaces. The old id deepseek-v4-flash keeps working until October 10, 2026. Every number below holds or improves. What changed in V4.1 Flash →

Update (Aug 2026): DeepSeek retrained V4 Flash — the 0731 build posts large agent-benchmark gains at the same price, which strengthens every number below. What changed in V4-Flash-0731 →

Because per-token pricing has a property that doesn’t care how low the rate is: cost scales with tokens, and agent tokens scale with iterations, not value. Cheap per token is not the same as cheap per month.


The math nobody runs until the invoice arrives

Section titled “The math nobody runs until the invoice arrives”

A coding agent re-sends its growing context on every tool call. A typical task burns 300–500K tokens; an active developer runs dozens of tasks a day. Being conservative:

Tokens/dayTokens/monthPer-token cost (V4 Flash rates)
Light use2M60M~$11/mo
Daily driver15M450M~$80/mo
Heavy agent loops50M1.5B~$270/mo

The rate is tiny. The bill is not — and it’s unpredictable, because next month’s iteration count is unknowable in advance.

A time-block subscription inverts this: you reserve a daily 8-hour window and usage inside it is unlimited. The number on your invoice is decided when you subscribe, not by how many times your agent loops. DeepSeek V4.1 Flash is served in the Core Pool — current pricing is on the pools page.

At “daily driver” volume, the flat block is cheaper than even DeepSeek’s per-token rates — and the gap only widens from there.

  • DeepSeek V4.1 Flash with a 1M-token context window — whole codebases, long documents, extended agent runs in a single request.
  • No token caps during your blocks. The plan is unlimited in tokens; capacity is shaped by per-key concurrency instead, so one busy key never affects another.
  • MiMo v2.5 included. A Core Pool subscription covers every model in the pool — Xiaomi’s MiMo v2.5 shares the same 1M-context class.
  • Drop-in API. OpenAI-compatible (/v1/chat/completions) and Anthropic-compatible (/anthropic/v1/messages) — point your SDK, Cline, or Claude Code at it with model id deepseek-v4.1-flash.
from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-...", # subscriber key
)
r = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Review this repo for race conditions: ..."}],
)

Is there a DeepSeek subscription? Not from DeepSeek itself — their first-party API is pay-per-token (with peak/off-peak and cache discounts, but no flat plan). CheapestInference sells a flat-monthly DeepSeek subscription: unlimited DeepSeek V4.1 Flash during your reserved daily 8-hour blocks, plus MiMo v2.5 in the same Core Pool.

How much does a DeepSeek subscription cost? From $17.99/month per 8-hour daily block ($15.29/mo billed annually), up to full 24/7 coverage — live pricing on /pools. No token caps during your hours.

Does the subscription include the latest DeepSeek model? Yes — the pool always serves DeepSeek’s current Flash generation, and subscribers get it without changing plans. Retrains land with nothing to do at all (V4-Flash-0731, July 2026); a generation change costs one line — since September 10, 2026 the id is deepseek-v4.1-flash, with the old deepseek-v4-flash accepted until October 10, 2026.

When per-token DeepSeek is still the right call

Section titled “When per-token DeepSeek is still the right call”

Honesty clause: if your usage is light or spiky — a few million tokens a month, unpredictable hours — per-token is cheaper and you should use it. The flat block wins when usage is heavy and concentrated in predictable hours: agent development, batch processing, a working day of assisted coding. That’s the break-even logic in one sentence; the full break-even analysis is here.


CheapestInference serves DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool, from $15.29/mo billed annually) and GLM 5.3 and MiniMax M3 (Frontier Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

GLM 5.2 coding plans in 2026: what you actually get

Update — August 30, 2026: GLM-5.3 — the same base model as GLM 5.2 with extended post-training, open-weighted by Z.ai on August 28 — is now served unlimited in our Frontier Pool as glm-5.3, replacing GLM 5.2 in place. The full analysis is in GLM-5.3: specs, benchmarks, pricing & API options.

GLM 5.2 — Zhipu AI’s (Z.ai) frontier coding and reasoning model — has become one of the most searched-for open-weights models for coding work. If you’re trying to run it as your daily coding model, you have three realistic routes, and they differ less in price than in cost shape: what happens to your bill and your workflow when usage spikes.

Z.ai sells subscription tiers aimed at coding-tool usage of GLM. You get first-party access and tight integration with their own tooling. The trade-off is that the plans are quota-based: each tier grants an amount of usage that resets on a schedule, and hitting the ceiling mid-task means waiting or upgrading. For usage details and current tiers, check Z.ai’s pricing page — quotas and tiers change often enough that any number printed here would go stale.

Good fit: you want first-party access and your usage fits comfortably inside a tier’s quota.

GLM 5.2 is available per-token from several inference providers and aggregators. No quotas, no tiers — you pay for exactly what you use, which is ideal for light or unpredictable usage.

The catch is the same one that applies to every agent workload: coding agents re-send their whole context on every tool call, so token volume scales with iterations. Per-token GLM is cheap per request and open-ended per month — the bill is a dependent variable of how hard your agent worked.

Good fit: a few million tokens a month, spiky schedules, or evaluation before committing to anything.

The third shape is the one we sell, so discount accordingly — but the mechanics are simple to verify. You reserve one or more daily 8-hour time blocks and get unlimited GLM 5.2 usage during them: no token caps, no quota resets, a fixed monthly number decided at subscription time. Capacity is shaped by per-key concurrency rather than token budgets, so a runaway agent loop changes nothing on the invoice.

Two properties matter for coding specifically:

  1. It works as a drop-in coding plan. The API is Anthropic- and OpenAI-compatible, so GLM 5.2 runs inside Claude Code, Cline, Roo Code, or any tool you already use — model id glm-5.2.
  2. The subscription isn’t GLM-only. A Frontier Pool block covers Kimi K2.7 and MiniMax M3 (1M context) too, switchable per request. If GLM is your main model but not your only one, that’s three coding plans for the price of one.

Current block pricing is on the pools page.

Good fit: GLM is your daily-driver coding model, your hours are roughly predictable, and you want the bill to be a constant.

Official Z.ai plan — first-party access, quota fits your volume, you use their tooling. Per-token — light, spiky, or exploratory usage; pay only for what you burn. Time-block unlimited — heavy daily coding or agent work in predictable hours; fixed cost, no quota anxiety, multiple frontier models under one fee.

All three serve the same open-weights model. The question isn’t “which GLM is better” — it’s which cost shape matches how you work.


CheapestInference serves GLM 5.3 and MiniMax M3 (Frontier Pool, from $60.35/mo billed annually) and DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Xiaomi's MiMo v2.5: the 1M-context model almost nobody is serving

First, a disambiguation for the search engines: this is about MiMo, Xiaomi’s open-weights large language model — not MIMO antenna technology. If you came here for multipath radio, wrong blog.

MiMo v2.5 is the model Xiaomi’s LLM lab ships as its fast, efficient workhorse: small enough to be quick and cheap to run, with a ~1M-token context window that puts it in a class usually reserved for much more expensive models. It’s open weights, and — unlike most of the open-weights catalog — very few providers serve it over an API at all.

MiMo v2.5 is not a frontier reasoning model, and pretending otherwise helps nobody. Where it earns its keep:

  • Long-context work on a budget. Feed it an entire codebase, a contract stack, or weeks of chat logs in one request. Most tasks over long inputs are retrieval-and-synthesis, not deep reasoning — exactly the regime where a fast model with 1M context beats a smarter model with 128K.
  • High-volume agent plumbing. Sub-agents, summarizers, extractors, classifiers — the loops that run hundreds of times a day and quietly dominate token bills.
  • Drafting and iteration speed. It’s fast. For inner-loop coding assistance, latency often matters more than the last few points of benchmark quality.

For frontier-tier reasoning, use a frontier-tier model — that’s what the Frontier Pool is for. MiMo’s job is to make the other 80% of your token volume cost almost nothing.

MiMo v2.5 is served in the Core Pool alongside DeepSeek V4.1 Flash, on unlimited time-block subscriptions — flat monthly fee, no per-token billing. One curl:

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer sk-..." \
-H "Content-Type: application/json" \
-d '{
"model": "mimo-v2.5",
"messages": [{"role": "user", "content": "Summarize the attached spec..."}]
}'

It speaks both the OpenAI and Anthropic API shapes, so it also works as a model in Claude Code, Cline, or any OpenAI-compatible client — set model id mimo-v2.5. Full details on the MiMo v2.5 model page.

Because the interesting frontier in 2026 isn’t only “smartest model” — it’s capability per dollar at volume. A subscription covers every model in its pool, so the practical pattern is: route the hard 20% to a frontier model, and everything else to a model like MiMo where unlimited usage costs a flat few dollars a month. Your effective blended cost drops without touching quality where quality matters.


CheapestInference serves DeepSeek V4.1 Flash and MiMo v2.5 (Core Pool, from $15.29/mo billed annually) and GLM 5.3 and MiniMax M3 (Frontier Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.

Building a multi-model architecture: route requests to the right LLM

Using one model for everything is the simplest architecture. It’s also the most wasteful. A 685B-parameter reasoning model answering “what’s the weather?” is like hiring a PhD to sort mail.

This guide covers how to use a small, fast model to classify incoming requests and route them to the right specialist. The result: lower latency, lower cost, and often better quality — because each model handles what it’s actually good at.


The problem with single-model architectures

Section titled “The problem with single-model architectures”

Most applications start with one model:

User request --> Large Model --> Response

This works, but every request — simple or complex — pays the same latency and cost penalty. When 60% of your traffic is simple classification, FAQ, or extraction, you’re burning expensive compute on tasks a small model handles equally well.

Llama 3.1 8B
~200 t/s
DeepSeek V3.2
~60 t/s
DeepSeek R1
~30 t/s

The gap between Llama 8B and R1 is nearly 7x in throughput. Routing simple requests to the small model saves that difference on every request.


User request --> Router (GLM 5.3) --> classify intent
|
+-----------+-----------+-----------+
| | | |
simple/general reasoning code agent
| | | |
GLM 5.3 MiniMax M3 MiniMax M3 MiniMax M3
| | | |
+-----+-----+-----+-----+
|
Response

Two stages:

  1. Classify — The router model reads the user’s message and outputs a category. A fast model returns this in a fraction of a second.
  2. Route — Based on the category, forward the request to the appropriate specialist model.

The router adds minimal overhead (~200ms) but saves significant compute by keeping simple requests away from expensive models.


A fast, lightweight model makes a good router. With low TTFT and a short, single-word output, the classification step costs almost nothing and completes before the user notices. (On CheapestInference, DeepSeek V4.1 Flash or MiMo v2.5 in the Core pool are natural router models; the example below uses GLM 5.3 so everything runs on one Frontier subscription.)

The classification prompt is simple — you want a single-word category, not a conversation:

from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="your-api-key"
)
def classify_request(user_message: str) -> str:
"""Classify a user message into a routing category."""
response = client.chat.completions.create(
model="glm-5.3",
messages=[
{
"role": "system",
"content": (
"Classify the user's message into exactly one category. "
"Respond with only the category name, nothing else.\n\n"
"Categories:\n"
"- simple: greetings, FAQ, simple factual questions\n"
"- general: complex questions, analysis, writing, summarization\n"
"- reasoning: math, logic, multi-step problems, science\n"
"- code: code generation, debugging, refactoring, technical implementation\n"
"- agent: tasks requiring tool use, web search, or multi-step execution"
)
},
{"role": "user", "content": user_message}
],
max_tokens=10,
temperature=0
)
category = response.choices[0].message.content.strip().lower()
# Default to general if classification is unclear
valid = {"simple", "general", "reasoning", "code", "agent"}
return category if category in valid else "general"

The key details: max_tokens=10 because we only need one word. temperature=0 for deterministic routing. The system prompt is explicit about format — no preamble, just the category.


Each category maps to a model optimized for that task:

# Model routing table
ROUTE_TABLE = {
"simple": "glm-5.3",
"general": "glm-5.3",
"reasoning": "MiniMax-M3",
"code": "MiniMax-M3",
"agent": "minimax-m3",
}
def route_request(user_message: str, conversation_history: list) -> str:
"""Classify and route a request to the appropriate model."""
category = classify_request(user_message)
model = ROUTE_TABLE[category]
response = client.chat.completions.create(
model=model,
messages=conversation_history + [
{"role": "user", "content": user_message}
],
stream=True
)
# Stream the response back
full_response = ""
for chunk in response:
if chunk.choices[0].delta.content:
content = chunk.choices[0].delta.content
full_response += content
print(content, end="", flush=True)
return full_response

Notice that simple requests route back to GLM 5.3 — the same model that did the classification. For simple queries, the router overhead is effectively zero because the specialist is the same model and can reuse the warm connection.


The basic router works for most traffic, but production systems need a few refinements:

def route_request_production(
user_message: str,
conversation_history: list,
force_model: str = None
) -> tuple[str, str]:
"""Production router with overrides and fallback."""
# Allow explicit model override (for power users or testing)
if force_model:
model = force_model
category = "override"
else:
category = classify_request(user_message)
model = ROUTE_TABLE[category]
try:
response = client.chat.completions.create(
model=model,
messages=conversation_history + [
{"role": "user", "content": user_message}
]
)
return response.choices[0].message.content, category
except Exception:
# Fallback to GLM 5.3 if the specialist is unavailable
fallback = "glm-5.3"
response = client.chat.completions.create(
model=fallback,
messages=conversation_history + [
{"role": "user", "content": user_message}
]
)
return response.choices[0].message.content, f"{category}->fallback"

Three patterns worth noting:

  1. Force model — Let callers bypass routing when they know what they need.
  2. Fallback — If a specialist model is down, fall back to GLM 5.3. It handles everything reasonably well.
  3. Return the category — Log which route each request takes. You’ll need this data to tune the system.

Consider a workload of 1,000 requests with this distribution: 600 simple, 300 general, 70 reasoning, 30 code. Average 500 input tokens, 200 output tokens per request.

Single-model approach (everything on V3.2)

Section titled “Single-model approach (everything on V3.2)”
Avg latency
~4.5s
All 1000 reqs
V3.2 only

Every request waits for V3.2’s ~1.2s TTFT plus generation time at ~60 t/s. Simple questions get the same treatment as complex analysis.

Simple (600)
~1.2s (8B)
General (300)
~4.7s (V3.2)
Reasoning (70)
~9.0s (R1)
Code (30)
~3.5s (Coder)

The weighted average latency drops to approximately 2.7s — a 40% reduction. The 600 simple requests finish in ~1.2s instead of ~4.5s. That’s a 3.7x improvement for the majority of your traffic.

The 70 reasoning requests are slower individually (~9s vs ~4.5s) because R1 generates chain-of-thought tokens. But the quality on those specific requests is significantly better — R1 scores 50.2% on HLE versus V3.2’s 39.3%.

You get faster averages and better quality on the hard tail.


A customer support chatbot receives three types of requests:

  1. FAQ (60%) — “What are your business hours?” / “How do I reset my password?”
  2. Complex support (30%) — “I was charged twice for order #12345, can you investigate?”
  3. Technical issues (10%) — “Your API returns 500 when I send multipart form data with UTF-8 filenames”

All requests go to DeepSeek V3.2. FAQs get correct answers but with unnecessary latency. Technical issues get decent answers but miss edge cases that a code-specialized model would catch.

SUPPORT_ROUTES = {
"simple": "glm-5.3", # FAQ, greetings
"general": "glm-5.3", # Complex support
"reasoning": "glm-5.3", # Investigations
"code": "glm-5.3", # Technical issues
"agent": "minimax-m3", # Multi-step resolution
}

FAQs resolve quickly via GLM 5.3. Complex support issues get GLM 5.3’s full analytical capability. Technical problems also route to GLM 5.3, which understands the code context well. If a support issue requires looking up order data via API, it routes to MiniMax M3 for tool-assisted resolution.

The classification step adds ~200ms. For the 60% of requests that drop from ~4.5s to ~1.2s, that’s an invisible cost.


Routing adds complexity. Skip it when:

  • All your requests are the same type. If you’re building a code editor, just use a single coding model like GLM 5.3. No routing needed.
  • You have fewer than 100 requests/day. The cost savings don’t justify the engineering overhead at low volume.
  • Latency doesn’t matter. For batch processing or async workloads, a single capable model is simpler.
  • Your classification accuracy is low. If the router misclassifies frequently, you get worse results than a single good model. Test the classifier on real traffic before deploying.

The sweet spot is high-volume applications with diverse request types — chatbots, API gateways, developer tools, and customer-facing products where response time directly affects user experience.


  1. Log your traffic. Before building a router, understand your request distribution. What percentage is simple? Complex? Code?
  2. Start with two tiers. A fast, lighter model for simple requests, and a stronger model like MiniMax M3 for everything that needs deep reasoning, code, or long context. Add specialists only when you have data showing they help.
  3. Measure classification accuracy. Sample 100 requests, manually label them, compare against the router’s output. Target >90% accuracy.
  4. Add fallback. Every specialist route should fall back to GLM 5.3 if the specialist is unavailable.
  5. Monitor per-route metrics. Track latency, cost, and quality per category. This tells you where to optimize next.

The routing pattern works with any OpenAI-compatible API. The code examples in this guide use the model ids we actually serve — GLM 5.3 and MiniMax M3 from our Frontier pool (DeepSeek V4.1 Flash and MiMo v2.5 in the Core pool make great router models too); the throughput and latency comparisons cite ecosystem reference models like Llama and DeepSeek V3.2/R1 for context. If you’re building a platform that needs LLM access for your users, see how per-key plans work.

Sources: Artificial Analysis Leaderboard · DeepSeek V3.2 · HLE Leaderboard