zilliztech/GPTCache
Semantic cache for LLMs. Fully integrated with LangChain and llama_index. observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 31
- Release rhythm 8
- Longevity 89
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1258
- days_rel: n/a
- days_push: 418
- n_releases_24m: 0
Adoption not part of the score
8172 stars · 593 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
GPTCache is a Python library for building a semantic cache that stores and retrieves LLM responses based on embedding similarity, reducing API costs and latency. It integrates with LangChain and llama_index and offers a Docker server usable from any language.
Use cases
- cache LLM API responses to cut costs
- speed up chatbot responses with semantic caching
- reduce duplicate OpenAI API calls
- add a memcache layer for AIGC applications
- integrate semantic caching into LangChain pipelines
When to choose
- your LLM app has high traffic with repeated or similar queries
- you want to lower OpenAI/LLM API bills and latency
- you use LangChain or llama_index and want drop-in caching
When to avoid
- you need support for brand-new LLM APIs (no longer added)
- you need a stable, unchanging API (it may change)
- your queries are mostly unique with little semantic overlap
Facets
library · maturity maintenance
caching llm-inference rag search-engine large-language-models artificial-intelligence chatbots databases python self-hosted semantic-cache llm-cost-reduction vector-search langchain llama-index openai milvus redis docker
3 sources
- readme: https://github.com/zilliztech/GPTCache · fetched 2026-08-28 · 4922c5959e3d
- homepage: https://gptcache.readthedocs.io · fetched 2026-08-29 · 3b0ab85fe282
- registry_pypi: https://pypi.org/pypi/gptcache/json · fetched 2026-08-29 · ff6496245ea8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zilliztech/GPTCache | main | 35 |
For agents
markdown · JSON · MCP: product_card(name="zilliztech/GPTCache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem