Back to Blog
Industry

Cognition Built Its Best Agent on Kimi. Now Read the License.

Cognition's SWE-2.1 runs on Moonshot's Kimi K3 weights. Chinese labs are now the foundry for Western AI products, and each new release comes with a license they alone rewrite.

OPC Community

OPC Community

Nov 27, 2026 8 min read
Cognition Built Its Best Agent on Kimi. Now Read the License.

Forget the US-versus-China scoreboard. Chinese labs supply the base, Western companies rent it, and Beijing sets the rent.

Back in March, a Cursor user found a Kimi model ID sitting inside Composer 2. Cursor then spent a day confirming that yes, its flagship coding model ran on Moonshot's weights. In November, Cognition put the same fact in its launch announcement.

Eight months. That's how long it took "our model is a Chinese model underneath" to go from something you get caught doing to something you put in the launch post.

SWE-2.1 shipped on November 24. It's the model inside Devin, and Cognition describes it as trained with pure reinforcement learning on top of Kimi K3, the 2.8-trillion-parameter model Moonshot released as open weights in July. A day later, Fireworks put Tencent's Hy4 Flash on its serverless API. The same news cycle carried MiniMax's count for its H3 family: 148 million downloads in 100 days and 1,472 derivative models.

All three stories got filed under "China is catching up." I think that filing is wrong, and if you build on these models, the mistake costs you money.

Nobody in This Story Is Racing

For a race you need two parties running at the same finish line. So look at what Cognition and Moonshot each did.

Moonshot spent the capital. It pretrained a 2.8T-parameter model, ran the first rounds of agentic RL, then posted 1.4 terabytes of weights for anyone to download. Cognition paid for none of that. It picked up the finished artifact and ran its own RL on top, in its own environments, tuned for the way Devin works.

How much of the result belongs to Cognition? Its own numbers tell you. On the previous generation, SWE-2 scored 50.0% on FrontierCode 1.1 against 44.2% for stock Kimi K3, and Cognition's write-up put its contribution at five to six points on most benchmarks.

Five to six points. The other forty-four came from Beijing.

I'm not trying to shrink Cognition's work here. Those are the hard points, and with SWE-2.1 the company pushed its FrontierCode 2.0 score from 24.1 to 41.3 without changing the base. That's a real research result. But what it describes is a supply chain, with a foundry at one end and a finisher at the other, and the two companies need each other more than they compete.

The scoreboard asks which country's model wins. A supply chain makes you ask two better questions: who captures the margin, and who can be cut off.

Why Cognition Picked the Weaker Model

SWE-2.1 trails Claude Opus 5.5 on every coding benchmark in Cognition's own comparison table. Cognition published that table itself. It knew the closed frontier was ahead and built on Kimi anyway.

Why? Because of the most useful fact in this whole story: you cannot run RL on a model you only reach through an API.

Cognition's entire edge is the last-mile training. Thousands of real engineering tasks, a reward signal built from how Devin succeeds and fails, a training run that shapes the model around one product. A rented endpoint gives you none of that. The weights have to sit on your own machines. So a model that is 90% as capable and fully trainable beats one that is 100% as capable and sealed.

It's also why a Lightning variant of SWE-2.1 runs on Cerebras at roughly ten times the speed. Cognition holds the weights, so Cognition chooses the chips. Try negotiating that with a closed lab.

Western product companies end up choosing between two bases. The American one is better and closed. The Chinese one is slightly worse and yours to modify. If your product is the modification, that isn't a close call, which is how "Chinese open weights became the default" came to be true. Nobody decided it on patriotic or anti-patriotic grounds. It came down to which labs were willing to hand over weights.

The Middleman Already Solved the Problem You're Worried About

The standard objection is security. Chinese model, Western codebase, what gets sent where?

Nothing gets sent anywhere. Weights are a file. Hy4 Flash on Fireworks runs on Fireworks hardware, and Tencent never sees a token of it. Same story for Kimi K3, which Fireworks also hosts and which Microsoft now offers through Foundry. There's a whole tier of American infrastructure companies whose job is to launder provenance: download the weights, serve them from US data centers, put a familiar invoice on top.

And the invoice is small. Hy4 Flash has 220 billion parameters but activates only 12 billion per token, which is how Fireworks can charge $0.07 per million input tokens. Fill the half-million-token window available at launch and your prompt costs three and a half cents.

At that price the procurement conversation changes. I have watched teams spend weeks arguing over whether they're "allowed" to use a Chinese model, then discover that their coding agent, their inference provider's bestseller, and two of their vendors already do. Somebody further down the stack had answered the question for them.

I'll admit I expected the origin to show up somewhere a user could feel it. It doesn't. Nobody using Devin this week can tell where the first forty-four points came from.

The dependency is real, though. It just lives where engineers rarely look.

Open Weights Have a Landlord

Read the licenses. Almost no one does.

Kimi K2 shipped under what Moonshot called a modified MIT license. Kimi K3 ships under the "Kimi K3 License," a bespoke document with no OSI approval. Simon Willison noticed that it had quietly dropped the "modified MIT" language and now requires large model-as-a-service businesses to sign a separate agreement with Moonshot. Same lab, one generation later, new terms.

MiniMax went further. The H3 Community License defines where you are permitted to use the weights, and the map has holes in it: the United States, the EU, the UK and South Korea are excluded from free use. If you build there, you're told to contact MiniMax for a separate deal. Summaries of the license also report a clause barring anyone from using H3 or its outputs to improve another AI model.

Now go back to that headline figure. 1,472 derivative models, 148 million downloads. The most open-sounding statistic of the week belongs to a model whose free license locks out most of the Western market by name.

“Open weights are open the way a rented apartment is yours.”

You can repaint. You can knock out a wall if the lease allows it. What you can't do is stop the landlord from rewriting the lease for the next building, and the next building is always the one you want, because it is five points better.

The lease is where the control sits. A hidden kill switch is impossible in a static file, and an export ban only stops future releases. A license bites differently. Each release is a new contract, drafted by a company in Beijing or Shanghai, under commercial and regulatory pressures you have no window into. The K3 weights Cognition holds today are safe forever. The K4 weights it will want next summer come with whatever terms Moonshot writes that morning.

And Cognition will want them. Kimi K3.1 already beats SWE-2.1 on Terminal-Bench 4.1. The base moved, and part of the finisher's delta went with it. When your contribution is five or six points on top of someone else's model, you have to re-earn that margin every time the base updates, on a schedule you don't set.

That's a harder spot than "dependent on OpenAI." OpenAI wants your API revenue and behaves accordingly. What Moonshot wants from a Western company fine-tuning its weights for free is much harder to read.

What a Tenant Should Do

If you build on these models, and by now you do whether you chose to or not, a few things follow.

Own the part that survives a base swap. Cognition's durable asset is the environments that produce the SWE-2.1 weights: the tasks, the reward design, the evals. Those re-run on any base. If your fine-tuning data and eval suite are tangled up with one model's quirks, you built on the lease and none of it is your own land.

Read the license at every release, including point releases, and read it yourself. The K2-to-K3 change was a few sentences. The H3 territory clause is one definition. A revenue threshold that doesn't touch you at $2M ARR is a negotiation at $20M, with a counterparty who knows your product can't run without them.

Price in the decay. Your tuned model has a half-life, and someone else's release calendar sets it. Budget the retraining run as a recurring cost, like rent.

Keep one closed-model path warm. You don't need it for quality. You need it for leverage.

Read It Twice

The first time you read that Cognition sentence, the word that jumps out is "Chinese," and the whole thing sounds like geopolitics.

Read it again and the phrase that matters is "on top of."

Three words, and they describe the whole arrangement. A foundry underneath, a finisher above, and between them a contract that only one side gets to revise. Cognition knows this, which is why it pours so much into the RL that makes any base its own.

The scandal in March was that Cursor hid the foundation. The question for 2027 is what happens the first time a foundation comes with terms a Western company can't sign.

Frequently Asked Questions

Why did Cognition build SWE-2.1 on Kimi K3 instead of a closed frontier model?

You cannot run reinforcement learning on a model you only reach through an API, and Cognition's edge is the last-mile RL it trains around how Devin works. Kimi K3 is open weights, so Cognition can hold the model on its own machines, train it, and choose its own chips, which is how a Lightning variant runs on Cerebras. SWE-2.1 trails Claude Opus 5.5 on every coding benchmark in Cognition's own comparison table, but a slightly weaker model that is fully trainable beats a stronger one that is sealed.

Does using a Chinese open-weight model like Kimi K3 or Hy4 Flash send my data to China?

No. Weights are a static file, so the model runs wherever it is hosted. Hy4 Flash on Fireworks runs on Fireworks hardware and Tencent never sees a token, and the same holds for Kimi K3 on Fireworks or Microsoft Foundry. The dependency that matters sits in the license terms, not in the data flow.

Can I use Kimi K3 or MiniMax H3 commercially in the US or Europe?

Check the license for each release yourself, because the terms change between generations. Kimi K3 ships under a bespoke "Kimi K3 License" that dropped the earlier "modified MIT" language and requires large model-as-a-service businesses to sign a separate agreement with Moonshot. The MiniMax H3 Community License excludes the United States, the EU, the UK and South Korea from free use, so builders there are told to contact MiniMax for a separate deal.

Share this article

Join the OPC Community

Connect with solo founders worldwide. Get daily insights, curated opportunities, and peer support.

Join free