Moonshot's 2.8-trillion-parameter Kimi K3 is the largest open-weight model ever released. It tops Claude on a frontend-coding leaderboard, undercuts Opus on price, and slots into Claude Code with three environment variables. A comparison of capability, cost, and the switching path — and the case for staying.
Claude is Anthropic's closed-weight family: Haiku 4.5 for cheap fast tasks, Sonnet 5 as the volume workhorse, Opus 5 for hard agentic coding, and Fable 5 at the top of the range. The relevant tiers here are Opus 5 and Fable 5; that's what K3 has to beat. All current tiers run a 1M-token context window with 128K max output. The moat isn't just the models — it's the harness around them: Claude Code, adaptive thinking with effort control, prompt caching, server-side tools, and a first-party API that the whole toolchain is tuned against.
Kimi K3 is Moonshot AI's flagship, released July 16, 2026, with the full 2.8-trillion-parameter weights published on July 27. It's a mixture-of-experts model (KDA plus attention residuals for computational efficiency), natively multimodal, with a 1M-token context window — up from 256K on its 1.1T-parameter predecessor K2.7. It's positioned squarely at agentic coding: navigating large repositories, using tools, debugging, and iterating against screenshots, logs, and test output.
K3 placed in the top three across six coding benchmarks at launch, and took the #1 spot on Arena.AI's Frontend Code Arena — ahead of both Claude Fable 5 and GPT-5.6 Sol. On the independent Artificial Analysis index, though, Claude Opus 5 still edges it out on raw intelligence and generates substantially faster.
| Measure | Kimi K3 | Comparison | Read |
|---|---|---|---|
| Frontend Code Arena (Arena.AI) | 1,679 — #1 | ahead of Claude Fable 5, GPT-5.6 Sol | K3's headline win; visual/frontend work is its strongest suit |
| Terminal-Bench 2.1 | 88.3 | −0.5 vs GPT-5.6 Sol | effectively tied at the top |
| SWE Marathon | 42.0 — leads | leads all models | long-horizon software tasks |
| ProgramBench (raw pass) | 77.8 — leads | leads all models | vendor-reported |
| DeepSWE / FrontierSWE | 67.5 / 81.2 | top-3 | vendor-reported |
| AA Intelligence Index | 57 | Opus 5 (high effort): 59 | independent; Claude ahead |
| Output speed | 32.9 tok/s | Opus 5: 53.7 tok/s | Claude ~60% faster in generation |
| Time to first token | 4.2s | Opus 5 (high): 12.8s | Opus figure includes thinking time |
Zoom out and the question looks different. On SWE-bench Verified — the share of real GitHub issues a model can resolve end-to-end — frontier models went from a third of issues in mid-2024 to over 90% today. The line to watch is the aqua one: open-weight models trailed the frontier by 20–30 points for two years, and K3 is the first to close the gap almost entirely.
| Model | Lab | Released | SWE-bench Verified |
|---|---|---|---|
| Claude 3.5 Sonnet | Anthropic | Jun 2024 | 33.4% |
| Claude 3.5 Sonnet v2 | Anthropic | Oct 2024 | 49.0% |
| DeepSeek V3 | Open-weight | Dec 2024 | 42.0% |
| o1 | OpenAI | Dec 2024 | 48.9% |
| DeepSeek R1 | Open-weight | Jan 2025 | 49.2% |
| Claude 3.7 Sonnet | Anthropic | Feb 2025 | 62.3% |
| o3 | OpenAI | Apr 2025 | 69.1% |
| Claude Sonnet 4 | Anthropic | May 2025 | 72.7% |
| Kimi K2 | Open-weight | Jul 2025 | 65.8% |
| GPT-5 | OpenAI | Aug 2025 | 74.9% |
| Claude Sonnet 4.5 | Anthropic | Sep 2025 | 77.2% |
| Claude Opus 4.5 | Anthropic | Nov 2025 | 80.9% |
| Claude Opus 4.7 | Anthropic | early 2026 | 87.6% |
| GPT-5.3 | OpenAI | 2026 | 85.0% |
| Kimi K3 | Open-weight | Jul 2026 | 93.4% |
| Claude Opus 5 | Anthropic | 2026 | 96.0% |
| GPT-5.6 Sol | OpenAI | 2026 | 96.2% |
| Model | Input $/1M | Output $/1M | Context | Notes |
|---|---|---|---|---|
| Kimi K3 | $2.90 | $15.00 | 1M | via OpenRouter; caching cuts effective cost 60–80% |
| Claude Haiku 4.5 | $1.00 | $5.00 | 200K | cheap tier, not a K3 peer |
| Claude Sonnet 5 | $3.00 | $15.00 | 1M | $2.00 / $10.00 intro through Aug 31, 2026 |
| Claude Opus 5 | $5.00 | $25.00 | 1M | the model most switchers are leaving |
| Claude Fable 5 | $10.00 | $50.00 | 1M | top tier |
Artificial Analysis puts the blended real-world cost at $2.31 per 1M tokens for K3 versus $3.85 for Opus 5 at high effort — roughly a 40% saving against the model most people are thinking of leaving. Fable 5 doubles Opus again. The question isn't whether K3 is cheaper per token (it is); it's how many Opus-or-Fable-grade tasks you'd feed to a model that fails them. Price the retries, not the tokens.
Capability climbed while price collapsed. GPT-4 launched at $30 per million input tokens in March 2023; today's flagships sit at $5, and yesterday's frontier is nearly free — Epoch AI estimates GPT-4-level performance has fallen from ~$20 to ~$0.40 per million tokens. Note where K3 sits: at $2.90 it is expensive for an open-weight model — DeepSeek and Kimi's own K2 launched at a tenth of that — because it's priced as what it is, a frontier model that happens to publish its weights.
| Model | Lab | Released | Input $/1M at launch |
|---|---|---|---|
| GPT-4 | OpenAI | Mar 2023 | $30 |
| Claude 2 | Anthropic | Jul 2023 | $11.02 |
| GPT-4 Turbo | OpenAI | Nov 2023 | $10 |
| Claude 3 Opus | Anthropic | Mar 2024 | $15 |
| GPT-4o | OpenAI | May 2024 | $5 |
| DeepSeek V3 | Open-weight | Dec 2024 | $0.27 |
| o1 | OpenAI | Dec 2024 | $15 |
| Claude Opus 4 | Anthropic | May 2025 | $15 |
| Kimi K2 | Open-weight | Jul 2025 | $0.6 |
| GPT-5 | OpenAI | Aug 2025 | $1.25 |
| Claude Opus 4.5 | Anthropic | Nov 2025 | $5 |
| Kimi K3 | Open-weight | Jul 2026 | $2.90 |
| Claude Opus 5 | Anthropic | 2026 | $5 |
| Dimension | Claude | Kimi K3 |
|---|---|---|
| Hardest agentic coding, repo-scale debugging | Stronger safer default when a failed run is expensive | Close top-3 on most suites |
| Frontend & visual iteration | Strong | #1 inspects screenshots and iterates against what it sees |
| Generation speed | 53.7 tok/s | 32.9 tok/s |
| Latency to first token | 12.8s at high effort | 4.2s |
| Price vs. Opus | — | ~40% cheaper blended |
| Open weights, self-hosting, fine-tuning | No | Yes 2.8T weights published |
| Ecosystem & harness maturity | First-party Claude Code, thinking/effort controls, server tools | Compatible rides Anthropic-compatible endpoints |
| Native multimodal / video | Images | Built-in from the ground up |
The reason this question is even live: Claude Code doesn't care whose model answers it. It reads a base URL, a token, and a model name from the environment, and Moonshot ships an Anthropic-compatible endpoint built specifically to be a drop-in target. Switching is three variables, not a new tool:
# Point Claude Code at Kimi K3 — Moonshot first-party or OpenRouter, # one API key from either console is enough. export ANTHROPIC_BASE_URL="<anthropic-compatible endpoint>" export ANTHROPIC_AUTH_TOKEN="<your Moonshot or OpenRouter key>" export ANTHROPIC_MODEL="kimi-k3" claude # same harness, different brain
Get the endpoint URL and a key from Moonshot's console (platform.kimi.ai) or from OpenRouter. Unset the three variables — or keep them in a separate shell profile — and you're back on Claude. Switching cost is near zero in both directions.
On OpenRouter, pick the routing mode deliberately: Exacto routes for tool-calling accuracy, which is what an agentic harness needs; Nitro optimizes speed, Balanced price. Flaky tool calls that look like model weaknesses are often just provider variance.
And what you gain beyond price: weights you control. No deprecation schedule, no retention policy you didn't write, fine-tuning on your own data, and the option — if you ever have the hardware — of running the thing yourself.
Everything above is a snapshot: K3's weights shipped a week ago, and Anthropic's intro pricing ends August 31. Switching today is a bet on where both curves go. Six forecasts, each with the signal that confirms or kills it.
| Prediction | Confidence | Watch for | What it means for you |
|---|---|---|---|
| K3 serving prices fall below list as independent hosts come online, the way DeepSeek and Qwen prices did within weeks of their weights dropping. K3 is cheap to serve for its size: ~104B active parameters, weights shipped natively in MXFP4. | High | A second and third provider on OpenRouter under $3/$15 by mid-August. As of July 30 there is exactly one listing, at effectively Moonshot's list price. | The price case gets stronger if you wait; don't lock in anything annual this month. |
| The "Kimi K3 License" becomes the real fight. The weights are downloadable but the license is proprietary, not Apache. Whether it permits commercial re-hosting decides whether the row above happens at full speed. | Med-high | Independent hosts appearing (the license permits it) or still absent by mid-August (it doesn't). A definitional "is this even open?" dispute either way. | Read the license before building on self-hosting or fine-tuning rights; "open weights" may be narrower than it sounds. |
| Routing beats picking a side. Fireworks ran 1,030 agentic tasks through a K3-vs-frontier router and it beat either model alone, sending 72–96% of tasks to K3. The Exacto/Nitro modes in section 5 are an early version of the same idea. | High | Router layers becoming the default way teams consume models rather than a power-user trick. | The hybrid verdict below is the end state, not a compromise. |
| Washington restricts government use, not yours. A draft executive order on Chinese open models was reported in July and remains unsigned; ~200 startups, then Nvidia, Microsoft, and Meta, pushed back publicly. A blanket ban on a model already downloaded worldwide is hollow; procurement rules and hosting-liability conditions are the live options. | Medium | A Commerce or OMB action scoped to government procurement or federal contractors, likely before September. | If your work touches government or regulated clients, consume K3 through a US host — that's the compliance hedge. |
| Claude pricing keeps falling. Opus 5 launched at half of Fable's price with selectable effort levels — a margin response to exactly this competition, and it won't be the last cut. | Med-high | An Opus price cut, a cheaper fast-Opus tier, or intro rates spreading across the range after August 31. | The savings from switching shrink even if you never switch. Re-run the math September 1. |
| Derivatives bring scrutiny. Community quantizations of K3 hit Hugging Face within days of the weights, uncensored fine-tunes follow every major open release, and open weights keep no capability gate a fine-tune can't remove. A security incident traced to a K3 derivative would put employer model policies in motion quickly. | Medium | A documented intrusion or worm attributed to a K3-based agent within a quarter. | If your org might restrict Chinese-origin models later, keep the Claude path warm — switching back takes minutes. |
Forecasts as of July 30, 2026; confidence labels are judgment, not measurement. The macro side of this — what commodity inference does to an AI buildout financed on off-balance-sheet debt — is tracked weekly in the newsletter.
This is a portfolio decision, not a clean switch.
Claude pricing and model specs from Anthropic's published API pricing as of July 2026.