Open-Weight Models Grew Up
In 2026 the open-weight frontier is genuinely competitive — and dramatically cheaper than closed flagships. Four labs lead: DeepSeek, Z.ai (GLM), Moonshot (Kimi), and MiniMax. Each ships open weights and a hosted API, so you can call them like any API today and self-host later if you want. All four are on LinkModel under one key.
The Contenders
| Model | Input / Output (1M) | License | Edge |
|---|---|---|---|
| DeepSeek V4 Flash | $0.44 / $1.32 peak; half off-peak | MIT | Low cost, 1M context, cached-input tier |
| DeepSeek V4 Pro | $1.32 / $3.96 peak; half off-peak | MIT | Higher-capability DeepSeek tier |
| GLM-5.1 | ~$1.40 / $4.40 | MIT | 8-hour autonomous coding |
| Kimi K2.6 | $0.95 / $4.00 | Modified-MIT | Multimodal, 300 sub-agents |
| MiniMax M2.7 | $0.30 / $1.20 | Modified-MIT | Cheap long-horizon agents |
Which to Pick
- Low-cost / high-volume → DeepSeek V4 Flash. Confirm the active peak or off-peak rate before forecasting.
- Best value coding → DeepSeek V4 Pro (LiveCodeBench 93.5).
- Long autonomous coding runs → GLM-5.1 (3rd on Code Arena, 8-hr stamina).
- Multimodal / UI-from-screenshot / agent swarms → Kimi K2.6.
- Cheapest capable agent → MiniMax M2.7.
Two Things to Know Before Self-Hosting
Licensing. DeepSeek and GLM-5.1 are fully MIT (commercial self-hosting OK). Kimi K2.6 and MiniMax M2.7 are Modified-MIT — commercial self-hosting needs authorization. Check the license against your deployment.
Data residency. Provider regions and data handling differ by API and account. For EU/PII or regulated workloads, verify the current processing location, retention, subprocessors, and contract before sending data. Self-hosting gives more infrastructure control but does not remove security or license obligations. A gateway adds another processor, so review its current data-handling terms rather than assuming residency or retention behavior.
API-First or Self-Host?
Open weights are "free" only if you own and operate the GPUs. For bursty or moderate volume, the hosted API is cheaper in total cost (no idle GPU, no ops) — see serverless GPU vs generation API. Self-host when you need data sovereignty, custom fine-tunes, or very high steady utilization.
How to Call Them
All four are OpenAI-compatible, so switching is a model-string change:
for model in ("deepseek-v4-flash", "glm-5.1", "kimi-k2.6", "minimax-m2.7"):
run(model, prompt) # same request shape via one gateway keyConfirm the exact chat endpoint in the docs.
Open Source, Open Weight, and Hosted API
These terms are not interchangeable. An open-source model should provide the code and model components under terms that permit the intended use. An open-weight model publishes weights but may restrict commercial use, redistribution, or training. A hosted API can serve either type while giving you no control over the provider's infrastructure.
Check the exact license for the exact checkpoint—not only the model family name. Record attribution, acceptable-use, redistribution, and commercial-hosting requirements before deployment.
API Cost vs. Self-Hosting TCO
For an API, estimate tokens multiplied by rates plus retries. For self-hosting, include GPU time, idle capacity, replicas, storage, egress, observability, upgrades, and engineering on-call.
self-hosted cost per 1M tokens = monthly infrastructure and labor allocation ÷ monthly delivered tokens × 1,000,000
Low utilization is the trap. A GPU that looks cheap per hour can be expensive per delivered token when it sits idle or must keep spare capacity for bursts.
Production Selection Checklist
- License fits commercial and deployment requirements.
- Context and output limits match real prompts.
- Structured output and tool calls pass your tests.
- Provider exposes versioning, rate limits, and incident status.
- Data location and retention fit policy.
- A fallback exists for capacity or model changes.
API-first is usually faster for uncertain volume. Self-host when utilization, privacy, customization, or sovereignty justifies the operating burden.
Bottom Line
Open-weight LLMs are the value story of 2026: DeepSeek for cheap bulk, GLM for autonomous coding, Kimi for multimodal agents, MiniMax for cheap long-horizon agents. Mind the license and data residency, and route between them. Compare with closed flagships in best LLM API.
Start free with a $1 credit and test all four.
