TL;DR
Kimi K3 is the first open-source 3T-class model with a 1M-token context window, native vision, and OpenAI-compatible API. Here is what it does, how to call it, what it costs, and how it benchmarks against Fable 5 and GPT-5.6 Sol.
Direct answer
Kimi K3 is the first open-source 3T-class model with a 1M-token context window, native vision, and OpenAI-compatible API. Here is what it does, how to call it, what it costs, and how it benchmarks against Fable 5 and GPT-5.6 Sol.
Best for
Developers comparing real tool tradeoffs before choosing a stack.
Covers
Verdict, tradeoffs, pricing signals, workflow fit, and related alternatives.
Moonshot AI released Kimi K3 on July 16, 2026, and it is the first open-source model to cross into the 3-trillion-parameter class. At 2.8T parameters with a 1M-token context window and native multimodal understanding, K3 enters the frontier conversation alongside Claude Fable 5 and GPT-5.6 Sol -- but with a critical difference: the weights will be released by July 27, 2026. The video linked below walks through K3's capabilities in 10 minutes; this post covers what you need to know to evaluate and call the model from code today.
Watch the video: Kimi K3 in 10 Minutes
| Resource | Description |
|---|---|
| Kimi K3 Blog Post | Official announcement with benchmarks, architecture overview, and case studies |
| Kimi API Platform | Developer portal for API keys and console |
| Kimi K3 Quickstart Docs | API setup, reasoning effort, vision, structured output, and tool calling |
| Kimi K3 Pricing | Per-token pricing and rate limits |
| Kimi Code | Terminal-based AI coding agent with K3 support |
| Moonshot AI GitHub | Open-source releases and community contributions |
Kimi K3 is a 2.8-trillion-parameter model built on two new architectural components: Kimi Delta Attention (KDA), a hybrid linear attention mechanism, and Attention Residuals (AttnRes), which selectively retrieves representations across depth. Together they deliver roughly 2.5x the scaling efficiency of the previous-generation Kimi K2.
The model uses a Stable LatentMoE framework, activating 16 out of 896 experts per forward pass. It is natively multimodal -- text, image, and video input all flow through the same model, not a bolted-on vision encoder. Context extends to 1 million tokens, and thinking mode is always enabled with configurable reasoning effort (low, high, max -- default max).
Moonshot AI explicitly positions K3 against Claude Fable 5 and GPT-5.6 Sol. The announcement states that while K3 still trails those two on overall user experience, it is competitive or ahead on several coding benchmarks. For nine of the past twelve months, Kimi models have held the upper bound of open-source model scale -- K3 extends that lead dramatically.
K3 was tested across 15+ benchmarks covering coding, agentic productivity, and multimodal understanding. Here are the notable coding results from the official blog:
| Benchmark | Kimi K3 (max) | Claude Fable 5 | GPT-5.6 Sol | GLM-5.2 |
|---|---|---|---|---|
| DeepSWE | 67.3% | -- | -- | 55.9% |
| Terminal-Bench 2.1 | 76.1% | 58.4% | 56.0% | 29.1% |
| Program Bench | 79.0% | -- | -- | 55.6% |
| SWE Marathon | 57.3% | 55.2% | 61.3% | 38.7% |
| PostTrain Bench | 56.7% | 83.3% | 75.0% | -- |
| BrowseComp | 87.1% | 91.1% | 94.3% | -- |
On long-horizon coding (Terminal-Bench, DeepSWE, Program Bench), K3 leads all tested models. On SWE Marathon it beats Fable 5 and is close to GPT-5.6 Sol. However, PostTrain Bench shows a significant gap behind both Fable 5 and Sol, and the model's own limitations section notes that K3 has a "noticeable gap in user experience" compared to the two giants.
On browse agent tasks (BrowseComp) with 1M-token context and no compaction, K3 hits 87.1% -- competitive territory.
Newsletter
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools, delivered free every week.
From the archive
Jul 24, 2026 • 9 min read
Jul 23, 2026 • 9 min read
Jul 23, 2026 • 9 min read
Jul 22, 2026 • 8 min read
The K3 announcement includes several case studies that go beyond standard SWE-bench results:
GPU Kernel Optimization. K3, Fable 5, Opus 4.8, and the GPT models were each given up to 24 hours to optimize GPU kernels in an identical sandbox. K3 substantially outperformed Opus 4.8, GPT-5.6 Sol, and GPT-5.5, competing closely with Fable 5. In late development, an early K3 version handled most of the team's kernel optimization work.
GPU Compiler Development. K3 built MiniTriton -- a compact Triton-like compiler with a tile-level IR over MLIR, optimization passes, and PTX codegen -- entirely from scratch. MiniTriton matched or beat Triton on supported workloads and sustained end-to-end nanoGPT training with stable convergence.
Chip Design. In a single 48-hour autonomous run, K3 designed a chip (1.46M standard cells, 0.277 MB SRAM, INT4 MAC array) that closes timing at 100 MHz and sustains 8,700+ tokens/s decode throughput. A model designing a chip to serve a nano model built on its own architecture.
Knowledge Work. K3 produced a 42-year ASIC industry analysis with 2.8k+ web searches, 1.1k+ terminal data pulls, and 11k+ pages across 87 quarterly reports and 99 PDFs -- through 120+ rounds of recursive self-improvement.
Kimi K3 uses an OpenAI-compatible API format. The base URL is https://api.moonshot.ai/v1.
# Install the OpenAI SDK
pip install --upgrade 'openai>=1.0'
# Set your API key (get one at https://platform.kimi.ai/console/api-keys)
export MOONSHOT_API_KEY="your-key-here"
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MOONSHOT_API_KEY"],
base_url="https://api.moonshot.ai/v1",
)
completion = client.chat.completions.create(
model="kimi-k3",
reasoning_effort="max",
messages=[{"role": "user", "content": "Prove sqrt(2) is irrational."}],
)
print(completion.choices[0].message.content)
Important API details for K3:
temperature=1.0, top_p=0.95, n=1 are fixed -- omit them from requestsmax_completion_tokens defaults to 131,072 and can go up to 1,048,576reasoning_effort at the top level: "low" / "high" / "max" (default "max")ms:// format -- public URLs are not supportedPricing (flat rate, no tiering by context length):
| Price per 1M tokens | |
|---|---|
| Input (cache hit) | $0.30 |
| Input (cache miss) | $3.00 |
| Output | $15.00 |
The official API achieves a cache hit rate above 90% on coding workloads. K3 requires a minimum $1 top-up to unlock. Full model weights release by July 27, 2026.
K3 streams both reasoning_content (chain-of-thought) and final content deltas separately:
stream = client.chat.completions.create(
model="kimi-k3",
messages=[{"role": "user", "content": "Explain why the sky is blue."}],
stream=True,
)
for chunk in stream:
delta = chunk.choices[0].delta
reasoning = getattr(delta, "reasoning_content", None)
if reasoning:
print(reasoning, end="", flush=True)
if delta.content:
print(delta.content, end="", flush=True)
The official K3 blog explicitly lists three key limitations:
Sensitivity to thinking history. K3 was trained with preserved thinking history. If your agent harness drops or truncates prior reasoning content, output quality degrades sharply. Use a verified-compatible harness like Kimi Code. Do not switch to K3 mid-session from another model.
Excessive proactiveness. K3 is optimized for long-horizon challenging tasks, so it may make unexpected decisions when facing minor issues or ambiguous intent. Add explicit behavioral constraints in your system prompt or AGENTS.md if your application needs the agent to stay within defined boundaries.
UX gap vs. Fable 5 and Sol. While competitive on benchmarks, K3 still falls short on subjective user experience compared to the two top proprietary models.
Use K3 when:
Skip K3 (for now) when:
Kimi K3 in 10 Minutes on the Developers Digest channel walks through the model's capabilities with screen recordings -- showing live demos of the API, Kimi Code integration, and benchmark breakdowns. The video covers the visual flow and pacing that a text post cannot capture.
The model weights will be released by July 27, 2026. Moonshot AI is working with inference partners and open-source maintainers to ensure a reliable rollout. Until then, K3 is available exclusively through the Kimi API and Kimi products.
$0.30/MTok for cache-hit input, $3.00/MTok for cache-miss input, and $15.00/MTok for output. The API reports cache hit rates above 90% on coding workloads, which means most coding inputs will fall at the $0.30 rate.
K3 leads Fable 5 on Terminal-Bench 2.1 (76.1% vs 58.4%) and is competitive on SWE Marathon and DeepSWE. But the official announcement states K3 "exhibits a noticeable gap in user experience" compared to Fable 5, and on PostTrain Bench Fable 5 leads 83.3% to 56.7%. K3 is an open model; Fable 5 is proprietary. The tradeoff is between ownership/self-hosting and polished UX.
K3 is compatible with Claude Code when configured as a backend (select via /model in Kimi Code CLI). The K3 docs specifically note that compatibility with Claude Code is verified. For other agent harnesses, K3's sensitivity to thinking history means you need a harness that preserves full reasoning content between turns.
1 million tokens. The model supports context caching for prompts exceeding 256 tokens, with automatic cache hits for unchanged prefixes. No cache ID or TTL management is required.
| Source | URL |
|---|---|
| Kimi K3 Official Blog | https://www.kimi.com/blog/kimi-k3 |
| Kimi API Platform Docs | https://platform.kimi.ai/docs/guide/kimi-k3-quickstart |
| Kimi API Pricing | https://platform.kimi.ai/docs/pricing/chat-k3 |
| Moonshot AI Website | https://www.moonshot.ai/ |
| Kimi K3 Video (DevDigest) | https://www.youtube.com/watch?v=gO_21NC7O-s |
| Kimi Open Platform | https://platform.kimi.ai/ |
Read next
A companion guide to the Claude Fable 5 video: what the first general-use Mythos class model is, the walkthrough beats from the review, hands-on developer takeaways, and the pricing and context specs from primary sources.
7 min readFable 5 and Mythos 5 are gone for now. Here is the honest ranking of what to use today, from Opus 4.8 to GPT-5.5 to open-weight models, by task.
6 min readOne expensive orchestrator plus many cheap workers beats an all-frontier fleet for most workloads. Here is the decision-intent cost math with verified Fable 5, Sonnet 5, and Opus 4.8 prices, plus the Sonnet 5 tokenizer caveat that changes worker cost.
8 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Open-source terminal coding agent from Moonshot AI. Powered by Kimi K2.5 (1T params, 32B active). 256K context window. A...
View ToolFastest inference for open-source models. 200+ models via unified API. Ranks #1 on speed benchmarks for DeepSeek, Qwen,...
View ToolOpen-source reasoning models from China. DeepSeek-R1 rivals o1 on math and code benchmarks. V3 for general use. Fully op...
View ToolOpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolA complete, citation-backed Claude Code course with setup, prompting systems, MCP, CI, security, cost controls, and capstone workflows.
ai-developmentInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedStage, commit, branch, and open PRs without leaving the session.
Claude Code
The video reviews OpenAI’s newly released GPT 5.4, highlighting access tiers (GPT 5.4 Thinking in ChatGPT Plus/Teams/Pro/Enterprise and GPT 5.4 in the $200/month tier) and API availability. It covers

Google's Free and Open-Source Coding Assistant In this video, we explore Google's newly released Gemini CLI, a free and open-source competitor to Claude Code. Learn how to get started with...

#OpenAIWhisper #StripePayments #FullStackTutorial 🎙️🚀 Transcribe & Pay in a Snap! | Full Stack Audio Transcription App with OpenAI & Stripe Welcome to the world of audio transcription...

A companion guide to the Claude Fable 5 video: what the first general-use Mythos class model is, the walkthrough beats f...

Fable 5 and Mythos 5 are gone for now. Here is the honest ranking of what to use today, from Opus 4.8 to GPT-5.5 to open...

One expensive orchestrator plus many cheap workers beats an all-frontier fleet for most workloads. Here is the decision-...

Four agents, same tasks. Honest trade-offs from a developer shipping production apps with all of them.

Switzerland's fully open foundation model promises transparent training data and EU compliance. The HN crowd has questio...

A companion guide to the GLM 5.2 video: an open-weight model positioned against GPT-5.5, walked through with benchmarks,...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.