Home› AI and software› Inference and Retrieval› KV cache Entry · updated 30 Nov 2026
Entry

KV cache

Stored attention data that spares a language model redoing past work per word.

Potential61 of 100
Readiness88 of 100
Job
Cheaper long-context ai inference
Position
Won
Checked on
25 Nov 2026

Language model servingRoutine

On by default in every major serving engine.

What it is

A language model writes one token, a word or part of one, at a time, looking back at every earlier one. Without a cache it recomputes that past work at each step. With one, it stores two vectors per token per layer, the keys and values, and only computes the new token's share (Hugging Face). The trade is memory: the cache grows with every token and every user, and at long context it can outweigh the model itself unverified.

So the work now is managing the cache. PagedAttention stores it in small pages, which cut waste enough to raise throughput two to four times (arXiv, Sep 2023). Nvidia's Dynamo routes requests to chips that already hold the right cache and moves cache to cheaper storage (Nvidia).

The number: 5.2 times faster generation with the cache than without, in one test on a small GPU (Hugging Face).

Cost
No public price; it is free inside open-source serving engines.
What counts
the cache and the methods that store, share, shrink and move it. Model designs that need no growing cache are state space models.

The read

Good potential, high readiness: a standard part of every language model service that makes generation several times cheaper. The open question is memory, as context grows.

The catchMemory. Long contexts and many users can fill a GPU's memory with cache before compute runs out; wasted cache memory limits batch size and throughput (arXiv).

How it scores

Potential61

Impact 3

If it works fully, who would notice?

Generating text costs a fraction of what recomputing would.

Replaced by the next best option, recomputation, generation would run several times slower (Hugging Face). Every language model service would cost more. Close to 4, but this is one industry's cost.

Judgement

Novelty 4

Would a buyer switch for it, all else equal?

About five times faster than recomputing, in the one test found.

It is the standard, so the step is over recomputation it displaced: 5.2 times (Hugging Face). State space models claim five times a Transformer's throughput (arXiv), but leading models still use attention unverified. Close to 1 if that changes.

Judgement

Readiness88

Viability 5

Does it do the job it is sold for?

Routine in every major open serving engine.

vLLM, SGLang and TensorRT-LLM all manage a cache, and Dynamo routes across them (Nvidia).

Independent

Drivers 3

Who is pulling, and how hard?

Used in all paid language model serving; no buyer pays for it alone.

It comes free inside serving software. Demand for the services built on it is large, but no source shows buyers committing ahead for the cache itself.

Judgement

Ease of adoption 5

Given that it works, how much must the adopter change?

A straight swap: on by default.

Serving engines turn it on without the user asking unverified.

Judgement

Supply 5

Could a buyer get it if one country or one firm said no?

Open methods in open-source software.

PagedAttention and vLLM are published and open (arXiv).

Independent

The brakeSupplyGPU memory, a shared input, limits how much cache fits.

What changed

  1. 12 Jun 2017 Transformer models appear Where it began Context arXiv
  2. 12 Sep 2023 PagedAttention and vLLM raise throughput two to four times Cache management becomes the lever Viability up to 5 arXiv
  3. 1 Dec 2023 Mamba claims five times a Transformer's throughput with no growing cache A rival route Novelty holds at 4 arXiv
  4. 7 May 2024 DeepSeek-V2 shrinks its cache 93.3% with a new attention design Smaller caches stretch memory Context arXiv
  5. 2025 Nvidia's Dynamo adds cache-aware routing and offload to cheaper storage The chip maker builds around it Drivers holds at 3 Nvidia

Who captures the value

Nobody sells the cache. Its value lands with the firms that serve models, as lower cost per token, and with memory makers, since bigger caches need more memory. Judgement.

What would change this

  • Any dateA leading model drops attention for a design with no growing cache. Novelty to 1; position to standard under challenge.
  • 2027Cache offload to flash storage becomes standard. Brake eases.

Prediction85%

The top three models on a public leaderboard still use attention with a KV cache on 31 December 2027.

Against the alternatives

Way of doing itWhat it gives youWhat it costs youWhere it is now
KV cache with paging, sharing and offload (this page)Several times faster generationMemory that grows with context and usersRoutine
Recompute attention at each stepNo cache memoryAbout five times slower in one test (Hugging Face)Abandoned
Compressed attention, such as DeepSeek's latent attention93.3% smaller cache (arXiv)A model trained for itIn paid use unverified
State space modelsFixed memory, linear in length (arXiv)Weaker recall of exact earlier text unverifiedIn paid use unverified

Who is involved

Choices a buyer has
4Open serving engines: vLLM, SGLang, TensorRT-LLM, Dynamo.
Funded challengers
None confirmed; state space models' gain is the maker's claim.
Name (country, listing)RoleMoneyStage
vLLM project (open source)makes paged cache servingnot disclosedRoutine (arXiv)
Nvidia (US, Nasdaq)makes Dynamo and TensorRT-LLMpart of NvidiaRoutine (Nvidia)
SGLang project (open source)makes a serving enginenot disclosedRoutine
DeepSeek (China, private)shrinks the cache in its modelspart of DeepSeekIn use (arXiv)

Checked on25 Nov 2026

Facts that move

  • Whether leading new models still use attention; look again Jun 2027.
How the two numbers are worked out

Each of six scores runs from 1 to 5. Potential asks how much it would change if it works and how much better it is than what buyers have now; readiness asks how close it is to wide use.

  • Potential = (0.545 × impact + 0.455 × novelty − 1) × 25
  • Readiness = (average of viability, drivers, ease of adoption and supply − 1) × 25

Both run from 0 to 100. A fact moves one score only. Evidence tags say whether a score rests on an independent source, the maker's own claim, or judgement.