AIToday
Large Language ModelsOpen-Source AIDaily Dose of Data SciencePublished: Oct 29, 2026, 10:01 JST

DeepSeek open-sources DeepInfer for 26x faster cache hits

Send on LINE
DeepSeek open-sources DeepInfer for 26x faster cache hits

3 Key Points

  1. What happened

    DeepSeek open-sourced DeepInfer, the inference stack behind cache hits that return a first token up to 26x faster. It relies on Multi-head Latent Attention (MLA), which cut the KV cache by 93.3% compared to DeepSeek's earlier 67B model.

  2. Why it matters

    That smaller cache made it feasible to store cached prefixes on low-cost disk rather than in GPU memory, so repeated prompts can skip recomputation and return a first token in 500ms instead of 13s for a 128K-token prompt that hit the cache.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

DeepSeek's move to open-source DeepInfer reveals how the company turned an architectural choice into a serving advantage. The V2 paper's Multi-head Latent Attention cut the KV cache by 93.3% compared to DeepSeek's earlier 67B model, shrinking the data that must be moved on every cache hit. That reduction is what made disk storage viable in the first place, since reading a full per-head KV cache from disk could take longer than recomputing it on the GPU.

The second ingredient is 3FS, DeepSeek's own distributed file system, which splits files into chunks across thousands of SSDs so a read pulls from many drives in parallel. When a request arrives, the system matches its prefix against cached blocks and fetches them into host memory, then copies them to the GPU layer by layer while the model is already running. Because every prefill machine can reach every cached prefix, a request does not have to return to the machine that served it last. Disk is also cheap, so cached prefixes can stay for days, which the DeepInfer docs put at 3 days for agent traffic and 7 days for chat.

The pricing effect is visible on deepseek-flash, where a cache hit costs 50x less than a miss today. For API users, that creates a practical incentive to order prompts so the stable parts, such as system prompts, tools, and documents, sit at the front, since only an exact match from the very first token counts as a hit.

FAQ
How much faster is a cache hit with DeepInfer?
A 128K-token prompt that hit the cache got its first token in 500ms instead of 13s when DeepSeek launched this in 2024.
What share of DeepSeek's production traffic is served from disk?
In one day of production traffic last year, 56% of all input tokens were served straight from disk.
How much cheaper is a cache hit on deepseek-flash?
On deepseek-flash today, a cache hit costs 50x less than a miss.
Daily Dose of Data ScienceRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleMahjong AI v3 hits 77.81% match with Transformer