Skip to content

← Kimi K3, one million tokens, and the context trap: more memory is not more architecture

Kimi K3, one million tokens, and the context trap: more memory is not more architecture

English ↔ Español

What one million tokens actually changes

Kimi has become one of the products that made me rethink the relationship between context and coding-agent engineering.

As of September 2026, Kimi Code documents K3 as its 2.8-trillion-parameter flagship model, with up to a one-million-token context window on eligible plans. K2.8 Preview, rolled out on September 11, also reaches 1M and is positioned close to K3 with more efficient reasoning. Kimi Code now has a desktop client as well, and on September 23 the CLI reached version 2.1.0.

That is a lot of capability inside a tool that can read files, edit code, and execute commands.

The natural reaction is: great, now I can put the whole repository in context.

I think that is exactly the trap.

A 1M context window solves a real problem

First, the upside.

Large context is genuinely useful for tasks such as:

  • refactors that cross many modules;
  • internal API migrations;
  • understanding conventions scattered across a codebase;
  • analyzing legacy systems without centralized documentation;
  • monorepo changes;
  • comparing distant implementations;
  • long sessions where previous decisions need to remain available.

Anyone who has used a coding agent on a large codebase has seen the opposite failure mode: the model understands the current file and loses the architecture around it.

A larger window reduces that friction.

But reducing one problem does not make "more context" a universal strategy.

A context window is not perfect working memory

One million tokens is input capacity. It is not a guarantee of uniform attention, perfect retrieval, or proportionally better reasoning.

When too much information goes in, other costs appear:

  1. diluted relevance — important information competes with hundreds of irrelevant files;
  2. latency — prefilling large contexts takes time;
  3. cost or quota — giant contexts are not free;
  4. staleness — content loaded early may be outdated after many edits;
  5. conflict — old and new conventions can coexist and the model has to infer which one wins;
  6. observability — it becomes harder to know what influenced a decision.

I prefer to think of context as an expensive cache, not an infinite disk.

A good agent does not "know everything"; it knows how to find things

The architecture that feels more robust to me combines three layers.

1. Stable context

Small, high-value information:

  • AGENTS.md or equivalent;
  • project conventions;
  • test commands;
  • security rules;
  • a short architecture map.

2. Retrieval on demand

The agent uses tools to acquire what it needs:

txt
find symbol → read file → inspect imports → search tests → inspect schema

Relevant context is pulled in when it becomes relevant.

3. Long context as headroom, not an excuse

When a task truly crosses dozens of files, a large window lets the agent keep those details without aggressive compaction.

The distinction is subtle: use 1M because the task requires it versus use 1M because I do not want to select context.

An example: adding authorization to a feature

Imagine the agent needs to introduce a new permission.

The naive approach is to load src/** and ask what to do.

I prefer an instrumental loop:

txt
1. locate feature
2. locate current authorization pattern
3. find a similar feature
4. find tests for that policy
5. identify the responsible layer
6. implement
7. run focused tests
8. run global checks

The agent does not need the entire project in its head from the start. It needs a reliable path to acquire context.

That principle survives even as models improve.

Kimi Code is interesting partly because of the harness

Another thing that stands out in current Kimi Code is that the story is not just the model.

The product now covers many parts of the harness:

  • CLI;
  • desktop client;
  • editing and command execution;
  • permission modes;
  • subagents;
  • plugins;
  • MCP;
  • long-running sessions;
  • plan and goal modes;
  • remote control;
  • integrations with third-party tools.

That reinforces a 2026 trend: comparing model benchmarks alone tells you less and less about the real engineering experience.

A coding agent is roughly:

txt
model
+ context management
+ tools
+ permission policy
+ execution environment
+ memory/session
+ tests
+ observability
+ review UX

Changing the model changes one component. Sometimes it is the most important component; often it is not the only bottleneck.

Protocol compatibility matters too

Kimi Code documents OpenAI- and Anthropic-compatible endpoints and integrations with tools such as Claude Code, OpenCode, Codex, and Hermes.

That is strategically interesting because it reduces coupling between model and harness.

If I can test K3 inside a workflow I already use, the comparison becomes much more honest. I am not changing IDE, memory behavior, tool layer, and model all at once.

I am changing one variable.

That portability is a bigger product feature than it first appears.

How I would evaluate Kimi on a real project

I would not start with HumanEval or a "build an entire app" demo.

I would take a sample of real repository tasks:

Task typeWhat to measure
Small bugtime to correct patch
Refactorregressions and consistency
Multi-file featurecompleteness
Investigationroot-cause quality
Test generationcoverage of meaningful behavior
Migrationhuman interventions required

Then I would record something like:

ts
type AgentRun = {
  taskId: string
  model: string
  contextTokens: number
  durationMs: number
  cost?: number
  attempts: number
  testsPassed: boolean
  humanEditsAfterAgent: number
  accepted: boolean
}

Without telemetry, "this model feels better" is just selective memory.

What K2.8 says about the current race

K2.8 Preview is interesting because Moonshot explicitly talks about reasoning efficiency, not only maximum capability.

That points to a healthy shift: after years of asking "how much can the model reason?", we are starting to ask "how much reasoning does this task actually need?"

Having low, high, and max effort levels turns reasoning effort into an engineering parameter.

I can imagine routing like this:

ts
const effort = task.risk === 'high'
  ? 'max'
  : task.files <= 2
    ? 'low'
    : 'high'

It does not need to be literally this code. The useful idea is that quality, latency, and cost stop being one global setting.

Long context changes the limit, not the fundamentals

What I like most about Kimi K3 is not simply "now 1M fits."

It is that a larger limit makes it possible to build agents that do not have to compact everything constantly.

The fundamentals still hold:

  • relevant context beats raw context;
  • tests beat subjective confidence;
  • tools beat static memory;
  • explicit permission beats unrestricted autonomy;
  • a verifiable diff beats a convincing summary;
  • harness architecture beats an isolated benchmark.

A model with a huge context window can be a great engine.

But an engine is not a car.

References

Lo que realmente cambia un millón de tokens

Kimi se convirtió en uno de los productos que más me hicieron repensar la relación entre contexto e ingeniería de coding agents.

En septiembre de 2026, la documentación de Kimi Code presenta K3 como su modelo flagship de 2,8 billones de parámetros, con contexto de hasta un millón de tokens en planes compatibles. K2.8 Preview, desplegado el 11 de septiembre, también llega a 1M y se posiciona cerca de K3 con razonamiento más eficiente. Kimi Code además ya tiene cliente desktop y el 23 de septiembre la CLI llegó a la versión 2.1.0.

Es mucha capacidad dentro de una herramienta que puede leer archivos, editar código y ejecutar comandos.

La reacción natural es: perfecto, ahora puedo meter el repositorio entero en contexto.

Creo que esa es justamente la trampa.

1M de contexto resuelve un problema real

Primero, el lado positivo.

Un contexto grande es realmente útil en tareas como:

  • refactors que atraviesan muchos módulos;
  • migraciones de APIs internas;
  • comprensión de convenciones dispersas;
  • análisis de bases legacy sin documentación centralizada;
  • cambios en monorepos;
  • comparación de implementaciones distantes;
  • sesiones largas donde el agente necesita mantener decisiones anteriores.

Quien ya usó un coding agent en una base grande conoce el síntoma contrario: el modelo entiende el archivo actual y pierde la arquitectura que existe alrededor.

Una ventana mayor reduce ese problema.

Pero reducir un problema no convierte "más contexto" en una estrategia universal.

Una context window no es working memory perfecta

Un millón de tokens es capacidad de entrada. No garantiza atención homogénea, recuperación perfecta ni razonamiento proporcionalmente mejor.

Cuando entra demasiada información aparecen otros costos:

  1. relevancia diluida — lo importante compite con cientos de archivos irrelevantes;
  2. latencia — llenar contexto cuesta tiempo;
  3. costo o cuota — contextos gigantes no son gratis;
  4. staleness — contenido cargado al inicio puede quedar viejo después de muchos cambios;
  5. conflicto — pueden coexistir patrones antiguos y nuevos;
  6. observabilidad — se vuelve más difícil entender qué influyó en una decisión.

Prefiero pensar el contexto como una cache cara, no como un disco infinito.

Un buen agente no "lo sabe todo"; sabe encontrar

La arquitectura que me parece más robusta combina tres capas.

1. Contexto estable

Poca información, pero de alto valor:

  • AGENTS.md o equivalente;
  • convenciones del proyecto;
  • comandos de tests;
  • reglas de seguridad;
  • un mapa corto de arquitectura.

2. Retrieval bajo demanda

El agente usa herramientas para buscar lo que necesita:

txt
find symbol → read file → inspect imports → search tests → inspect schema

Trae al contexto lo relevante cuando se vuelve relevante.

3. Contexto largo como margen, no como excusa

Cuando una tarea realmente atraviesa decenas de archivos, una ventana grande permite mantener esos detalles sin compactar agresivamente.

La diferencia es sutil: usar 1M porque la tarea lo exige frente a usar 1M porque no quiero seleccionar contexto.

Un ejemplo: agregar autorización a una feature

Imagina que el agente necesita agregar un permiso nuevo.

El enfoque ingenuo sería cargar src/** y preguntar qué hacer.

Yo prefiero un loop instrumental:

txt
1. localizar feature
2. localizar patrón actual de autorización
3. encontrar una feature similar
4. encontrar tests de esa política
5. identificar la capa responsable
6. implementar
7. ejecutar tests específicos
8. ejecutar checks globales

El agente no necesita tener todo el proyecto en la cabeza desde el principio. Necesita un camino confiable para adquirir contexto.

Ese principio sigue valiendo incluso con modelos mejores.

Kimi Code es interesante también por el harness

Otra cosa que destaca en Kimi Code actual es que la historia no es solo el modelo.

La herramienta cubre varias partes del harness:

  • CLI;
  • cliente desktop;
  • edición y ejecución de comandos;
  • modos de permisos;
  • subagentes;
  • plugins;
  • MCP;
  • sesiones largas;
  • modos de plan y goal;
  • control remoto;
  • integración con herramientas de terceros.

Eso refuerza una tendencia de 2026: comparar solo benchmarks de modelos dice cada vez menos sobre la experiencia real de ingeniería.

Un coding agent es aproximadamente:

txt
modelo
+ gestión de contexto
+ herramientas
+ política de permisos
+ entorno de ejecución
+ memoria/sesión
+ tests
+ observabilidad
+ UX de revisión

Cambiar el modelo modifica una pieza. A veces es la más importante; muchas veces no es el único cuello de botella.

La compatibilidad de protocolos también importa

Kimi Code documenta endpoints compatibles con protocolos OpenAI y Anthropic e integración con herramientas como Claude Code, OpenCode, Codex y Hermes.

Para mí eso es estratégicamente interesante porque reduce el acoplamiento entre modelo y harness.

Si puedo probar K3 dentro de un flujo que ya uso, la comparación se vuelve mucho más honesta. No estoy cambiando IDE, memoria, tools y modelo al mismo tiempo.

Cambio una variable.

Esa portabilidad es una característica de producto más importante de lo que parece.

Cómo evaluaría Kimi en un proyecto real

No empezaría por HumanEval ni por una demo de "construye una app completa".

Tomaría una muestra de tareas reales del repositorio:

Tipo de tareaQué medir
Bug pequeñotiempo hasta patch correcto
Refactorregresiones y consistencia
Feature multiarchivocompletitud de la implementación
Investigacióncalidad de la causa raíz
Testscobertura del comportamiento importante
Migraciónnúmero de intervenciones humanas

Después registraría algo así:

ts
type AgentRun = {
  taskId: string
  model: string
  contextTokens: number
  durationMs: number
  cost?: number
  attempts: number
  testsPassed: boolean
  humanEditsAfterAgent: number
  accepted: boolean
}

Sin telemetría, "este modelo parece mejor" es solo memoria selectiva.

Lo que K2.8 dice sobre la carrera actual

K2.8 Preview es interesante porque Moonshot destaca explícitamente la eficiencia de reasoning, no solo capacidad máxima.

Eso apunta a un cambio saludable: después de años preguntando "¿cuánto puede razonar el modelo?", empezamos a preguntar "¿cuánto razonamiento necesita realmente esta tarea?".

Tener niveles low, high y max convierte el esfuerzo de reasoning en un parámetro de ingeniería.

Puedo imaginar un routing como este:

ts
const effort = task.risk === 'high'
  ? 'max'
  : task.files <= 2
    ? 'low'
    : 'high'

No tiene que ser literalmente este código. La idea útil es que calidad, latencia y costo dejan de ser una sola configuración global.

Long context cambia el límite, no los fundamentos

Lo que más me gusta de Kimi K3 no es simplemente "ahora cabe 1M".

Es que un límite mayor permite construir agentes que no tengan que compactar todo constantemente.

Los fundamentos siguen siendo los mismos:

  • contexto relevante gana a contexto bruto;
  • tests ganan a confianza subjetiva;
  • herramientas ganan a memoria estática;
  • permiso explícito gana a autonomía irrestricta;
  • un diff verificable gana a un resumen convincente;
  • la arquitectura del harness gana a un benchmark aislado.

Un modelo con contexto enorme puede ser un gran motor.

Pero un motor no es un coche.

Referencias