Modern AI rebuilds its working state from scratch on every request and throws it all away.
Every time you open a new conversation with an AI assistant, something quietly expensive happens before you type a single word. The system loads its instructions, its context, its tools. When you close the tab, it forgets all of it. What looks like a seamless interaction is a system that rebuilds its working state from scratch on every request, discards it, and rebuilds it again. Engineers have a name for this: the cold-start tax.
The term comes from distributed systems, where spinning up a new server carries overhead unrelated to the actual work. Engineers there learned to keep servers warm, cache intermediate results, and build systems that accumulate state rather than discard it. The AI industry is now confronting the same lesson at a scale that makes the original problem look quaint. The question is not whether AI systems pay a cold-start tax. The question is whether the field is ready to treat accumulation, not generation, as the primary engineering discipline.
A transformer-based large language model is, by design, stateless. Each prompt arrives as an independent event. The model processes the input, generates a response, and ceases to exist from the system's perspective. Nothing persists. If you want the model to remember what you told it last Tuesday, you tell it again, word for word.
This is not a bug. Transformer inference splits into a prefill phase that ingests the entire input at once, and a decode phase that generates the response token by token. Attention computation in the prefill grows quadratically with input length, so every time you re-send a long system prompt or a block of retrieved documents, you pay full price for context the model has already processed many times before.
A developer once spent three hours working with a frontier model on a software architecture. Midway through, the conversation overflowed the context window and early instructions were silently dropped. The model began contradicting the design it had been given. Recovery required re-pasting thousands of tokens the system had already processed and discarded. The session cost roughly eight dollars, about three of which went toward re-processing information the model had already forgotten. You paid, got nothing durable, and paid again.
The cold-start tax would be annoying if it were small. It is not. A 2026 study found that retrieving a fact from an external knowledge store cost two tenths of a cent per query, regardless of corpus size. Holding the same information inside the context window cost fifty-seven cents per query and grew linearly as the knowledge base expanded. At seven thousand facts, the in-context approach cost approximately two hundred and fifty times more. At one hundred thousand facts, it became physically impossible. The facts exceeded every existing model's context window.
Larger context windows do not solve this; they relocate it. Every token in the context window is paid for on every request, contributes to quadratic attention cost, and disappears when the session ends. A bigger scratchpad is not a filing cabinet.
The International Energy Agency projected in 2025 that data center electricity consumption would more than double by 2030, with AI inference rather than training driving the dominant share. A 2026 analysis of production agent traffic found that nearly a fifth of all context tokens were structural waste: duplicated content, unused tool definitions, stale results from earlier steps. Eliminating that waste would be the difference, operationally, between building new data centers and not building them.
Computer science already solved the general version of this problem. The idea is consistent: do not recompute what you can reuse. Build systems that convert expensive computation into durable artifacts and retrieve them cheaply.
Git stores every file as an object named by the cryptographic hash of its contents. Two identical files share one stored object. Build systems like Bazel and Nix extend this to computation: outputs are pulled from cache when inputs have not changed, so one machine's work becomes every machine's reusable result. Databases apply the same principle through materialized views, precomputed query results updated incrementally, reprocessing only what changed.
AI systems are now importing these patterns. A technique called CacheBlend, recognized at a major European systems conference in 2025, reuses precomputed key-value caches for retrieved document chunks regardless of where those chunks appear in the prompt. Rather than reprocessing everything from scratch, it recomputes only the small fraction of tokens whose values have actually shifted, cutting the time to produce the first output token by a factor of two to three while matching the quality of a full recompute. The principle is identical to incremental view maintenance in a database: identify the delta, update only that, and never rescan what has not changed.
Caching has a ceiling. A cached tensor still occupies context space, incurs attention cost, and expires within minutes. For knowledge that must persist across sessions and model versions, caching is a faster lap on the treadmill, not an exit. The deeper fix requires systems where knowledge is not a token sequence at all, but a structured artifact that can be stored, indexed, and retrieved without re-entering the context.
This is the intuition behind neurosymbolic AI, which pairs neural networks with symbolic representations including logical rules, knowledge graphs, and declarative programs that are compact, reusable, and updateable without retraining the model. A rule is a compressed unit of accumulated knowledge. Once a system generalizes an observation into a rule, it no longer needs to re-process the examples that rule summarizes. The expensive work of generalization happens once; the cheap work of application happens indefinitely.
Scallop, developed at MIT, makes this concrete. It combines a Datalog-style declarative reasoning language with a differentiable neural learning loop, so that domain knowledge is expressed as logical rules the neural component refines. Those refined rules are written back into a symbolic store that any future query can consult directly. The system does not re-derive its knowledge on each pass; it maintains it, the same way a well-designed database does not recompute an aggregation every time someone asks for it, but reads from a structure that was built once and kept current.
The computational cost of stateless AI inference is visible in data center energy projections. The International Energy Agency estimates AI inference will drive the dominant share of data center electricity consumption growth through 2030, a trajectory that accumulative system design could materially alter.
The most promising architectural answer treats the large language model not as the system itself, but as a processor inside a larger memory hierarchy, the way a CPU relates to the cache and storage layers around it. The context window is not the agent's total addressable memory; it is the L1 cache, holding only what is needed right now. Beneath it sits a recall store of recent interactions. Beneath that, a long-term archival store, compressed and searchable. The agent manages what lives at which level, the same way an operating system manages what lives in RAM versus on disk.
This tiered design gives language model agents persistent memory that outlasts any single context window. The context limit stops being a wall; it becomes a cache size. Voyager, built by researchers at NVIDIA and Caltech, applied the same principle to skills: an agent composed and stored reusable code skills while exploring a game environment, then retrieved and composed them to solve new problems rather than re-deriving each solution from scratch. It acquired new capabilities up to fifteen times faster than prior systems and transferred its learned skills to entirely new environments.
The lesson is older than AI and older than computers. Any system that spends the same resources to produce the same result repeatedly, rather than storing and retrieving it, is running a treadmill. Software engineering learned this through build systems and version control. Database engineering learned it through caching and materialized views. AI is learning it now, under pressure from cost curves and energy projections that make the lesson impossible to ignore. The field that treats generation as the goal has built a powerful machine for running in place. The field that treats accumulation as the discipline will build something that actually goes somewhere.
Key references and sources: Knowledge object study on in-context vs. retrieval cost, arXiv, 2026. International Energy Agency, Energy and AI report, 2025. CacheBlend, Best Paper, ACM EuroSys, 2025. Scallop: A Language for Neurosymbolic Programming, MIT CSAIL. Voyager: An Open-Ended Embodied Agent with Large Language Models, NVIDIA and Caltech, NeurIPS 2023. MemGPT / Letta: Towards LLMs as Operating Systems, arXiv 2023. Anthropic prompt caching technical documentation, 2024. Production agent traffic analysis, arXiv, 2026.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.