Kimi K3: What Moonshot's Open-Weight Sparse MoE Means for Your Agent Token Budget
💡 Tool Tip:Budgeting a multi-model agent stack with Kimi K3 in it? Use Evergreen Tools' AI Token Counter to meter spend per task, AI Code Reviewer to keep model-generated PRs honest, and API Tester to probe the kimi-k3 endpoint before you wire it into production. AI Token Counter, AI Code Reviewer, API Tester
In the summer of 2026 open-weight race, Moonshot AI's Kimi K3 is one of the most aggressive bets: a 2.8-trillion-parameter sparse mixture of experts with 896 routed experts, only 16 of which activate per token, for roughly 104 billion active parameters on any forward pass. The API launched on July 16, 2026 at $3 per million input tokens and $15 per million output tokens, and the full weights followed on July 27. K3 deserves your attention not because of another 'competitive with Fable 5' claim, but because it puts three variables on the table at once: the active-parameter math of sparse MoE, the real boundaries of its open-weight license, and the growing reality that near-frontier capability no longer requires frontier prices. This guide works through all three before you decide whether K3 belongs in your router.
1. What Kimi K3 Is and When It Shipped
Kimi K3 is Moonshot AI's flagship multimodal reasoning release: the API opened on July 16, 2026, and the full weights landed on July 27. The company markets it as the world's first open model in the three-trillion-parameter class; the model card lists roughly 2.8 trillion total parameters, a context window around one million tokens, text plus image plus video input, and a hybrid attention architecture that combines KDA and MLA layers to keep positional encoding stable at extreme context lengths. At launch, Moonshot said K3 performs competitively with Anthropic's Claude Fable 5. Independent coverage in early September was still comparing it against GPT-6 Astra and Qwen3.8-Max, which tells you it has already entered the shortlist for budget-sensitive teams shopping for frontier-adjacent capability.
# Sparse MoE math: total vs active parameters decides cost.
TOTAL_PARAMS = 2_800_000_000_000 # 2.8T total (per model card)
EXPERTS = 896
ACTIVE_EXPERTS = 16
ACTIVE_PARAMS = TOTAL_PARAMS * ACTIVE_EXPERTS // EXPERTS
print("active params per token:", ACTIVE_PARAMS) # ~104B
# Why it matters: your serving cost scales with ACTIVE, not TOTAL.2. The Sparse-MoE Math: Active Parameters Drive the Bill
Eight hundred ninety-six experts with 16 active per token means roughly 104 billion parameters participate in any single forward pass. That is the whole point of MoE: total parameters buy knowledge capacity, while active parameters set the marginal cost. When comparing K3 with dense models, do not scare yourself with 2.8 trillion, but do not mistake 104 billion for a small model either. It wants an eight-GPU 80GB-class serving setup, not a laptop. The part that matters more for your bill is the KV cache: a one-million-token context means long-document tasks create significant cache overhead, so prefix caching and context-truncation policy are requirements, not nice-to-haves. K3's hybrid attention exists to keep long-context caching and positional encoding stable, but you still control how much content you feed it.
# Kimi K3 API pricing (July 2026): 3 USD input, 15 USD output per 1M tokens.
def k3_cost(input_tokens, output_tokens):
return round(input_tokens / 1_000_000 * 3 + output_tokens / 1_000_000 * 15, 4)
def astra_cost(input_tokens, output_tokens):
return round(input_tokens / 1_000_000 * 10 + output_tokens / 1_000_000 * 50, 4)
print("K3 :", k3_cost(100_000, 10_000)) # 0.45 USD
print("Astra:", astra_cost(100_000, 10_000)) # 1.50 USD3. Price Position: 70 Percent Below Frontier, but Not the Cheapest
At its July 2026 pricing, K3 costs $3 per million input tokens and $15 per million output tokens. Against GPT-6 Astra's standard $10 and $50, an illustrative task with 100,000 input and 10,000 output tokens costs roughly $0.45 on K3 versus $1.50 on Astra, about 70 percent less. The honest counterpoint, repeated across independent coverage, is that DeepSeek and Alibaba models undercut K3 by twenty to fifty times, so K3 is not the cheapest option; it is the option that buys near-frontier capability at a tolerable price. The correct pattern is to place it in the middle of your routing stack: flash-class models absorb routine work, K3 handles long-document agents, repository-level analysis, and multi-turn agentic tasks, and only genuinely hard jobs like cross-file refactors and computer use escalate to Astra-class models. Every layer sits behind a dollar ceiling so agents cannot burn money unnoticed.
# Route by task: cheap for routine, K3 for long-context agent work.
{
"router": {
"default": "qwen-flash",
"kimi-k3": [
"long_doc_agent", "repo_analysis", "multi_turn_agentic"
],
"gpt-6-astra": ["cross_file_refactor", "computer_use"]
},
"budget": {"max_usd_per_task": 1.0, "alert_at_usd": 0.8}
}4. Open Weights: Read the License Before You Deploy
K3's weights really are downloadable, but several evaluations note that its license is considerably more complicated than typical open releases. The open-source community habit of equating downloadable weights with free commercial use is a dangerous assumption here: some versions restrict commercial scale, require publishing derivatives, or attach additional terms. Before deploying, do two things. First, read the license field and the full license text on the Hugging Face model card rather than a secondhand blog post. Second, have legal confirm your use case, especially fine-tuning the weights and redistributing the result, or embedding model output in a commercial product. Pulling the license field from the Hugging Face API is a few lines of code and nearly free; skipping it is how an expensive compliance incident starts.
5. From API Trial to Self-Hosting, in That Order
The sensible adoption order is API first, self-hosting second. Validate the kimi-k3 endpoint under realistic load with an API tester, log two weeks of token consumption per task with a token counter, and compute your real unit economics. Only when API cost clearly exceeds the marginal cost of idle GPUs should you invest in vLLM self-hosting. If you do, plan memory around roughly 104 billion active parameters: an eight-GPU 80GB node with FP8 quantization is a common starting point, and prefix caching is non-negotiable for long-context work. Whichever path you choose, the router must carry task labels and budget ceilings so you can move traffic back to cheaper models using the same evaluation harness at any time.
# Check the open-weight license before you self-host.
# Read the license field straight from the Hugging Face model card.
import urllib.request, json
def license_of(model_id):
url = "https://huggingface.co/api/models/" + model_id
with urllib.request.urlopen(url, timeout=30) as r:
card = json.loads(r.read().decode())
return card.get("cardData", {}).get("license", "unknown")
print(license_of("moonshotai/Kimi-K3"))6. Evaluate with Your Own Agent Tasks
Do not make decisions from a marketing phrase like 'competitive with Fable 5'. Pull fifteen to twenty real agent tasks that cover long-document analysis, repository-level search, multi-turn tool calling, and code modification, then run K3 and your current middle-tier model against the same set. Compare resolved rate, tokens per task, wall-clock time, and failure modes. Pay special attention to long-context tasks: K3's one-million-token window is attractive when you want to load an entire repository at once, but verify that it follows instructions reliably above, say, 500,000 tokens rather than trusting a demo. After two weeks, paste the results into your routing config. Tasks K3 wins consistently belong to K3; everything else stays where it is. That is what 'near-frontier capability without frontier prices' should mean in practice.
# vLLM shape for a 104B-active open model (adjust to real GPUs).
{
"model": "moonshotai/Kimi-K3",
"tensor_parallel_size": 8,
"max_model_len": 131072,
"gpu_memory_utilization": 0.9,
"enable_prefix_caching": true,
"quantization": "fp8",
"served_model_name": "kimi-k3"
}📌 Frequently Asked Questions
When was Kimi K3 released?
Moonshot AI opened the Kimi K3 API on July 16, 2026 and released the full weights on July 27, 2026. It is a sparse MoE with roughly 2.8 trillion total parameters and about 104 billion active per token.
When was Kimi K3 released?
Moonshot AI opened the Kimi K3 API on July 16, 2026 and released the full weights on July 27, 2026. It is a sparse MoE with roughly 2.8 trillion total parameters and about 104 billion active per token.
When was Kimi K3 released?
Moonshot AI opened the Kimi K3 API on July 16, 2026 and released the full weights on July 27, 2026. It is a sparse MoE with roughly 2.8 trillion total parameters and about 104 billion active per token.
When was Kimi K3 released?
Moonshot AI opened the Kimi K3 API on July 16, 2026 and released the full weights on July 27, 2026. It is a sparse MoE with roughly 2.8 trillion total parameters and about 104 billion active per token.
When was Kimi K3 released?
Moonshot AI opened the Kimi K3 API on July 16, 2026 and released the full weights on July 27, 2026. It is a sparse MoE with roughly 2.8 trillion total parameters and about 104 billion active per token.
What does Kimi K3 cost through the API?
$3 per million input tokens and $15 per million output tokens, roughly 30 percent of GPT-6 Astra's standard $10/$50 rates. Cheaper providers such as DeepSeek and Alibaba can still undercut it by 20 to 50 times.
What does Kimi K3 cost through the API?
$3 per million input tokens and $15 per million output tokens, roughly 30 percent of GPT-6 Astra's standard $10/$50 rates. Cheaper providers such as DeepSeek and Alibaba can still undercut it by 20 to 50 times.
What does Kimi K3 cost through the API?
$3 per million input tokens and $15 per million output tokens, roughly 30 percent of GPT-6 Astra's standard $10/$50 rates. Cheaper providers such as DeepSeek and Alibaba can still undercut it by 20 to 50 times.
What does Kimi K3 cost through the API?
$3 per million input tokens and $15 per million output tokens, roughly 30 percent of GPT-6 Astra's standard $10/$50 rates. Cheaper providers such as DeepSeek and Alibaba can still undercut it by 20 to 50 times.
What does Kimi K3 cost through the API?
$3 per million input tokens and $15 per million output tokens, roughly 30 percent of GPT-6 Astra's standard $10/$50 rates. Cheaper providers such as DeepSeek and Alibaba can still undercut it by 20 to 50 times.
Is Kimi K3 truly open source?
The weights are downloadable, but the license is considerably more complicated than typical open releases. Verify the license field and full terms on the Hugging Face model card, and have legal review commercial use.
Is Kimi K3 truly open source?
The weights are downloadable, but the license is considerably more complicated than typical open releases. Verify the license field and full terms on the Hugging Face model card, and have legal review commercial use.
Is Kimi K3 truly open source?
The weights are downloadable, but the license is considerably more complicated than typical open releases. Verify the license field and full terms on the Hugging Face model card, and have legal review commercial use.
Is Kimi K3 truly open source?
The weights are downloadable, but the license is considerably more complicated than typical open releases. Verify the license field and full terms on the Hugging Face model card, and have legal review commercial use.
Is Kimi K3 truly open source?
The weights are downloadable, but the license is considerably more complicated than typical open releases. Verify the license field and full terms on the Hugging Face model card, and have legal review commercial use.
Where does K3 fit in a routing stack?
In the middle tier: flash-class models handle routine tasks, K3 handles long-document agents, repository analysis, and multi-turn agentic work, and Astra-class models handle cross-file refactors and computer use.
Where does K3 fit in a routing stack?
In the middle tier: flash-class models handle routine tasks, K3 handles long-document agents, repository analysis, and multi-turn agentic work, and Astra-class models handle cross-file refactors and computer use.
Where does K3 fit in a routing stack?
In the middle tier: flash-class models handle routine tasks, K3 handles long-document agents, repository analysis, and multi-turn agentic work, and Astra-class models handle cross-file refactors and computer use.
Where does K3 fit in a routing stack?
In the middle tier: flash-class models handle routine tasks, K3 handles long-document agents, repository analysis, and multi-turn agentic work, and Astra-class models handle cross-file refactors and computer use.
Where does K3 fit in a routing stack?
In the middle tier: flash-class models handle routine tasks, K3 handles long-document agents, repository analysis, and multi-turn agentic work, and Astra-class models handle cross-file refactors and computer use.
What hardware do I need to self-host K3?
With roughly 104 billion active parameters, plan on an eight-GPU 80GB-class serving node with FP8 quantization and prefix caching. Trying the API first and measuring real usage is the safer path.
What hardware do I need to self-host K3?
With roughly 104 billion active parameters, plan on an eight-GPU 80GB-class serving node with FP8 quantization and prefix caching. Trying the API first and measuring real usage is the safer path.
What hardware do I need to self-host K3?
With roughly 104 billion active parameters, plan on an eight-GPU 80GB-class serving node with FP8 quantization and prefix caching. Trying the API first and measuring real usage is the safer path.
What hardware do I need to self-host K3?
With roughly 104 billion active parameters, plan on an eight-GPU 80GB-class serving node with FP8 quantization and prefix caching. Trying the API first and measuring real usage is the safer path.
What hardware do I need to self-host K3?
With roughly 104 billion active parameters, plan on an eight-GPU 80GB-class serving node with FP8 quantization and prefix caching. Trying the API first and measuring real usage is the safer path.