MiniCache Boosts LLM Inference Efficiency with Program Caching

Jingquan Chen, Jinghua Piao, Jie Feng, Shaogang Hu, Yong Li· July 24, 2026 View original

Summary

MiniCache is a reusable program caching framework that transforms Program-of-Thought (PoT) programs into parameterized cache objects for efficient LLM inference. It uses a small model for semantic variable extraction and speculative drafting, significantly reducing expensive target-LLM invocations while maintaining task quality.

Large Language Models are increasingly integral to applications like program-aided reasoning, agentic decision-making, and structured task execution. However, the high inference costs associated with these applications pose a significant challenge to their widespread and economical deployment. To address this, researchers have developed MiniCache, a novel reusable program caching framework. MiniCache works by converting Program-of-Thought (PoT) programs into parameterized cache objects, enabling the reuse of computations across requests that are structurally similar. This approach significantly optimizes LLM inference by reducing the need for repeated, costly invocations of the large target LLM. The framework leverages a smaller, more efficient model for two key functions: semantic variable extraction on cache-hit requests and speculative drafting during the target-LLM's generation process. This dual-role for the small model allows MiniCache to preserve task quality while achieving substantial cost reductions. Experiments on various shopping-style request datasets, including WebShop, Formula, and CodeTAT-QA, demonstrate that MiniCache improves the trade-off between inference latency, cache reuse, and accuracy, achieving up to 3.1x lower latency and 2.8x higher throughput under parallel serving. These results highlight the effectiveness of small models as lightweight interface models that facilitate reliable and efficient reusable program caching, rather than as direct replacements for larger models.

Why it matters

For professionals deploying LLM-powered applications, MiniCache offers a practical solution to drastically reduce inference costs and latency, making these applications more scalable and economically viable without sacrificing performance.

How to implement this in your domain

  1. 1Analyze current LLM inference costs and identify opportunities for caching.
  2. 2Explore integrating MiniCache's program caching framework into existing LLM deployment pipelines.
  3. 3Design and implement Program-of-Thought (PoT) programs that are amenable to caching.
  4. 4Benchmark the latency and throughput improvements of MiniCache on specific use cases.
  5. 5Train engineering teams on optimizing LLM inference through caching and small model interfaces.

Who benefits

E-commerceSoftware DevelopmentCustomer ServiceAI/ML PlatformsFinTech

Key takeaways

  • LLM inference costs are high, especially for program-aided reasoning and agentic tasks.
  • MiniCache reduces inference costs and latency by caching Program-of-Thought programs.
  • It uses a small model for semantic extraction and speculative drafting, preserving quality.
  • Experiments show significant improvements in latency and throughput.

Original post by Jingquan Chen, Jinghua Piao, Jie Feng, Shaogang Hu, Yong Li

"arXiv:2607.20507v1 Announce Type: new Abstract: Large language models (LLMs) are increasingly used for program-aided reasoning, agentic decision making, and structured task execution, but these applications often incur high inference cost. We present MiniCache, a reusable program…"

View on X

Originally posted by Jingquan Chen, Jinghua Piao, Jie Feng, Shaogang Hu, Yong Li on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses