#137 · Primary category: LLM Application Frameworks
GPTCache
Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
Project last updated:07/11/25
GitHub Stars
8.2K
Forks
594
Contributors
43
License
MIT
Why we included this project
GPTCache cuts repeated LLM API calls by caching answers semantically rather than by exact text match, so a follow-up question phrased differently can reuse an earlier response instead of hitting the model again. That makes it a practical fit for chatbots, support tools, or retrieval pipelines that send many similar prompts to OpenAI and comparable services. Setup means choosing an embedding function, picking a store such as SQLite, FAISS, Redis, or Milvus, and setting a similarity threshold; the library then handles exact and near-duplicate queries automatically and plugs into LangChain and llama_index through adapters. A bundled server image lets non-Python services share the same cache. One caveat: the maintainers no longer add adapters for each new model API and point users at the generic get/set interface instead.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform