# ModelCache

A LLM semantic caching system aiming to enhance user experience by reducing response time via cached query-result pairs.

Canonical page: https://www.reposhelf.co.uk/projects/github/codefuse-ai/modelcache.html

- Project ID: codefuse-ai/ModelCache
- Source: GitHub
- Original project: https://github.com/codefuse-ai/ModelCache
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Python
- Licence: No licence detected
- Repository availability checked: 2026-11-04T07:40:17.286Z
- Demo page loaded: 2026-11-12T13:19:33.825Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Codefuse-ModelCache is a semantic cache for large language models \(LLMs\). By caching pre-generated model results, it reduces response time for similar requests and improves user experience. This project aims to optimize services by introducing a caching mechanism. It helps businesses and research institutions reduce the cost of inference deployment, improve model performance and efficiency, and provide scalable services for large models. Through open-source, we aim to share and exchange technologies related to large model semantic cache.

- Embedding model\\&amp;inference
- In ModelCache, we incorporated the core principles of GPTCache. ModelCache has four modules: adapter, embedding, similarity, and datamanager.
- The adapter module orchestrates the business logic for various tasks, integrate the embedding, similarity, and datamanager modules.
- The embedding module converts text into semantic vector representations, and transforms user queries into vectors.
- The rank module ranks and evaluate the similarity of recalled vectors.

## Author-documented requirements and audience

> Codefuse-ModelCache is a semantic cache for large language models \(LLMs\). By caching pre-generated model results, it reduces response time for similar requests and improves user experience. This project aims to optimize services by introducing a caching mechanism. It helps businesses and research institutions reduce the cost of inference deployment, improve model performance and efficiency, and provide scalable services for large models. Through open-source, we aim to share and exchange technologies related to large model semantic cache.

> Codefuse-ModelCache is a semantic cache for large language models \(LLMs\). By caching pre-generated model results, it reduces response time for similar requests and improves user experience. This project aims to optimize services by introducing a caching mechanism. It helps businesses and research institutions reduce the cost of inference deployment, improve model performance…

- Paid service — Required: It helps businesses and research institutions reduce the cost of inference deployment, improve model performance and efficiency, and provide scalable services for large models.

Not recorded: Account, External API key, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/codefuse-ai/ModelCache/blob/main/README.md

Extraction checked: 2026-10-30T21:05:59.553Z

Last recorded source update: 2025-06-30T02:44:02.000Z

Saved release: release-v0.2.0 — 2024-05-15T03:30:16.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=codefuse-ai%2FModelCache). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
