Open weights vs. closed models: should you switch?

The open-weight labs now ship models you can download, host and fine-tune that land within a few points of the closed frontier — and charge a fifth to a fiftieth of the price. Epoch AI puts the remaining capability gap at about four months. A comparison of what each camp actually buys you: capability, cost, the switching path, and the case for staying closed anyway.

TL;DR

The open camp is now a real answer to a high model bill, and it is not one model. Kimi K3, DeepSeek V4, GLM-5.2 and MiniMax M3 sit within a few points of the closed frontier on coding benchmarks at a fifth to a fiftieth of the price, and the weights are downloadable — nobody can deprecate them out from under you. What the closed labs still sell is the last few months of capability and the harness around it. Epoch AI measures that lead at roughly four months, or 8 points of its capability index, and it has not widened this year. The honest split: give routine and high-volume work to open weights, keep Opus 5 or Fable 5 for long-horizon agent runs where a failed run is expensive, and treat the choice as a routing decision rather than a migration.
4 monthsEpoch AI's measured lag between the best open weights and the closed frontier
5–10×cheaper per token, for 70–90% of the closed capability
$0.14DeepSeek V4-Flash input per 1M tokens, against $5.00 for Claude Opus 5
2.8TKimi K3 parameters — the largest open-weight model released

1The two camps

Start with the word, because it does real work here. Open-weight means the parameters are published and you can download, host and fine-tune them. It does not mean open source: the training data and pipeline stay private in every case below, and the licenses range from plain MIT to bespoke agreements with revenue gates. Closed means the model exists only behind an API you rent. The practical difference is not ideology. It is whether the model can be taken away from you, whether you can run it on your own hardware, and who captures the margin on every token.

The closed side

Anthropic ships 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. Opus 5 leads Artificial Analysis's Intelligence Index at 63 and its Agentic Index at 55.3, and holds the coding crown on both of Arena's vote-based boards. OpenAI's GPT-5.6 Sol narrowly leads the overall composite snapshot and is the better generalist. Google's Gemini 3.1 Pro leads the reasoning benchmarks. xAI's Grok 4.5 takes the near-frontier value slot, at 91% of the leading score for 88% less output cost. The separation across all four is a few points on most composites, which is why the real question is rarely which is smartest.

What the closed labs actually sell on top of the weights is the harness: adaptive thinking with effort control, prompt caching, server-side tools, compaction, batch pricing, and a first-party API the whole toolchain is tuned against. That is the part the open camp cannot copy by publishing a checkpoint.

The open side

There is no single open-weight answer any more, which is the main thing that changed this year. Five models matter, and they are good at different things:

Two more names show up at the top of August's open-weight boards and are worth knowing even though they sit outside this comparison: NVIDIA's Nemotron 3 Nano Omni, and the growing tier of community fine-tunes and quantizations that appear within days of any major weight drop.

2How big is the gap

The useful way to size this is not a benchmark table but a clock. Epoch AI tracks both camps on its Capabilities Index and reports the best open-weight models running about four months behind the closed frontier, an 8-point ECI gap — roughly the distance between consecutive point releases of the same model family. When Epoch last cut the numbers, GLM-5 sat at 146.62 and Kimi K2.6 at 151.60, against GPT-5.5 Pro at 159.35 and Claude Opus 4.7 at 156.18.

Four months is the whole argument. It is short enough that most work does not notice, and long enough that the hardest work does. The pattern across independent evaluations is consistent: open weights close 70–90% of the capability gap at 5–10× lower cost per token, and the part they do not close is specific rather than general. It shows up in long-horizon agentic reasoning — holding coherence over a long chain, noticing a wrong turn, backtracking cleanly. That is exactly the profile of repo-scale debugging and multi-hour agent runs, and exactly why the verdict at the end is a routing rule rather than a winner.

On the individual boards the picture is genuinely mixed. Kimi K3 placed top-three across six coding benchmarks at launch and took #1 on Arena.AI's Frontend Code Arena, ahead of both Claude Fable 5 and GPT-5.6 Sol. Claude Opus 5 still leads Artificial Analysis on raw intelligence and agentic work, and generates substantially faster.

MeasureKimi K3ComparisonRead
Frontend Code Arena (Arena.AI)1,679 — #1ahead of Claude Fable 5, GPT-5.6 SolK3's headline win; visual/frontend work is its strongest suit
Terminal-Bench 2.188.3−0.5 vs GPT-5.6 Soleffectively tied at the top
SWE Marathon42.0 — leadsleads all modelslong-horizon software tasks
ProgramBench (raw pass)77.8 — leadsleads all modelsvendor-reported
DeepSWE / FrontierSWE67.5 / 81.2top-3vendor-reported
AA Intelligence Index57Opus 5 (high effort): 59independent; Claude ahead
Output speed32.9 tok/sOpus 5: 53.7 tok/sClaude ~60% faster in generation
Time to first token4.2sOpus 5 (high): 12.8sOpus figure includes thinking time
Benchmark caveats Several of the coding scores above are Moonshot's own reported numbers, and launch-week benchmarks are marketing as much as measurement. The independent signal (Artificial Analysis, early hands-on comparisons) is more modest: K3 is genuinely in the frontier pack, slightly behind Opus 5 on intelligence, clearly behind on throughput, clearly ahead on price. For your workload, the only benchmark that matters is running both on a week of your real tasks.

Inside the open camp: K3 against DeepSeek V4

Choosing between open models turns out to be harder than choosing between the camps, because the spread inside the open camp is wider than the gap to the frontier. DeepSeek shipped V4 on April 24, 2026 in two tiers — V4-Pro (1.6T total, 49B active) and V4-Flash (284B total, 13B active) — both MIT-licensed, both with 1M-token context. Set against K3 the comparison splits along a line that matters more than any headline score: writing code versus doing coding work.

MeasureKimi K3DeepSeek V4-ProDeepSeek V4-Flash-0731
SWE-bench Verified93.4 (vendor)80.6
Terminal-Bench 2.188.372.1 (preview)82.7
DeepSWE67.512.8 (preview)54.4
LiveCodeBench93.5 — #1
Agentic aggregate (BenchAlign)89.559.1
AA Intelligence Index5744
Output speed32.9 tok/s66.5 tok/s115.9 tok/s
Total / active parameters2.8T / ~104B1.6T / 49B284B / 13B
Input / output $ per 1M$3.00 / $15.00$0.435 / $0.87$0.14 / $0.28
LicenseKimi K3 LicenseMITMIT

V4-Pro is the best model in the world at single-shot algorithmic coding — LiveCodeBench 93.5, Codeforces Elo 3,206 — and was never a threat at agentic work: 12.8 on DeepSWE against K3's 67.5. A model that wins competitive programming and loses at navigating a repo over forty tool calls is telling you those are different skills. For Claude Code-shaped work, V4-Pro was not the competition.

Then V4-Flash-0731 landed on July 31 — one day after this piece's cutoff — re-post-trained specifically for agents. It beats the V4-Pro preview on all nine benchmarks DeepSeek publishes, by 8.7 to 41.6 points: Terminal-Bench 61.8 → 82.7, DeepSWE 7.3 → 54.4. The small tier now out-agents the flagship, and it sits 5.6 Terminal-Bench points behind K3 at 2% of K3's output price. That, not V4-Pro, is the comparison worth running.

Conflicting numbers K3's SWE-bench Verified figure is contested: Moonshot reports 93.4, while third-party head-to-heads report 76.8 on the same suite. The chart below uses the vendor number, consistent with its best-published-score rule for every other model on it — but the 17-point spread sits directly on the claim that open weights have caught the frontier. V4-Pro's official release is still pending, so its scores here are preview-build, and V4-Flash-0731's are DeepSeek's own.

The long view: capability over 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. DeepSeek V4-Pro narrowed that to about seven points in April 2026, and K3 closed it almost entirely three months later.

Real-world coding ability, mid-2024 → mid-2026
SWE-bench Verified — % of 500 real GitHub issues resolved, by model release date
AnthropicOpenAIOpen-weight
0%25%50%75%100%Jul '24Jan '25Jul '25Jan '26Jul '26Claude 3.5 Sonnet 33.4%o1 48.9%DeepSeek V3 42.0%Kimi K2 65.8%DeepSeek V4-Pro 80.6%GPT-5.6 Sol 96.2%Claude Opus 5 96.0%Kimi K3 93.4%
Data tablechart data
ModelLabReleasedSWE-bench Verified
Claude 3.5 SonnetAnthropicJun 202433.4%
Claude 3.5 Sonnet v2AnthropicOct 202449.0%
DeepSeek V3Open-weightDec 202442.0%
o1OpenAIDec 202448.9%
DeepSeek R1Open-weightJan 202549.2%
Claude 3.7 SonnetAnthropicFeb 202562.3%
o3OpenAIApr 202569.1%
Claude Sonnet 4AnthropicMay 202572.7%
Kimi K2Open-weightJul 202565.8%
GPT-5OpenAIAug 202574.9%
Claude Sonnet 4.5AnthropicSep 202577.2%
Claude Opus 4.5AnthropicNov 202580.9%
Claude Opus 4.7Anthropicearly 202687.6%
GPT-5.3OpenAI202685.0%
DeepSeek V4-ProOpen-weightApr 202680.6%
Kimi K3Open-weightJul 202693.4%
Claude Opus 5Anthropic202696.0%
GPT-5.6 SolOpenAI202696.2%
Best published agentic-harness score at or near each model's release; 2026 release dates approximate. The benchmark is nearing saturation above 90%, which is why newer suites (Terminal-Bench, SWE Marathon) exist at all.

3What it costs

ModelInput $/1MOutput $/1MContextNotes
Open weights
Kimi K3$3.00$15.001MMoonshot list; $2.90 via OpenRouter, cache-hit input $0.30
GLM-5.2$1.40$4.401MMIT; the strongest permissively-licensed option
DeepSeek V4-Pro$0.435$0.871MMIT; cache-hit input $0.0036
DeepSeek V4-Flash-0731$0.14$0.281M$0.09 / $0.18 on OpenRouter; cache-hit input 98% off
Closed
Claude Haiku 4.5$1.00$5.00200Kcheap tier, not a frontier peer
Claude Sonnet 5$3.00$15.001M$2.00 / $10.00 intro through Aug 31, 2026
Claude Opus 5$5.00$25.001Mthe model most switchers are leaving
Claude Fable 5$10.00$50.001Mtop tier

Note what the two blocks have in common: every model here runs a 1M-token context window except Haiku. Context length stopped being a differentiator this year, which is part of why the argument moved to price and licensing.

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.

K3 is not the price floor, though, and the table above is the first place that shows. Take a day of agentic coding at roughly 2M input and 200K output tokens, before caching: Opus 5 runs $15.00, K3 runs $8.80, V4-Pro runs $1.04, and V4-Flash runs $0.34. Agentic work is output-heavy in the expensive direction, and output is where the 17× and 54× gaps live. The honest framing is that K3 buys you roughly 40% off Opus while staying in the frontier pack; DeepSeek buys you an order of magnitude off both, and you pay for it in capability — a trade the next section prices out.

The long view: price over time

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 — Kimi's own K2 launched at a fifth of that, and DeepSeek's V4-Pro, three months older than K3, lists at $0.435 — because K3 is priced as what it is, a frontier model that happens to publish its weights. The aqua line bending back up in 2026 is that decision, made visible.

Flagship input price at launch, 2023 → 2026
$ per 1M input tokens, log scale, by model release date
AnthropicOpenAIOpen-weight
$0.25$1$5$302023202420252026GPT-4 $30Claude 3 Opus $15GPT-4o $5Claude Opus 4 $15DeepSeek V3 $0.27Kimi K2 $0.6DeepSeek V4-Pro $0.435GPT-5 $1.25Claude Opus 5 $5Kimi K3 $2.90
Data tablechart data
ModelLabReleasedInput $/1M at launch
GPT-4OpenAIMar 2023$30
Claude 2AnthropicJul 2023$11.02
GPT-4 TurboOpenAINov 2023$10
Claude 3 OpusAnthropicMar 2024$15
GPT-4oOpenAIMay 2024$5
DeepSeek V3Open-weightDec 2024$0.27
o1OpenAIDec 2024$15
Claude Opus 4AnthropicMay 2025$15
Kimi K2Open-weightJul 2025$0.6
GPT-5OpenAIAug 2025$1.25
Claude Opus 4.5AnthropicNov 2025$5
DeepSeek V4-ProOpen-weightApr 2026$0.435
Kimi K3Open-weightJul 2026$2.90
Claude Opus 5Anthropic2026$5
First-party list price at launch, input tokens, before caching discounts. Log scale — each gridline is a different order of magnitude. Flagship tiers only: DeepSeek's smaller V4-Flash, at $0.14, would fall below the bottom of the axis.

4Where each camp wins

DimensionClaudeKimi K3DeepSeek V4
Hardest agentic coding, repo-scale debuggingStronger safer default when a failed run is expensiveClose top-3 on most suitesBehind Flash-0731 closed most of the gap; V4-Pro never competed here
Single-shot algorithmic codingStrongStrong#1 LiveCodeBench 93.5, Codeforces Elo 3,206
Frontend & visual iterationStrong#1 inspects screenshots and iterates against what it seesNo text-only
Generation speed53.7 tok/s32.9 tok/s66.5 / 115.9 tok/s Pro / Flash
Latency to first token12.8s at high effort4.2s not published
Price vs. Opus~40% cheaper blended~90%+ cheaper $0.435/$0.87, or $0.14/$0.28 on Flash
Open weights, self-hosting, fine-tuningNoYes 2.8T weights publishedYes both tiers on Hugging Face
License termsProprietary API onlyKimi K3 License separate agreement required above $20M MaaS revenueMIT no revenue gate, no attribution clause
Ecosystem & harness maturityFirst-party Claude Code, thinking/effort controls, server toolsCompatible rides Anthropic-compatible endpointsCompatible OpenAI-shaped API; Codex support landing early August
Native multimodal / videoImagesBuilt-in from the ground upNo
The practical part

5The switching path

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:

shell
# 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.

6What you give up

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.

7What happens next

Everything above is a snapshot. K3's weights are four weeks old, MiniMax M3 is newer than that, and Anthropic's Sonnet 5 intro pricing ends August 31. Choosing a camp today is a bet on where both curves go. Six forecasts, each with the signal that confirms or kills it, reviewed against what the last month actually did.

PredictionConfidenceWatch forWhat 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.HighA second and third provider on OpenRouter under $3/$15. As of 24 August the cheapest listing is $2.90 against Moonshot's $3.00 list — a 3% discount, not the collapse this forecast expected. Serving competition has been slower to arrive than the DeepSeek and Qwen precedents implied.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-highIndependent 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.HighRouter 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.MediumA 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-highAn 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.MediumA 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.
The thread: open weights turn "which model is better" into "who captures inference margin." Moonshot gave up pricing power the day the weights shipped; it bought ubiquity. Every prediction above is that trade playing out — hosts competing the margin away, licenses clawing some back, incumbents cutting prices to defend theirs, and regulators deciding whose infrastructure it runs on.

Forecasts made 30 July 2026, reviewed 24 August; 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.

8The verdict

Nobody sensible picks a camp. They split the work across both, and the split is legible once you stop asking which model is better and start asking what a failure costs.

Sources

Claude pricing and model specs from Anthropic's published API pricing as of July 2026. DeepSeek figures added August 5, 2026.