If you already ship with Kimi, the July 16, 2026 launch of Kimi K3 raises one practical question: is this the upgrade you switch to, or a bigger, pricier model you can skip for now? Kimi K2.7 Code is the coding-focused release in the K2 line, and plenty of teams wired it into their agents and CI last quarter. K3 is a different animal: Moonshot’s new flagship, built at a much larger scale, with a new attention design and a 1M-token context window. This piece breaks down what genuinely changed, what is marketing, and how to decide whether to migrate.
We are not neutral here: we wrote the guides on both models, so this is the honest upgrade note we would give a colleague. Because both expose an OpenAI-compatible API, you can run the same request through kimi-k3 and kimi-k2-7-code side by side in Apidog and read the diff in outputs, latency, and token spend before rewriting any production code. First, the verdict.
TL;DR: the verdict at a glance
- K3 is the bigger, more general model. A 2.8T-parameter mixture-of-experts model, roughly triple the ~1T-class K2 line that K2.7 Code came from. K2.7 Code was a coding specialist; K3 is Moonshot’s “most capable” flagship that is also strong at long-horizon agentic coding.
- Context jumped to 1M tokens. K3 handles 1,048,576 tokens, changing what “give it the whole repo” actually means.
- The architecture is new, not just scaled. Kimi Delta Attention, Attention Residuals, and a Stable LatentMoE framework (16 of 896 experts active) are the real engineering story.
- Pricing moved up. K3 lists $0.30/M cache-hit input, $3/M cache-miss input, and $15/M output. The cheap-input math only pays off if your cache-hit rate is high.
- Honest ceiling: Moonshot’s own blog says K3 still trails Claude Fable 5 and GPT-5.6 Sol. It is frontier-level for an open model, not the outright leader.
- Migrate if you need the larger context, stronger general reasoning, or long-horizon agent runs. Stay on K2.7 Code if your workload is narrow coding at a price you like and K2.7 already clears your quality bar.
Two different kinds of model
Before comparing specs, understand this: K2.7 Code and K3 were built to do different jobs.
Kimi K2.7 Code is the coding-focused member of the K2 lineage (K2, K2 Thinking, K2.5, K2.6, then K2.7 Code), which topped out around the 1T-parameter class. It pointed that lineage hard at code generation, editing, and agentic developer tasks: if your job was “write and fix code through an API,” it was a tuned, cost-sensible pick. For exact K2.7 Code parameter counts, context, and pricing, see our what is Kimi K2.7 Code explainer.
K3 is not a coding release. It is the new flagship, Moonshot’s most capable general model, with coding one strong capability inside a wider set. So you are not comparing old coder versus new coder; you are comparing a specialist against a generalist that is also good at code, and that drives most of the migration decision.
What actually changed, generation to generation
Here is what moved, with the marketing stripped out.
Scale: roughly triple the total parameters
K3 is a 2.8T-parameter mixture-of-experts model. The K2 line that produced K2.7 Code sat in the ~1T-parameter class, so K3 roughly triples total parameters. One caveat: Moonshot did not publish K3’s active-parameter count. MoE models only run a fraction of their weights per token, so “2.8T total” is not the number that sets inference cost. Do not read 2.8T as “2.8T parameters fire on every request.” What Moonshot did publish is the activation pattern, covered next.
A new attention architecture, not a scaled-up one
This part is genuinely new rather than just larger. K3 is built on three named pieces:
- Kimi Delta Attention, a hybrid linear attention mechanism. Linear attention scales better with sequence length than standard quadratic attention, which is part of how a 1M-token window becomes practical.
- Attention Residuals, which Moonshot describes as a drop-in replacement for standard residual connections.
- Stable LatentMoE, the mixture-of-experts framework that activates 16 of 896 experts per token.
Moonshot reports roughly a 2.5x improvement in scaling efficiency versus Kimi K2: more capability per unit of compute, not just more compute. K2.7 Code, a K2-generation model, does not carry this redesign, so the gap is not only “bigger” but “built differently.”
Context: up to 1M tokens
K3 supports a 1,048,576-token context window. For a coding workflow, that is the difference between feeding an agent a handful of files and handing it a large chunk of a real repository, its tests, and its logs in one shot. If you hit context ceilings with K2.7 Code on big-repo tasks, this is the single change most likely to matter day to day.
Positioning: specialist to flagship generalist
K2.7 Code was a coding release; K3 is the flagship “most capable” model that is also good at long-horizon agentic coding. Moonshot points to autonomous runs on hard, multi-step problems, including a single 48-hour run on a chip-design task. Whether those anecdotes map to your workload is something you test, not take on faith. But the intent is clear: K3 is pitched at agents that run long and hold state, where the 1M context and new attention design pay off.
Pricing: flagship rates
K3 lists $0.30 per million tokens for cache-hit input, $3 per million for cache-miss input, and $15 per million for output. The 10x spread on input is the interesting part. On workloads with a high cache-hit rate, like agentic coding that reuses a large system prompt and repo context across many calls, effective input cost sits far closer to $0.30 than $3; on one-shot calls with fresh context, you pay the $3 sticker. Output at $15/M is flagship-tier with no discount lever. For the full cache math, see our Kimi K3 pricing guide, and confirm K2.7 Code’s rates before assuming K3 is strictly more expensive per task.
Kimi K3 vs Kimi K2.7 Code: side by side
| Dimension | Kimi K2.7 Code | Kimi K3 |
|---|---|---|
| Positioning | Coding-focused release in the K2 line | Flagship “most capable” general model, strong at agentic coding |
| Generation | K2 lineage (K2 to K2.6 to K2.7 Code) | New K3 generation |
| Total parameters | ~1T-class (K2 line) | 2.8T total (MoE) |
| Active parameters | Confirm vs our K2.7 Code post | Not published; 16 of 896 experts active |
| Attention design | K2-generation attention | Kimi Delta Attention + Attention Residuals |
| MoE framework | K2-generation MoE | Stable LatentMoE (16/896 experts) |
| Context window | Confirm vs our K2.7 Code post | 1,048,576 tokens (1M) |
| Model ID | kimi-k2-7-code |
kimi-k3 |
| API compatibility | OpenAI-SDK compatible | OpenAI-SDK compatible |
| Listed pricing | Confirm vs our K2.7 Code post | $0.30/$3 input (cache-hit/miss), $15 output per M |
| Open weights | See our K2.7 Code coverage | Expected around July 27, 2026 |
| Independent signal | See our K2.7 Code coverage | Artificial Analysis Intelligence Index 57, #4/189 |
| Best fit | Narrow coding at a known cost | Large-context, long-horizon, general + coding work |
A note on the cells marked “confirm”: we are deliberately not inventing exact K2.7 Code numbers. Where you need a precise K2.7 spec, our what is Kimi K2.7 Code post and Kimi K2.7 Code API guide are the sources to trust. Phrasing K3 comparatively keeps the comparison honest.
Where K3 actually sits versus the frontier
It would be easy to read “2.8T flagship” as “new best model,” so here is the part vendors usually soften. Moonshot’s own launch blog says K3 trails Claude Fable 5 and GPT-5.6 Sol. It is competitive on specific benchmarks and ahead on some, but does not claim the overall crown.
The independent read backs that. Artificial Analysis puts K3’s Intelligence Index at 57, ranked #4 of 189 models, with output around 62 tokens per second, on the slower side for its price tier. On the coding benchmarks Moonshot publishes, the picture is mixed rather than dominant: on DeepSWE it reports K3 at 67.5 against Fable 5’s 70.0, and on Terminal-Bench 2.1 it reports K3 at 88.3 against Fable 5’s 84.6. K3 wins some and loses some against the frontier, a strong result for an open-weight model and not a reason to oversell it. Read Moonshot’s full claim set on the official Kimi K3 launch post; we unpack the vendor-versus-independent gap in our Kimi K3 benchmarks breakdown.
For your migration decision, “step up over your own predecessor” is a different claim from “beats every closed model.” Both are true at once.
Should you migrate or stay on K2.7 Code?
Run your workload through these questions in order.
Migrate to K3 if any of these are true
- You hit context limits. If K2.7 Code truncates on big-repo tasks, whole-service refactors, or long agent transcripts, the 1M window is the clearest reason to move. Raw headroom has no substitute.
- Your tasks are long-horizon and agentic. Multi-step runs that hold state across many tool calls are what K3’s design targets. If your agent loses the thread on long jobs, test whether K3 holds it better.
- You need general reasoning, not just code. If your product mixes code with planning or analysis, a coding specialist can be the wrong tool.
- Your cache-hit rate is high. Reusing a large system prompt and shared context across many calls lets K3’s $0.30 cache-hit input soften the flagship pricing, landing effective cost closer to your K2.7 spend.
Stay on K2.7 Code if any of these are true
- Your workload is narrow coding and K2.7 already clears the bar. If quality is fine and you are shipping, a bigger flagship is cost you may not need. “Good enough and cheaper” is a legitimate answer.
- You are cost-sensitive with low cache reuse. Fresh-context, one-shot calls pay K3’s $3 cache-miss input and $15 output, so without a high cache-hit rate the flagship math is harder to justify.
- Latency matters more than peak intelligence. K3’s ~62 tokens/sec is below its price-tier median. If your app is latency-bound, benchmark this before assuming the bigger model feels faster.
- Open weights gate your plan. K3’s weights are expected around July 27, 2026, so any self-hosting requirement should be checked against the actual release on Moonshot’s Hugging Face, not assumed shipped.
Real-world scenarios
A few concrete profiles, since abstract advice only goes so far.
A CI code-fix bot on a mid-sized repo. If it already passes tests and stays cheap on K2.7 Code, you likely do not need K3. Narrow task, context fits, cost per run matters. Stay put; revisit only if failure rates climb.
An autonomous refactor agent on a large monorepo. K3’s home turf: the 1M context loads more of the codebase, tests, and logs at once, and the long-horizon design is built for runs that touch many files over many steps. Worth a real trial.
For hands-on setup, our Kimi K3 coding walkthrough and Kimi K3 API guide cover model selection and the OpenAI-compatible quickstart; if you are still on the older line, the K2.6 explainer fills in the lineage.
How to A/B test the two before you commit
The cleanest way to decide is to run the same request through both models and read the difference. Since both are OpenAI-SDK compatible, that is little work.
Point one request at the Moonshot endpoint with the model set to kimi-k2-7-code, and a second identical request with kimi-k3. Keep everything else fixed: same system prompt, user message, temperature, and tools. Then compare the three things that drive your decision:
- Output quality on your real prompts, judged the way you judge production output, not by vibe.
- Latency, since K3 is the slower model per its independent speed number, which can outweigh a quality gain in interactive apps.
- Token spend, including how your cache-hit rate changes effective input cost between the two.
Apidog makes this side-by-side workflow straightforward. Save both requests in one project, swap the model ID as an environment variable, watch server-sent-event streaming responses in real time, inspect tool-call payloads, and see token usage per call. Duplicate the request, change one field, and you have a controlled A/B without throwaway harness code. Download Apidog to set it up, and if you work in an editor, the Apidog inside VS Code integration keeps it next to your code. It is a free way to decide on evidence, not marketing.

The bottom line
K3 is a real generational jump over K2.7 Code, not a rename. It roughly triples total parameters to 2.8T, ships a new attention architecture (Kimi Delta Attention, Attention Residuals, Stable LatentMoE), extends context to 1M tokens, and reframes the product from coding specialist to flagship generalist. It also costs more at sticker, and by Moonshot’s own admission still trails Fable 5 and GPT-5.6 Sol, so the upgrade is not automatic. If you need the context, general reasoning, or long-horizon agent behavior, move. If K2.7 Code already clears your bar at a price you like, staying is defensible. Run both on your own prompts, read the diff, and let the evidence pick.
Frequently asked questions
Which one is better for coding? K2.7 Code was tuned specifically for coding and is a strong, cost-effective pick for narrow code tasks. K3 is a flagship generalist, also good at long-horizon agentic coding, with a much larger context. For big-repo, multi-step agent work, K3 has the structural edge; for narrow coding K2.7 handles well, K2.7 Code can be the smarter spend.
Is Kimi K3 more expensive than K2.7 Code? K3 lists $0.30/M cache-hit input, $3/M cache-miss input, and $15/M output, which is flagship-tier. Whether it costs more per task depends on your cache-hit rate and output verbosity, so compare effective cost on your own workload. Both models are OpenAI-SDK compatible, so switching is mostly a model-ID change plus a prompt re-test.
Is Kimi K3 open source? Not on launch day. Moonshot said full model weights are expected around July 27, 2026. Until they land, K3 is API- and app-only. Treat any self-hosting plan as gated on that release.
Is K3 better than Claude Fable 5 or GPT-5.6 Sol? By Moonshot’s own blog, no. K3 trails both overall, though it is competitive or ahead on specific benchmarks. Independently, Artificial Analysis places it at Intelligence Index 57, ranked #4 of 189. It is a strong open-weight contender, not the outright frontier leader.



