Is Kimi K3 Open Source?
Inside Moonshot AI's 2.8-Trillion-Parameter Model

If you are an AI developer or engineering lead evaluating Kimi K3 for integration, self-hosting, or commercial deployment, Moonshot AI's July 27 release of full weights and a technical report changes the calculus for 3T-class models. Kimi K3 ships at 2.8 trillion total parameters with a 1-million-token context window, plus three open infrastructure stacks: MoonEP, FlashKDA, and AgentEnv — just 11 days after the API-only launch. This article covers the timeline, architecture (KDA / AttnRes / Per-Head Muon), infra releases, SWE-bench and Artificial Analysis benchmarks, open-weight license gates, API pricing, and a six-step integration playbook. Cross-read with our July 16 K3 launch review, distillation controversy piece, and July OpenRouter rankings. See pricing.

Short answer: no, not by the strict definition — and Moonshot AI itself doesn't claim otherwise. On the evening of July 27, 2026, the Chinese lab released full weights and a technical report for a 2.8-trillion-parameter Mixture-of-Experts model. The 1.56TB download hit #1 on Hugging Face's trending list within thirty minutes — the largest open-weight model ever shipped in full.

  • Terminology trap: Press coverage often says "open source," but OSI-compliant open source requires public training data and a reproducible pipeline. K3 publishes weights, a technical report, and inference infra — not the full training stack.
  • License blind spots: The custom license adds two commercial gates absent from K2 — a $20M trailing-12-month Model-as-a-Service revenue threshold and a 100M-MAU / $20M-monthly-revenue attribution requirement.
  • Self-hosting fantasy: At 2.8T parameters across 896 experts, K3 is out of reach for consumer hardware. Moonshot recommends 64+ accelerator supernodes; most teams should route through the API or OpenRouter.
  • Benchmark misread: Independent SWE-bench Verified puts K3 at 93.4% — strong among open-weight models, but still behind Claude Opus 5 (97%) and GPT-5.6 Sol (96.2%).
  • Cost mismatch: K3 runs roughly $0.95 per task on the Intelligence Index — cheaper than Claude Fable 5 (~$2.40) but pricier than GLM-5.2 (~$0.47). It is the capability ceiling of the open-weight tier, not the value pick.
  • Geopolitical noise: Days before weights shipped, US officials accused Moonshot of industrial-scale distillation against Anthropic's Fable model; China's Ministry of Commerce pushed back on July 28, calling it "AI hegemonism."

Bottom line: Kimi K3 is the open-weight tier's capability ceiling, not a textbook open-source project. Most startups can ship on it today; if your business model is reselling K3 inference at scale against Moonshot's own API, the MaaS revenue gate is your legal red line.

11-day timeline from API launch to full weights:

  • July 16 (eve of WAIC 2026): K3 debuts on kimi.com, Kimi Work, Kimi Code, and the Kimi API — online only, weights withheld.
  • July 17: Industry architecture deep-dives; state media calls it the world's largest open model by parameter count.
  • July 22–23: US-China "model distillation" dispute escalates; White House adviser Michael Kratsios accuses Moonshot of covert industrial distillation.
  • July 27 ~23:00: Full weights, technical report, MoonEP, and AgentEnv ship (FlashKDA was already open).
  • July 28: China's Ministry of Commerce responds publicly; domestic outlets cover release details.

K3 doesn't just scale an existing recipe — Moonshot rebuilt three long-standing defaults: attention, residual connections, and the optimizer.

Kimi K3 at a glance
Spec Value
Total parameters2.8 trillion
Active parameters~104 billion
ArchitectureMixture-of-Experts (MoE)
Experts896 routed, 16 activated per token, plus shared experts
AttentionKimi Delta Attention (KDA) + Gated Multi-Head Latent Attention (MLA)
Context window1,000,000 tokens
MultimodalityNative vision (ViT-V2, 27 layers)
Weight formatMXFP4 weights, MXFP8 activations (quantization-aware from SFT)
Download size~1.56TB (Hugging Face)
LicenseCustom — Moonshot calls it open weight, not open source

Kimi Delta Attention (KDA): Standard Gated DeltaNet applies one scalar forgetting gate to an entire memory state. KDA replaces it with channel-wise gating — every feature dimension gets its own decay rate. Implemented as chunkwise Diagonal-Plus-Low-Rank (DPLR), K3 interleaves KDA with a smaller set of full global-attention (Gated MLA) layers to support 1M tokens while keeping KV cache size low.

Attention Residuals (AttnRes): Standard residual connections accumulate every layer uniformly — early-layer signal dilutes at depth. AttnRes aggregates preceding layers selectively, input-dependently, with roughly 25% higher training efficiency for under 2% added parameter cost.

Per-Head Muon: Extends the Muon optimizer to operate per attention head rather than treating the whole model uniformly — invisible at API call time, but part of why K3 punches above its active-parameter count.

Stable LatentMoE: 896 experts, 16 activated per token (~1.8% sparsity), plus shared experts. Quantile Balancing and MoonEP prove a mathematical upper bound on redundant experts per rank.

Open infrastructure stack
Technology Role Key numbers
MoonEP MoE communication library at extreme scale Duplicates overloaded experts so every rank gets equal token counts; proves redundant-expert upper bound per rank
FlashKDA CUTLASS-based KDA kernels (previously open) 1.72x–2.22x faster prefill on NVIDIA H20 vs. flash-linear-attention baseline; drop-in via chunk_kda
AgentEnv Firecracker microVM sandbox (with KVCache.ai) Parallel agentic RL; Moonshot reports 133ms checkpoint, 49ms resume, up to 6.5x memory overcommit (not independently reproduced)
SWE-bench Verified (independent, Vals AI, July 2026)
Model Score Release
Claude Opus 597%2026-07-24
GPT-5.6 Sol96.2%2026-07-09
Claude Fable 595%2026-06-09
Kimi K393.4%2026-07-16
Qwen3.7-Max79.4%2026-05-19
DeepSeek-V476.2%2026-04-23

Artificial Analysis Intelligence Index (max reasoning): Claude Fable 5 scores 60, GPT-5.6 Sol 59, Kimi K3 ~57 (#3 overall, #1 open-weight), GLM-5.2 51, DeepSeek V4 Pro 44. K3 also ranks #1 on Arena.ai's Frontend Code Arena leaderboard.

The custom license carries two commercial thresholds:

  1. Model-as-a-Service revenue gate: If you or affiliates run a MaaS business on K3 generating more than $20 million aggregate revenue over any trailing 12 months, you need a separate commercial agreement with Moonshot.
  2. Attribution gate: Products exceeding 100 million MAU or $20 million monthly revenue must prominently display "Kimi K3" in the UI.
Kimi K3 API pricing (per million tokens)
Token type Price
Input (cache hit)$0.30
Input (cache miss)$3.00
Output (incl. reasoning)$15.00

Moonshot's disaggregated Mooncake serving architecture reportedly holds cache hit rates above 90% on typical coding workloads — most real-world usage lands closer to $0.30 than the $3.00 headline input rate.

  1. Pick your path: Self-host (64+ accelerators) vs. official API vs. OpenRouter. Most teams should default to API. See our OpenRouter integration guide for multi-provider abstraction.
  2. Read the license: Download the Hugging Face LICENSE and confirm your business model won't trip the MaaS revenue or attribution gates.
  3. Wire the API client: Point your OpenAI SDK client at Moonshot's endpoint with model ID kimi-k3 — usually just a base URL and API key change.
  4. Design for cache-aware billing: Structure prompts to maximize Mooncake cache hits on coding workloads and pull effective input cost toward $0.30/M.
  5. Layer your routing: Run volume coding tasks on K3 or DeepSeek V4 Flash; escalate hard steps to Claude Opus 5 or GPT-5.6 Sol. See July OpenRouter tiering playbook.
  6. Anchor 24/7 agent hosts: Long-running agent orchestration needs always-on macOS nodes, not laptops that sleep on lid-close. See help center and order page.
kimi-k3-api-example.py
# OpenAI SDK-compatible call (verify endpoint and model ID against official docs before shipping)
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_MOONSHOT_API_KEY",
    base_url="https://api.moonshot.ai/v1"
)

response = client.chat.completions.create(
    model="kimi-k3",
    messages=[{"role": "user", "content": "Explain Kimi Delta Attention in one paragraph."}]
)
print(response.choices[0].message.content)

  • Parameter count: 2.8T total, ~104B active — largest open-weight model ever shipped in full (Moonshot technical report).
  • Download size: ~1.56TB; #1 on Hugging Face trending within 30 minutes of release.
  • SWE-bench Verified: 93.4% independent score — strongest open-weight result, still below Claude Opus 5 at 97% (Vals AI, July 2026).
  • Intelligence Index: ~57 max tier, #3 overall and #1 open-weight (Artificial Analysis).
  • FlashKDA speedup: 1.72x–2.22x prefill vs. baseline on NVIDIA H20 (Moonshot GitHub).
  • Cache-hit pricing: $0.30/M input on cache hit vs. $3.00/M miss; 90%+ hit rates on coding workloads (Moonshot).
  • Self-host bar: 64+ accelerator supernodes recommended; seven OpenRouter providers already host K3.

FAQ highlights:

  • Q: Is Kimi K3 open source? A: No by OSI standards. Open-weight: weights and infra tools are public; training data and full training code are not.
  • Q: Can I use it commercially? A: Yes for most cases. MaaS revenue over $20M/12 months or 100M+ MAU triggers license clauses.
  • Q: How much hardware for self-hosting? A: 64+ accelerators recommended; API or OpenRouter is the practical path.
  • Q: How does it compare to GPT-5.6 and Claude? A: Trails top closed models on SWE-bench but leads the open-weight tier.
  • Q: K3 vs. K2? A: ~3x K2.5 parameters, new AttnRes and Per-Head Muon, expanded context and multimodal, tighter license terms.

Sources cited at time of writing; verify against upstream if repositories or pricing change.

https://api.moonshot.ai/v1

https://huggingface.co/moonshotai

https://github.com/moonshotai/FlashKDA

Three days after K3 shipped, Alibaba — a Moonshot investor — unveiled Qwen3.8-Max-Preview at 2.4 trillion parameters, widely read as a direct response. The open-weight race has entered what some call the "3T club." Understanding license boundaries and tiered routing matters more than debating the "open source" label.

Real drawbacks of alternative setups: (1) Attempting a 1.56TB weight download plus local inference on a 16GB laptop saturates disk and RAM instantly — no routing fallback fixes hardware ceilings. (2) Lid-close sleep kills OAuth sessions and long agent batches — the "strongest open-weight model" can't run a 24/7 pipeline on a notebook. (3) Buying a maxed Mac Studio to test K3 agent workflows then leaving it idle for three months costs more than elastic weekly rental — and 3T inference belongs on API, not local weights.

For teams that need dedicated Apple Silicon, 24/7 uptime, and elastic day/week/month scaling to run Kimi K3 API-driven agents (Hermes, OpenClaw, Kilo Code) alongside iOS CI on the same macOS host, NOVAKVM Mac Mini bare-metal rental is usually the better production path: six regions, high-memory tiers, direct SSH — Moonshot API for inference, bare-metal macOS for orchestration, without the dual trap of 64-GPU clusters and laptop sleep. Compare tiers on the NOVAKVM pricing page, spin up a trial on the order page, and see the help center for remote access.