GPTCache
Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
GPTCache is an open-source project in the AI category written in Python, released under the MIT license. It has 8,235 GitHub stars and its last commit was 2 months ago.
About GPTCache
GPTCache is a semantic cache designed specifically for large language models (LLMs). It is fully integrated with LangChain and llama_index, providing efficient storage and retrieval of precomputed embeddings and related data. By caching semantic information, GPTCache accelerates inference tasks for LLMs, reducing latency and improving overall performance. Its seamless integration with LangChain and llama_index ensures compatibility and ease of use within existing workflows. With GPTCache, developers can leverage the power of semantic caching to enhance the efficiency and effectiveness of their language model applications.
GitHub activity
- Stars
- 8,235
- Forks
- 606
- Open issues
- 77
- Last commit
- 2 months ago
- Latest release
- 0.1.44 · 2 years ago
- Created
- 2023
#chatbot#chatgpt#chatgpt-api#llm#milvus#similarity-search#vector-search#aigc#openai#memcache#gpt#langchain
GPTCache at a glance
- Source code
- zilliztech/GPTCache
- Open source
- Yes
- License
- MIT
- Language
- Python
- Pricing
- Free
GPTCache vs similar projects
| Project | Stars | License | Language | Last commit | Health |
|---|---|---|---|---|---|
| GPTCacheSemantic cache for LLMs. Fully integrated with LangChain and llama_index. | 8.2k GitHub stars | MIT | Python | 2 months ago | Healthy |
| Open WebUISelf-hosted AI interface for local and cloud language models with RAG and tool support. | 159k GitHub stars | Other | Svelte | today | Thriving |
| Lobe ChatAn open-source high-performance chatbot framework that supports speech synthesis / multimodal and extensible F | 86k GitHub stars | Other | TypeScript | today | Thriving |
| unslothLocal UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, G | 80k GitHub stars | Apache-2.0 | Python | today | Thriving |
| AnythingLLMOpen-source local-first AI workspace for LLMs, RAG, agents and document-aware chat. | 69k GitHub stars | MIT | JavaScript | today | Thriving |
| JanOpen-source desktop AI assistant for running language models locally. | 46k GitHub stars | Other | Rust | 2 days ago | Thriving |
| Onyx Community EditionChat UI that works with any LLM. It comes loaded with advanced features like agents, web search, RAG, MCP, dee | 34k GitHub stars | Other | Python | today | Thriving |
GPTCache FAQ
What is GPTCache?
Semantic cache for LLMs. Fully integrated with LangChain and llama_index. GPTCache is a semantic cache designed specifically for large language models (LLMs). It is fully integrated with LangChain and llama_index, providing efficient storage and retrieval of precomputed embeddings and related data. By caching semantic information, GPTCache accelerates inference tasks for
Is GPTCache open source?
Yes. GPTCache's source code is public on GitHub (zilliztech/GPTCache) under the MIT license.
Is GPTCache still maintained?
GPTCache's last commit was on 2026-09-22 (2 months ago), latest release 0.1.44 on 2024-08-01. Health score: 77/100.
Is GPTCache free?
GPTCache is free to use and can be self-hosted; some projects also sell an optional hosted plan.
What are the best alternatives to GPTCache?
Similar projects include Open WebUI (★ 159k), Lobe Chat (★ 86k), unsloth (★ 80k), AnythingLLM (★ 69k), Jan (★ 46k).
Maintain GPTCache? Add the badge to your README
Shows your project's health score and links back to this page.
[](https://osssoftware.org/tools/gptcache/)