Kimi K3: Moonshot's Open-Source 3-Trillion-Parameter Flagship Explained (2026)
Kimi K3 has dominated Chinese AI developer channels this week for a single, simple reason: Moonshot AI's flagship model is about to become the world's first open-source 3-trillion-parameter model. According to the official Kimi K3 quickstart, the full model weights will be published before July 27, 2026. Combine that with a 1M-token context window, native vision, tool calling, and a public reasoning_effort knob, and you have the most consequential open-weight release of the year.
This news-driven guide explains the Kimi K3 architecture (KDA + Attention Residuals + 896-expert MoE), breaks down the Kimi K3 API pricing (¥2/M cached, ¥20/M uncached, ¥100/M output), and walks through Claude Code, Codex CLI, OpenCode, and Hermes Agent integrations that you can use today. We also flag a critical correction to the older Kimi K3 API review: reasoning_effort now supports low, high, and max — the API has moved on since launch.
If you want a side-by-side benchmark, our Qwen3.8 vs Kimi K3 comparison covers coding, vision, and pricing math against Alibaba's open-weights flagship. For pure API mechanics, the original Kimi K3 API review still applies.
Verified 2026-07-23: Pricing, capabilities, and ecosystem pages on platform.kimi.com. Open-source weights release date and architecture claims sourced from the official Kimi K3 quickstart.
Why Kimi K3 Is Suddenly the Hottest Open-Source Story of 2026
Moonshot AI's announcement landed with three signals that developers usually only see from labs with ten times the funding:
- Scale: 2.8 trillion total parameters in a sparse mixture-of-experts layout — the largest open-weights model ever released.
- Release window: full weights drop before July 27, 2026, less than two weeks from announcement.
- Ecosystem readiness: official Kimi K3 integration guides for Claude Code, Codex CLI, OpenCode, Hermes Agent, OpenClaw, and Kimi Code CLI already published on day one.
For a Chinese lab, that ecosystem coverage is unusual. Moonshot is not just shipping a checkpoint — they are positioning Kimi K3 as the default Chinese-reasoning engine for Western coding agents that have struggled with Simplified Chinese workflows.
If you track the open-source model ladder, Kimi has held the size crown for nine of the last twelve months. K3 extends that streak by 40 percent over the previous generation and ships with a structural argument about why bigger sparse models beat dense ones at long-horizon work.
The 2.8T Architecture: KDA, Attention Residuals, and 896-Expert MoE
Kimi K3 is built on two new architectural pieces that the Moonshot team is documenting for the first time:
- Kimi Delta Attention (KDA) — a hybrid linear attention variant designed to keep information flowing across longer sequences without the quadratic cost of full attention.
- Attention Residuals (AttnRes) — a residual pathway that lets deeper stacks of KDA layers stay trainable as the network grows.
Combined with an expanded Mixture-of-Experts design — 896 experts with 16 active per token, stabilized by Moonshot's Stable LatentMoE framework — K3 reportedly reaches about 2.5× the training-compute efficiency of K2. The technical report due alongside the weights should publish concrete numbers, but the qualitative claim is that K3 gets substantially more capability per FLOP than its predecessor.
| Component | Kimi K2 | Kimi K3 |
|---|---|---|
| Total parameters | ~1T | 2.8T |
| Attention mechanism | Standard + MoBA sparse | KDA + Attention Residuals |
| MoE experts | 384 | 896 (16 active per token) |
| Context window | 256K | 1,048,576 (1M) |
| Native vision | Selected models | Text + image + video |
For a deeper dive on Moonshot's previous-generation MoBA hybrid block attention, see their MoBA technical changelog — the paper that informed KDA.
Kimi K3 Coding: Why It Matters for Long-Horizon Agents
K3 is positioned for two specific workloads: long-running coding sessions and end-to-end knowledge work. The official quickstart says K3 can "sustain extended engineering tasks with minimal human supervision, understand and manipulate large codebases, and coordinate terminal tools." That is a different sales pitch than a chatbot — it is the pitch Moonshot needs to land to compete with Claude Code, Codex CLI, and Gemini CLI.
Three concrete additions make that pitch plausible:
- Visual feedback loops. K3 accepts screenshots and video, so it can drive front-end, game-dev, and CAD loops where the verifier is a rendered frame, not a unit test.
- Tool-call discipline. K3 ships
tool_choice(force-call controls), dynamic tool loading (declarative tool subsets injected via a content-lesssystemmessage), and the standard tool-call / tool-result contract. - Stable reasoning. K3 always reasons, with a configurable
reasoning_effort— so an agent can drop frommaxtolowfor cheap exploration steps without losing the chain-of-thought guarantee.
If you are evaluating K3 against Claude Sonnet 4.5 or GPT-5 on long-horizon coding, remember that K3 has the cheapest cache-hit input price in its class (¥2/M) — so prompts that reuse a system prompt or a tool catalog benefit disproportionately. We compare concrete economics in the pricing section below.
1M Token Context, Native Vision, and Tool Calling
Kimi K3's 1,048,576-token context window is the same ceiling advertised since launch, but the ecosystem around it has matured. Three capabilities now work together that previously had to be patched individually:
| Capability | Kimi K3 detail | Practical note |
|---|---|---|
| Context window | 1,048,576 tokens | Same as launch; cache threshold is now documented |
| Automatic context caching | Enabled for requests with prompt > 256 tokens | Reuse a long system prompt to hit cache; no cache ID or TTL needed |
| Vision (images) | Base64 or ms://<file-id> |
Public image URLs are not supported; send content as an array of parts |
| Video input | Supported | Upload via Files API with file-extract purpose; cite via ms:// |
| Tool calls | Standard + tool_choice |
First-turn tool_choice: "required" forces at least one call |
| Dynamic tool loading | Inject via content-less system message |
Server does not persist the declaration; replay it every request |
| Structured output | json_schema + strict: true |
Parse message.content only, not reasoning_content |
| Web search | Disabled / upgrading | Official docs flag it as not production-ready |
The cache threshold detail is worth highlighting: only prompts with more than 256 tokens become eligible for prefix caching. Smaller prompts are silently dropped from the cache, so a stream of short agent calls will not benefit. For long-context workflows (knowledge base Q&A, repository-scale refactors, multi-document summarization) the cache is automatic and free to use.
reasoning_effort: The API Change Worth Re-Reading
An earlier Kimi K3 review on this site described reasoning_effort as supporting only max. That is no longer accurate. The current quickstart lists three discrete values:
low— minimal reasoning; cheapest and fastesthigh— balanced reasoningmax— default; deepest reasoning chain
Kimi K3 always reasons, so you cannot disable thinking entirely — but you can dial it down for cheap classification, routing, or summarization passes, then crank it up for the final synthesis step. Other important sampling defaults are fixed at temperature=1.0, top_p=0.95, n=1, and zero penalties; the official guide recommends not passing them explicitly.
The streaming response carries two deltas — reasoning_content and content — and you can render them on separate UI tracks. Always replay the full assistant message (including reasoning_content) on the next turn, otherwise multi-turn coherence breaks.
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["MOONSHOT_API_KEY"],
base_url="https://api.moonshot.cn/v1",
)
# Cheaper reasoning for a routing step
cheap = client.chat.completions.create(
model="kimi-k3",
reasoning_effort="low",
messages=[{"role": "user", "content": "Classify this ticket: 退货 物流慢"}],
)
# Deep reasoning for the final synthesis
final = client.chat.completions.create(
model="kimi-k3",
reasoning_effort="max",
messages=[
{"role": "user", "content": f"Draft a response: {cheap.choices[0].message.content}"},
],
)
print(final.choices[0].message.content)
Kimi K3 Pricing and the July 16–August 12 Promotion
The official K3 pricing table shows three line items per million tokens, billed in CNY:
| Item | Price (per 1M tokens) | USD equivalent (¥7.20) |
|---|---|---|
| Cached input | ¥2.00 | ~$0.28 |
| Uncached input | ¥20.00 | ~$2.78 |
| Output | ¥100.00 | ~$13.89 |
USD figures use the snapshot rate of ¥7.20 = $1 and will drift with FX. Treat the CNY values as the source of truth.
The big budget trap is that output is five times more expensive than uncached input. A coding agent that emits 30,000 tokens of code and reasoning for every 100,000 tokens of cached prefix will bill roughly 60 percent on output. Cache aggressively, shorten tool-result echoes, and avoid printing entire file contents back to the model.
The Kimi K3 release recharge promotion runs from 2026-07-16 00:00 to 2026-08-12 23:59 (UTC+8). Each organization can claim one bonus voucher based on their highest first-day recharge:
| Recharge amount (CNY) | Bonus voucher | Effective discount |
|---|---|---|
| ¥99 – ¥499 | 10% | 9.1% off |
| ¥500 – ¥1,999 | 20% | 16.7% off |
| ¥2,000 – ¥4,999 | 25% | 20% off |
| ≥ ¥5,000 | 30% | 23.1% off |
Vouchers are good for 90 days, capped at ¥20,000 per voucher, and consume before your cash balance. The promotion excludes Kimi consumer products and Kimi Code — it applies only to the API platform. And as always, the new-user ¥15 signup coupon is not eligible for K3; a top-up is required before any K3 call.
Ecosystem Integrations: Claude Code, Codex, OpenCode, Hermes Agent
The unusual part of the K3 launch is the integration surface area. Moonshot has shipped first-party guides for six major agent frameworks within days of release:
- Claude Code — use Anthropic's Claude Code CLI with Kimi K3 as the model backend. Just the kind of cross-vendor setup this guide is built for.
- Codex CLI — official setup for OpenAI's Codex CLI pointing at
api.moonshot.cn. - OpenCode — built-in China-region authentication flow for Kimi K3 and its reasoning-effort levels.
- Hermes Agent — full text, image, and video understanding in the Hermes Agent runtime.
- OpenClaw and Kimi Code CLI — additional reference integrations for cross-platform agent and IDE-style workflows.
The takeaway is that Kimi K3 is no longer a Chinese-only API with a model card. It is now a drop-in backend for the most-used coding agents on the planet, with native support for the three reasoning-effort tiers and the same K3 tool-calling semantics you would use against the API directly.
Kimi K3 vs Claude, GPT, and Qwen3: How It Stacks Up
Open-weights models rarely compete head-to-head with closed frontier models on benchmarks, so most comparisons come down to cost-adjusted reasoning quality. The next table is a developer-side comparison using publicly documented pricing; benchmark numbers will firm up once the open weights land and the community can run independent evaluations.
| Model | Params | Context | Cached input / 1M | Uncached input / 1M | Output / 1M |
|---|---|---|---|---|---|
| Kimi K3 | 2.8T (MoE) | 1M | ¥2.00 (~$0.28) | ¥20.00 (~$2.78) | ¥100.00 (~$13.89) |
| Claude Sonnet 4.5 | Closed | 1M | $0.30 | $3.00 | $15.00 |
| GPT-5 | Closed | 400K | $0.125 | $1.25 | $10.00 |
| Qwen3.8-Max-Preview | Open weights | 256K | ¥1.50 | ¥8.00 | ¥32.00 |
| DeepSeek V3 | ~670B (MoE) | 128K | ¥0.50 | ¥2.00 | ¥8.00 |
K3's cache-hit price is the lowest in its tier, which matters disproportionately for long-running coding agents that re-emit the same tool catalog and system prompt every turn. Its uncached input and output prices sit roughly in line with Claude Sonnet 4.5 once you normalize to USD — premium-tier pricing for a premium-tier model. For raw tokens-per-dollar, DeepSeek V3 is still the cheapest in the table by a wide margin, but its 128K context and lack of vision limit its agent use cases.
For a head-to-head with Alibaba's open-weights flagship, see our Qwen3.8 vs Kimi K3 comparison.
What Developers Should Do This Week (5-Step Action Plan)
If you are wondering whether to spend engineering time on Kimi K3 before the open weights land, here is a five-step plan that maximizes signal and minimizes commitment.
- Verify the open-source drop yourself on July 27. Bookmark the official K3 quickstart and check the changelog on release day. Moonshot has been consistent about putting weights on Hugging Face, so watch both that page and the changelog feed.
- Run a smoke test on the API today. The cheapest way to understand K3's tool-calling behavior is a one-shot curl. Set
reasoning_effort: "low"first to keep costs bounded, then re-run the same prompt with"max"to see whether the deeper reasoning changes the answer you care about. - Wire K3 into Claude Code or Codex CLI. Both agents now have official Kimi K3 guides. Adding a Kimi profile takes about ten minutes and lets you A/B test K3 against Claude Sonnet or GPT-5 on real coding work.
- Audit your prompts for cache hit rate. K3's biggest economic lever is automatic caching for prompts over 256 tokens. Audit your agent's system prompt and tool catalog for stability; even a small reorder can break cache hits for a session.
- Plan the 30 percent voucher. If you can commit ¥5,000 before August 12, the promotion voucher (30 percent, valid 90 days) is effectively a 23 percent discount on K3 spend. Schedule the recharge for the largest single transaction you can justify, since only the highest first-day top-up counts.
Frequently Asked Questions About Kimi K3
Below are the seven questions developers are asking most often about Kimi K3, with answers cross-checked against the official quickstart and pricing pages.
Is Kimi K3 really open-source, and when exactly do the weights drop?
Yes. The Kimi K3 quickstart states that the complete model weights will be published before July 27, 2026. Moonshot describes K3 as the first 3-trillion-parameter open-source model. The technical report and architecture details will accompany the weights.
How much does Kimi K3 cost per million tokens?
According to the official K3 pricing page, the rates are ¥2 per million cached input tokens, ¥20 per million uncached input tokens, and ¥100 per million output tokens. The new-user ¥15 signup coupon cannot be used for K3; a recharge is required.
Can I run Kimi K3 inside Claude Code today?
Yes. Moonshot has published an official Claude Code + Kimi K3 setup guide that walks through environment variables, base URL configuration, and which K3-specific parameters (such as reasoning_effort) carry over cleanly.
Does Kimi K3 support image and video input?
Yes. K3 accepts text, image, and video input. Images must be sent as base64 or via a Kimi ms://<file-id> reference; public image URLs are not supported, and content must be an array of message parts, not a serialized string.
What is reasoning_effort and which value should I use?
reasoning_effort is a top-level request parameter that controls how deeply Kimi K3 reasons before answering. It accepts low, high, and max, with max as the default. K3 always reasons, so you cannot disable it entirely, but you can use low for cheap classification or routing steps and reserve max for the final synthesis.
How does Kimi K3 compare to GPT-5 and Claude Sonnet 4.5 on coding?
Independent benchmarks will firm up once the open weights land. From an economic perspective, K3's cached input price is the cheapest among the three (¥2 vs. $0.30 for Claude Sonnet 4.5 and $0.125 for GPT-5), and its uncached input and output prices sit roughly in line with Claude Sonnet 4.5 after FX normalization. The differentiator is the ecosystem: K3 ships first-party guides for Claude Code, Codex CLI, OpenCode, and Hermes Agent.
Is the new-user ¥15 coupon usable for Kimi K3?
No. The official quickstart explicitly states that the ¥15 signup coupon cannot be used to experience K3; you must complete a recharge (minimum ¥10) before any K3 call will succeed.
References
- Moonshot AI, Kimi K3 quickstart — verified 2026-07-23
- Moonshot AI, Kimi K3 pricing — verified 2026-07-23
- Moonshot AI, Kimi K3 release recharge promotion (July 16 – August 12, 2026)
- Moonshot AI, Kimi API model list
- Moonshot AI, Claude Code + Kimi K3 setup guide
- Moonshot AI, Codex CLI + Kimi K3 setup guide
- Moonshot AI, MoBA: hybrid block attention for long-context LLMs
- APIRank, Kimi K3 API Review 2026
- APIRank, Qwen3.8 vs Kimi K3: 2T+ Open Models API 2026
Disclosure
APIRank may earn affiliate commission from partner links in this article. Editorial judgments remain independent.