Kimi K3 API
Moonshot AI's 2.8-trillion-parameter open-weight frontier model
The largest open-weight model yet ranks third on the Artificial Analysis Intelligence Index, tops Arena's frontend-code voting and reads a million tokens, with weights anyone can download.
- Kind: chat
- Made by: Moonshot AI
- Price: 480 credits / M input tokens, 2400 / M output (from $4.80; 1 credit = $0.01 on monthly plans, $0.015 as a top-up)
- Released: 2026-07-16
- Open weights: yes (Open weights, Kimi K3 License (permissive; big model-as-a-service hosts need a separate deal, very large products must display Kimi K3))
- Parameters: 2.8 trillion total, 104 billion active (mixture of experts)
- Experts: 896 routed, 16 per token, plus 2 shared
- Context window: 1,048,576 tokens
- Inputs: Text and images on Unicorn
- Output: Text, with always-on thinking
- Attention: Kimi Delta Attention (69 layers) plus Gated MLA (24 layers)
- Max reply on Unicorn: 128,000 tokens, reasoning included
- Licence: Open weights, Kimi K3 License
- Inputs: model, messages, tools, tool_choice, stream, max_tokens, temperature, top_p, stop, response_format, reasoning_effort
Call it with POST https://api.unicornapi.net/v1/chat/completions and model kimi-k3, or try it in the Playground.
Where it shines
- Largest open-weight model released: 2.8T parameters, weights on Hugging Face
- Third on the Artificial Analysis Intelligence Index (57) at launch
- First on Arena's Frontend Code leaderboard at 1,679, ahead of Claude Fable 5
- Leads Moonshot's comparison on BrowseComp (91.2), SWE-Marathon (42.0) and OmniDocBench (91.1)
- Context grows fourfold over Kimi K2.6, to about a million tokens
Watch out for
- Hallucination rate on AA-Omniscience rose from 39% (K2.6) to 51%
- Trails Claude Fable 5 and GPT-5.6 Sol on DeepSWE, OSWorld 2.0 and Humanity's Last Exam
- Long, slow runs: about 120,000 output tokens and 83 turns per AA-Briefcase task
- Needs full reasoning history passed back each turn, and can act too independently
Kimi K3 is Moonshot AI's new flagship, and it is the largest model anyone has ever offered as open weights: 2.8 trillion parameters, 104 billion of them active for each token, with a one-million-token context window and native vision. Moonshot calls it "the world's first open 3T-class model", built for long-horizon coding, knowledge work and reasoning.
What makes it interesting is not just size. On launch day K3 lands third on the Artificial Analysis Intelligence Index, behind only Claude Fable 5 and GPT-5.6 Sol, and comparable to Claude Opus 4.8 and GPT-5.5. It takes first place on Arena's Frontend Code leaderboard, ahead of every closed model. And Moonshot promises the full weights on Hugging Face by July 27, which makes it the strongest model a team can download, inspect and run on its own hardware.
Nathan Lambert of Interconnects sums up the mood: with K3, the gap between open and closed models shrinks "from the debated 6-9 months to something shorter, say 3-5 months." The trade-offs are real too. K3 is far larger and harder to host than its predecessor, it thinks at length, and independent tests show it hallucinates more often than Kimi K2.6 did.
Moonshot AI and the road from K2 to K3
Moonshot AI is a Beijing company founded in March 2023. Its Kimi assistant has been public since late 2023, and companies such as Cursor, DoorDash and Thinking Machines have deployed its open models since Kimi K2 arrived in July 2025 as a one-trillion-parameter mixture-of-experts model under a modified MIT licence. K2 Thinking, K2.5 and K2.6 followed, and in June a coding specialist, K2.7 Code. K2.6, released on April 20, is the model K3 replaces at the top of the line: 1 trillion parameters, 32 billion active, 384 experts and a 262,144-token context window.
K3 is a much bigger step than the version number jump might suggest. Moonshot's president Yutong Zhang frames it as a product of constraint: "We knew we didn't have the luxury to simply scale up compute. That forced us on fundamental research and efficiency." Chinese labs work under U.S. export controls on advanced AI chips, and K3's architecture is designed to get more out of each unit of compute.
The model was announced on July 16 and is available immediately on kimi.com, in the Kimi mobile and desktop apps, in the Kimi Code command-line agent and on Moonshot's API platform, which speaks both the OpenAI and Anthropic formats. Demand was strong enough that Moonshot paused new subscriptions for K3 access to protect capacity.
Open weights, with conditions
The weights and code, due on Hugging Face by July 27, ship under the new Kimi K3 License. It starts as a permissive grant: use, copy, modify, fine-tune, distribute and sell. Two conditions follow. A company running a "Model as a Service" business, meaning it gives outside users meaningful control over inference or fine-tuning, must sign a separate agreement with Moonshot before commercial use once its group revenue passes 20 million US dollars over any 12 months. Products with more than 100 million monthly active users or more than 20 million US dollars in monthly revenue must display "Kimi K3" prominently in their interface. And neither rule applies to internal use or to access through Moonshot's own products and certified inference partners. That is stricter than K2.6's modified MIT licence, but for most companies building on the model it is open in every practical sense.
What changed from Kimi K2.6
Nearly three times the parameters. K3 grows from 1 trillion to 2.8 trillion total parameters, and from 32 billion to 104 billion active per token. Moonshot says the new architecture gives "an approximate 2.5× improvement in overall scaling efficiency over Kimi K2."
Four times the context. The window grows from 262,144 tokens to 1,048,576. On BrowseComp, Moonshot reports 91.2% with context compaction and still 90.4% when the model simply uses its full million tokens with no context management.
Native vision built in. K3 carries a new 401-million-parameter vision encoder, MoonViT-V2, and Moonshot describes it as understanding text, images and video in one model. The launch demos lean on this: the model iterates on games by looking at live screenshots of its own code running, and edits a video teaser from 56 source clips.
More work per token. Artificial Analysis measured K3 using 21% fewer output tokens than K2.6 to run its full index, about 132 million against 166 million, while scoring much higher. On the AA-Briefcase knowledge-work test its Elo rose by more than 700 points over K2.6.
Long-horizon agent training. Moonshot trained K3 for long, low-supervision sessions. Its showcase runs include a Triton-style GPU compiler written from scratch that matches or beats Triton on supported benchmarks, a 24-hour kernel-optimisation run, and a 48-hour autonomous chip design on a 4 mm² die, built with open-source tools and closing timing at 100 MHz.
Thinking that is always on. K3 always reasons before it answers, and Moonshot's API offers low, high and max effort, with max as the default. At launch only max was available, with the lower settings promised in later updates.
Inside K3: linear attention, attention residuals and 896 experts
K3's design departs from the standard transformer recipe in several places. Of its 93 layers, 69 use Kimi Delta Attention, Moonshot's linear-attention mechanism, which keeps the memory and compute needed for very long contexts manageable. The other 24 use Gated MLA, a gated form of the compressed full-attention design (Multi-head Latent Attention) found in earlier Kimi models. Attention Residuals change how information flows through depth: instead of summing every layer's output uniformly, each layer "selectively retrieves representations across depth."
The feed-forward side is a Stable LatentMoE with 896 routed experts, 16 active per token, plus two shared experts. Moonshot replaced the usual load-balancing heuristics with Quantile Balancing, which sets expert allocation directly from router-score quantiles. Training used Per-Head Muon, a version of the Muon optimiser that updates each attention head on its own, and a new activation called SiTU.
The model is trained to run in low precision from the fine-tuning stage onward, with MXFP4 weights and MXFP8 activations. Even so, this is not a model for a workstation: Moonshot recommends supernode deployments with 64 or more accelerators, served through vLLM, SGLang or TokenSpeed. Moonshot has not published its training token count, data mix or knowledge cutoff.
Kimi K3 specs
| Kimi K3 | |
|---|---|
| Maker | Moonshot AI |
| Architecture | Mixture of experts, 93 layers (69 KDA, 24 Gated MLA) |
| Parameters | 2.8 trillion total, 104 billion active |
| Experts | 896 routed, 16 per token, 2 shared |
| Context window | 1,048,576 tokens |
| Inputs | Text and images (Moonshot also describes video understanding) |
| Output | Text |
| Thinking | Always on; max effort by default on Moonshot's API |
| On Unicorn API | reasoning_effort low, medium or high; max_tokens up to 128,000; tools and JSON mode |
| Weights | Open, Kimi K3 License |
Where Kimi K3 is strong
Frontend and design code. Arena's blind Frontend Code leaderboard puts K3 first at 1,679, ahead of Claude Fable 5 at 1,631 and GPT-5.6 Sol at 1,618, and first in six of its seven domains. K2.6 sat in 18th place. Early testers echo this: one called it "near frontier at code stuff, especially design work."
Long agentic coding sessions. In Moonshot's table K3 scores 88.3% on Terminal-Bench 2.1, within half a point of GPT-5.6 Sol, and leads every model shown on SWE-Marathon (42.0 against 40.0 for Claude Opus 4.8) and ProgramBench (77.8). On FrontierSWE it reaches 81.2, behind only Fable 5.
Research and browsing agents. BrowseComp at 91.2 and DeepSearchQA at 95.0 F1 are the best figures in Moonshot's comparison, and K3 also leads MCPMark-Verified at 94.5. A model that can hold a million tokens and still find answers is well suited to deep-research pipelines.
Professional knowledge work. Vals AI ranks K3 second on its index. On the Harvey Lab-AA legal benchmark it scores 94.6 against 93.6 for Fable 5, and Artificial Analysis places it second only to Fable 5 on its AA-Briefcase agentic knowledge benchmark.
Documents and long context. K3 leads Moonshot's table on OmniDocBench (91.1), a document-parsing test, and on AA-LCR long-context reasoning (74.7). Video-MME with subtitles reaches 90.0.
Open weights at the top. None of these numbers come from a model you have to rent. Teams with the hardware can host K3, fine-tune it and keep their data in-house, within the licence terms above.
Where it falls short
More hallucinations. Artificial Analysis found K3's accuracy on its AA-Omniscience knowledge test rising from 33% to 46% over K2.6, but its hallucination rate rising too, from 39% to 51%. It gets more answers right and also guesses more confidently when it does not know. For factual work, ground it with documents or search.
Behind the two closed leaders. Moonshot is candid: K3 "exhibits a noticeable gap in user experience compared with Claude Fable 5 and GPT 5.6 Sol." Its own table shows it trailing on DeepSWE (67.5 against 73.0 for Sol), OSWorld 2.0 computer use (58.3 against 66.1 for Fable 5), Humanity's Last Exam and GDPval-AA. One tester summed up implementation work as getting "70-90%" of what was needed.
Slow, deliberate runs. All of Moonshot's scores use maximum reasoning effort. On AA-Briefcase, K3 averaged about 120,000 output tokens and 83 turns per task, taking roughly 2.5 times as long as Fable 5. Launch-week users also reported overloaded servers and slow responses.
Fragile thinking history. K3 was trained with preserved thinking: in multi-turn chats and tool loops, the full assistant message, reasoning included, must be sent back. Moonshot warns that if the history is dropped, or a session started with another model is switched to K3 midway, "generation quality may become highly unstable."
Too eager to act. Because training emphasised long, hard tasks, Moonshot says K3 "may make unexpected decisions on the user's behalf" when intent is ambiguous. Agents that must stay inside strict boundaries need explicit rules in the system prompt.
How to prompt Kimi K3
Treat K3 as an agent that will run with a brief. State the goal, the constraints and what it must not do, then let it work. Put hard limits in the system prompt, as Moonshot recommends. Start conversations with K3 rather than switching to it mid-session, and if you manage history yourself, return each assistant message unchanged. A stable conversation prefix also lets cached context be reused; Moonshot reports cache hit rates above 90% for coding agents.
For frontend work, ask for a complete, runnable artefact and name the interactions:
Build a single-file HTML page for a habit tracker: a 7-day grid per habit, click to toggle a day, a streak counter, a dark mode toggle, and local storage persistence. No external libraries. Make it keyboard accessible.
For agentic coding with guardrails:
You are refactoring this repository's payment module. Do not change public function signatures, do not add dependencies, and stop to ask before deleting any file. Write tests first, then make them pass, then summarise every change in a table.
For long-document work, put the material first and ask for checkable output:
Here are the twelve supplier contracts. List every termination clause, quote it, give the notice period in days, and flag any contract where the clause conflicts with the master agreement.
Use the lowest reasoning_effort that does the job for quick questions, and leave room in max_tokens, since thinking counts toward the cap.
Kimi K3 versus Fable 5, GPT-5.6 Sol and Opus 4.8
Claude Fable 5 is the model K3 is chasing. Even in Moonshot's own table it leads on Humanity's Last Exam, GDPval-AA, OSWorld and a little over half of the agentic rows, and it finishes long tasks faster. Pick Fable 5 when quality on the hardest task matters most; pick K3 for frontend code, browsing agents, or when open weights matter.
GPT-5.6 Sol ranks above K3 on the Intelligence Index and wins DeepSWE (73.0 against 67.5) and GPQA Diamond (94.1 against 93.5). For general reasoning and coding through an API, Sol is the stronger default. K3 beats it on frontend design, long-context research and FrontierSWE (81.2 against 71.3).
Claude Opus 4.8 is the closest match on the Intelligence Index. K3 leads it on most rows of Moonshot's table, including SWE-Marathon and BrowseComp, though testers found it slower than Opus to finish. For lighter everyday work where long deliberation is unnecessary, Claude Sonnet 5 is worth a look.
Getting started
Try K3 in the Playground without writing code. To build with it, create a key on the API keys page and call the OpenAI-compatible /v1/chat/completions endpoint with model: "kimi-k3". Images go in as image_url message parts, function tools use the standard tools array, and response_format: { "type": "json_object" } returns JSON. The docs cover streaming, tools and errors.
Verdict
Kimi K3 is the moment an open-weight model reaches the top three. It leads blind frontend-code voting, holds its own in long agentic coding and research, reads a million tokens, and anyone can download it. It is not the best model overall: Fable 5 and GPT-5.6 Sol still lead on the hardest reasoning and computer-use tasks, K3 hallucinates more than its predecessor, and it is slow and fussy about conversation history. For frontend builds, research agents and teams that want frontier capability they can host and inspect themselves, it is the open model to beat.
Best for
- Frontend and UI code
- Long agentic coding sessions
- Deep research and browsing agents
- Long-document and legal analysis
- Document parsing from images
- Self-hosted frontier deployments
Frequently asked questions
Is Kimi K3 open source?
Kimi K3 is open weights. Moonshot AI publishes the full weights and code on Hugging Face under the Kimi K3 License, which allows commercial use, modification and fine-tuning, with extra conditions for very large API providers and products.
What are the Kimi K3 licence conditions?
Model-as-a-service businesses with more than 20 million US dollars in revenue over 12 months need a separate agreement with Moonshot, and products with over 100 million monthly users or 20 million US dollars in monthly revenue must display Kimi K3 in their interface. Internal use is exempt.
Can I run Kimi K3 on my own hardware?
Yes, within the licence terms, but it is not a workstation model. Moonshot recommends supernode deployments with 64 or more accelerators, served through vLLM, SGLang or TokenSpeed, with MXFP4 weights and MXFP8 activations.
How many parameters does Kimi K3 have?
2.8 trillion in total, of which 104 billion are active for each token. It is a mixture-of-experts model that routes each token to 16 of 896 experts plus 2 shared experts.
Kimi K3 vs Claude Fable 5: which is better?
Fable 5 ranks higher on the Artificial Analysis Intelligence Index, leads on Humanity's Last Exam, OSWorld 2.0 and GDPval-AA, and finishes long tasks faster. Kimi K3 wins Arena's Frontend Code leaderboard and several browsing benchmarks, and has open weights.
What is the Kimi K3 context window?
1,048,576 tokens, four times the 262,144 tokens of Kimi K2.6. On Unicorn API a single reply can use up to 128,000 tokens including reasoning.