Kimi K3 API — Moonshot Flagship Quickstart
Kimi K3 is Moonshot AI's July 2026 flagship: ~2.8 trillion parameters, 1M-token context, native vision — an open 3T-class model for long-horizon coding, knowledge work, and multi-agent systems.
Direct answer (July 2026)
Current flagship = Kimi K3 (not K2 / moonshot-v1-only positioning). Use model="kimi-k3" (confirm dashboard alias) against https://api.chinamodelapi.com/v1. API product docs: Moonshot / platform.kimi.ai; open weights rollout was scheduled around late July 2026.
Sources: CNBC / VentureBeat / Moonshot launch coverage (mid-July 2026); X discussion of weight drop ~2026-07-27.
Specs that matter for builders
- ~2.8T parameters — largest open-class Chinese frontier narrative in July 2026 coverage
- 1M-token context — multi-file repos, research packs, long agent trajectories
- Native vision — multimodal input in the K3 generation
- Prior family — K2.7 Code / K2.x still relevant for cheaper coding workloads
When to pick K3 vs others
| Need | Prefer |
|---|---|
| Max long-horizon agent / huge context | kimi-k3 |
| Open-weight coding harness, self-host | glm-5.2 (weights) or K3 when weights live |
| Cheapest short chat / RAG answer | deepseek-v4-pro / glm flash tiers |
| Multilingual general + 1M Qwen stack | qwen-plus / qwen-max family |
Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_KEY", base_url="https://api.chinamodelapi.com/v1")
resp = client.chat.completions.create(
model="kimi-k3",
messages=[
{"role": "system", "content": "You are a long-horizon coding agent. Cite file paths."},
{"role": "user", "content": f"REPO CONTEXT:\n{repo_blob}\n\nTASK: fix flaky integration tests."},
],
temperature=0.2,
)
print(resp.choices[0].message.content)
Cost tip
K3 is frontier-priced relative to Flash models. Retrieve first, expand context only when confidence is low. Use K2.x / DeepSeek-V3 / GLM for the 80% short turns; reserve K3 for hard multi-file or multi-doc jobs.
FAQ
Is Kimi still on K2?
K2.x remains in the family, but the July 2026 flagship is Kimi K3. Product pages should lead with K3.
How big is K3?
Public coverage describes ~2.8T parameters and a 1M-token context window, with native vision.
Open weights?
Moonshot announced open weights for K3 (Modified MIT in some coverage) with weight publication around late July 2026. Until self-hosting is practical, use API access.
K3 vs GLM-5.2?
Both are Chinese frontier 2026 releases. K3 emphasizes 3T-class scale + long context + vision; GLM-5.2 emphasizes long-horizon coding with widely adopted open weights. Run your eval harness.