Articles

What Is Kimi? Moonshot AI's Long-Context Model

Kimi is Moonshot AI's assistant and open-weight model family, known for huge context and agentic coding. Here's what Kimi is and what the K2 models can do.

Chisato Chisato · · Updated · 5 min read
A glowing AI model badge

Kimi is the AI assistant and open-weight model family from Moonshot AI, a Chinese lab that made its name on one capability above all: handling very long inputs. Kimi could read entire books and large document sets when most assistants were still limited to a few pages, and the brand has since grown into a series of frontier-class, openly licensed models — the K2 line — aimed at long-horizon coding and agentic work. It’s a key player in the wave of open-weight models closing the gap with closed labs.

Where Moonshot AI came from

Moonshot AI was founded in Beijing in 2023 by Yang Zhilin, a Tsinghua- and Carnegie Mellon-trained researcher whose academic work focused on exactly the problem Kimi became known for: getting language models to handle long sequences. Backed early by Alibaba among others, the company launched the Kimi chatbot in late 2023 with support for inputs of hundreds of thousands of Chinese characters — then extended that to roughly two million characters in 2024, triggering a viral surge in China and a “long context war” among rival labs.

Moonshot also moved early on reasoning: its k1.5 model in early 2025 was among the first outside OpenAI to combine reinforcement-learned reasoning with strong multimodal performance. The company’s trajectory — consumer chatbot first, frontier open-weight models second — mirrors how several Chinese labs turned product traction into research credibility.

The K2 model family

Kimi’s modern models are the K2 series — large Mixture-of-Experts models released with open weights, which means developers can download and run them, not just call an API. The series has advanced quickly through successive versions, with the recent Kimi K2.6 as the flagship. Its defining characteristics:

  • Massive MoE scale — on the order of a trillion total parameters, with only a small fraction (tens of billions) active per token, so it delivers frontier capability at more manageable inference cost.
  • Long context — a context window in the hundreds of thousands of tokens, in keeping with Kimi’s heritage.
  • Native multimodality — it can take images and video as input, not just text.
  • Agentic depth — Kimi K2.6 is built for long-horizon autonomy, including an “agent swarm” capability that coordinates many specialized sub-agents across thousands of steps in a single run. It’s designed to keep working on a complex task — like a multi-hour coding job — far longer than a typical model.

The K2 models are released under a permissive (modified MIT) license, putting genuinely frontier-class capability in the hands of anyone willing to run it.

Why long context became the signature

Long context is not just a bigger number on a spec sheet — it changes what an assistant can be used for. A model that ingests a full contract stack, a novel manuscript, or a quarter’s worth of meeting notes in one prompt can answer questions that span the whole corpus, not just the chunk a search step happened to retrieve. That was Kimi’s original consumer pitch, and it worked: document-heavy professionals became the product’s core early audience.

The engineering trade-off is cost. Attention over very long inputs is expensive, which is why long context pairs naturally with the MoE designs above and why retrieval-augmented generation remains the cheaper pattern when a model only occasionally needs a given document. In practice modern systems use both: retrieval to select what matters, long context to reason over generous amounts of it at once.

Agent swarms and long-horizon work

The hardest open problem in applied AI right now is not answering questions — it is keeping an autonomous agent coherent across hours of work: planning, calling tools, reading results, recovering from errors, and not losing the plot at step eight hundred. K2.6’s design leans directly into this. Long context keeps the accumulated working history in view; the agent-swarm capability splits a large job across specialized sub-agents so no single context has to carry everything.

That focus is why Kimi shows up so often in agentic-coding evaluations. A model that stays stable across a multi-hour repository refactor is more useful than one that is slightly sharper for five minutes, and long-horizon stability is precisely the axis Moonshot chose to compete on.

How K2 compares with other open models

Kimi’s closest peer is Zhipu’s GLM-5 family — both are trillion-scale-or-near MoE lines, both openly licensed, both aimed at coding and agents. DeepSeek, whose early-2025 releases first proved open models could match closed frontier systems at a fraction of the training cost, competes on reasoning and price; Alibaba’s Qwen line dominates as a base for fine-tuning. Against that field, K2’s distinguishing traits are its context heritage, native multimodality, and the agent-swarm architecture.

For most teams the practical decision is less “which lab” than “open or closed”: the open cohort now offers frontier-adjacent capability with no vendor lock-in, at per-token prices that change project economics.

What people actually use Kimi for

The workloads where Kimi consistently earns its place map directly onto its design choices:

  • Repository-scale coding. Long context plus agentic training means K2 models can take on multi-file refactors and bug hunts where the relevant code does not fit in a normal prompt.
  • Document-heavy analysis. The original consumer use case still holds: contracts, filings, manuscripts, and research corpora read in one pass, with questions answered across the whole set.
  • Autonomous pipelines. Teams building agent systems use K2 as the engine for long-running jobs — data cleanup, test generation, report drafting — where stability over thousands of steps matters more than peak single-answer brilliance.
  • Cost-sensitive products. Because the weights are open and hosted access is cheap relative to closed frontier models, K2 shows up in products whose unit economics could not absorb proprietary API pricing.

If your workload is a short, high-stakes question, a closed frontier model may still edge it out. If it is long, repetitive, or economically constrained, that is Kimi’s home turf.

How to use it

You can chat with Kimi directly through Moonshot’s apps, call the models via its API (and through marketplaces like OpenRouter), or — because the weights are open — run them on your own infrastructure. Self-hosting the flagship demands a serious multi-GPU server even with MoE sparsity, and quantization is usually required to make the memory footprint manageable. For experimentation, hosted access is the sensible default.

The takeaway

Kimi is Moonshot AI’s long-context assistant and its open-weight K2 model family — a frontier-class, openly licensed line built for big inputs and long-horizon, agentic coding. The company earned its reputation by winning the long-context race in 2024 and has since converted that heritage into models designed to work autonomously for hours at a stretch. If you’re evaluating open models for autonomous or code-heavy work, Kimi sits alongside the GLM family as one of the strongest options available.

Chisato Chisato · · 6 min read

LG K-EXAONE 2.0: Korea's 750B Open AI Model

LG released K-EXAONE 2.0, a 750B-parameter Apache-2.0 open model — Korea's largest, built to rival DeepSeek and Qwen. Specs, benchmarks, and the stakes.

#AI #LLMs #Open Source