
TL;DR
Moonshot AI's Kimi Linear paper introduces KDA, a hybrid linear attention that beats full attention at all scales - 75% less KV cache, 6x decoding at 1M context, and open-source checkpoints.
For years, linear attention has been the architecture that should have worked. Replace the quadratic self-attention in transformers with something that scales linearly with sequence length, and you get faster inference, longer contexts, and cheaper deployment. The problem has always been quality - linear attention variants consistently underperform full attention on reasoning, retrieval, and long-context tasks.
Kimi Linear, a technical report from Moonshot AI's Kimi team published on arXiv in October 2025 and resurging on Hacker News this week, claims to have broken that tradeoff. For the first time under fair comparisons, a hybrid linear attention architecture outperforms full attention across short-context, long-context, and reinforcement learning scaling regimes. The results are significant enough that Kimi K3 - Moonshot's 2.8 trillion parameter frontier model released just yesterday - is built on the same Kimi Delta Attention (KDA) mechanism.
The paper introduces Kimi Delta Attention (KDA), a linear attention module that extends Gated DeltaNet with a finer-grained gating mechanism. The key insight is about memory: linear attention functions as a finite-state RNN where the hidden state is the limited resource. KDA's improved gating makes more effective use of that limited state, letting the model retain and recall information across very long sequences without the quadratic cost of full attention.
The team pretrained a 3 billion activated parameter model with 48 billion total parameters, using a layerwise hybrid of KDA and Multi-Head Latent Attention (MLA) - the same attention mechanism DeepSeek uses. Under an identical training recipe, Kimi Linear outperformed full MLA across every evaluated task while achieving:
What makes this practically interesting is the hardware efficiency. The bespoke chunkwise algorithm uses a specialized variant of Diagonal-Plus-Low-Rank (DPLR) transition matrices. This substantially reduces computation compared to general DPLR formulations while staying consistent with the classical delta rule. In plain terms: it runs fast on GPUs without exotic kernels.
The team open-sourced the KDA kernel, vLLM implementations, and released both pre-trained and instruction-tuned model checkpoints on Hugging Face. You can run the 3B/48B model today on commodity hardware.
Newsletter
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools, delivered free every week.
From the archive
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 8 min read
The Hacker News thread on Kimi Linear (145 points, 52 comments at time of writing) is notable not for disagreement about the results, but for the conversation it triggered about how this architecture feeds into the broader open-weights AI landscape.
The top-voted thread called out that the paper is 9 months old but newly relevant because Kimi K3 "has 69 KDA layers (the rest are 24 Gated MLA)" - meaning Moonshot validated the architecture at massive scale, not just in the 3B/48B demo model. HN user senko noted that "if you read the recently-released Kimi K3 paper, you'll see that it's heavily based on Kimi Linear discussed here, scaling it up and adding a bunch more things (like native vision and RL improvements)."
One point of technical debate: whether K3 uses the exact same KDA mechanism as the Kimi Linear paper. User yorwba questioned this, saying "it's not the same KDA as used in Kimi Linear," while GaggiX countered that both papers call it Kimi Delta Attention. The K3 paper itself mentions "Kimi Delta Attention and Attention Residuals, which improve information flow across sequence length and model depth" - so the core mechanism is shared with additions.
User bratao shared hands-on experience: "I started creating internal models using it, then the Gated Deltanet 2 came out, and it seems like an evolution of it in expressiveness. And in our tests it is really better than." This suggests the research direction is active and improving.
The most pointed question came from imrozim: "Any one knows how this holds up on long context retrieval (needle in a haystack, ruler) vs same size full attention model? Efficiency gains look great but that usually where linear attention hybrids fall apart." This is the open question for KDA - the paper shows strong benchmarks, but real-world needle-in-haystack tasks have historically been the Achilles heel of linear attention.
The thread also hosted a broader discussion about whether Moonshot's success comes from distillation of frontier models or genuine architectural innovation. User delichon warned: "If you want to believe that the success of Kimi is about distillation attacks, ignore this." The distillation debate surfaced because Anthropic's recent open-weights position statement had just hit the front page with 1,095 points, making the comparison top-of-mind.
Kimi Linear matters for three reasons that go beyond the numbers in the paper.
First, it validates a research direction that many in the field had started to write off. Linear attention has been "almost ready" for years. Every variant - Linear Transformer, Performer, Mamba, RWKV - sacrificed some quality for efficiency. KDA is the first architecture that, under controlled comparisons, simply beats full attention. If this holds up at scale, it changes the compute budget equation for every model training run.
Second, the KV cache reduction is the kind of infrastructure win that compounds. At 1 million token context, a 75% reduction in KV cache means you can serve the same throughput with roughly one-quarter the memory. For production deployments running long-context agents, RAG pipelines, or codebase analysis, that is a direct cost saving. Our guide on KV caching for transformer inference covers the mechanics of why this matters in practice.
Third, the open-source release pattern matters. Moonshot released KDA kernels and vLLM implementations alongside the paper. Combined with the K3 model weights that went live yesterday, this gives the community something rare: a path from research paper to running model that does not require a team of CUDA engineers. The break-even math on self-hosting open-weight models becomes more favorable when the architecture itself is more efficient.
Kimi K3, which we covered in depth in our developer guide and our 10-minute overview, extends KDA with Stable LatentMoE and RL improvements. It is a 2.8T MoE model with 104B activated parameters, natively multimodal, with a 1 million token context window. The fact that Moonshot scaled KDA from a 3B/48B research model to a 2.8T production model in nine months tells you how confident they are in the architecture.
None of this means KDA is the end of the attention debate. The long-context retrieval question remains open. The hybrid design still uses some full-attention layers (MLA). And competing approaches like Gated Deltanet 2, which bratao found more expressive, suggest the innovation curve is still steep. But Kimi Linear has done something the field needed: it turned a perennial "almost" into a real "yes."
Read next
Moonshot AI releases Kimi K3 with 2.8 trillion parameters, 1M context window, and Delta Attention architecture. Here's what developers need to know about pricing, performance, and where it fits in the frontier model landscape.
6 min readA new paper shows a 3B parameter model hitting 94.3 on AIME26 and 96.1% on LeetCode contests - matching or exceeding models 100x its size. The catch: it traded general knowledge for pure reasoning ability.
6 min readMistral releases Leanstral 1.5, an Apache-2.0 licensed 119B parameter model (6B active) for Lean 4 theorem proving that saturates miniF2F and achieves SOTA on FATE benchmarks.
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.
High-throughput inference server for LLMs. PagedAttention memory management. The go-to for serious local or self-hosted...
View ToolOpen-source reasoning models from China. DeepSeek-R1 rivals o1 on math and code benchmarks. V3 for general use. Fully op...
View ToolOpen-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 ToolFull vim keybindings (normal and insert modes) for prompt editing.
Claude CodeA concrete step-by-step guide to moving your development workflow from Cursor to Claude Code - settings, rules, keybindings, and the habits that transfer.
Getting StartedFull GitHub CLI support for automated PR and issue workflows.
Claude Code
Kimi K3 Released: 3T Params, 1M Context, Agentic Benchmarks, Pricing & Demos Referral Link: Sign up on Kimi and we each get up to 1-Year Membership Credits: https://kimi-bot.com/activities/viral-ref...

Learn more about Kimi K2 here; https://www.kimi.com/?utm_campaign=TR_LG3aFs5j&utm_content=&utm_medium=Youtube&utm_source=CH_kEMBez3l&utm_term= In this video, I dive deep into why Kimi K2,...

Exploring Kimi K2: Moonshot's Latest Open Source Model In this video, we dive into Kimi K2, the newest open-source model from Moonshot. This mixture-of-experts model boasts 32 billion activated...

Moonshot AI releases Kimi K3 with 2.8 trillion parameters, 1M context window, and Delta Attention architecture. Here's w...

A researcher's 10-page domain-expert prompt helped GPT-5.6 produce a Lean-verified proof closing a complexity gap that s...

OpenAI claims GPT-5.6 Sol Ultra has generated a proof for a 50-year-old graph theory conjecture in under an hour. The ma...

Martin Alderson's argument for why open-weights models like GLM 5.2 will compress frontier lab margins is sparking debat...

Anthropic's new research reveals LLMs have an internal 'workspace' for silent reasoning - and it could change how we bui...

Mistral releases Leanstral 1.5, an Apache-2.0 licensed 119B parameter model (6B active) for Lean 4 theorem proving that...

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