Claude Code model router
Autocache
Autocache - Intelligent Anthropic API Cache Proxy Automatically inject cache-control fields into Claude API requests to reduce costs by up to 90% and latency by up to 85%. Works as a transparent drop-in replacement for popular AI platforms like n8n, Flowise, Make.com, LangChain, and LlamaIndex—no code changes required
Install
git clone https://github.com/montevive/autocache.gitFrom the README
Autocache Intelligent Anthropic API Cache Proxy with ROI Analytics Autocache is a smart proxy server that automatically injects cache-control fields into Anthropic Claude API requests, reducing costs by up to 90% and latency by up to 85% while providing detailed ROI analytics via response headers. Motivation Modern AI agent platforms like n8n, Flowise, Make.com, and even popular frameworks like LangChain and LlamaIndex don't support Anthropic's prompt caching—despite users building increasingly complex agents with: - 📝 Large system prompts (1,000-5,000+ tokens) - 🛠️ 10+ tool definitions (5,000-15,000+ tokens) - 🔄 Repeated agent interactions (same context, different queries) The Problem When you build a complex agent in n8n with a detailed system prompt and multiple tools, every API call sends the full context again—costing 10x more than necessary. For example: - Without caching: 15,000 token agent → $0.045 per request - With caching: Same agent → $0.0045 per request after first call (90% savings) Real User Pain Points The AI community has been requesting this feature: - 🔗 n8n GitHub Issue #13231 - "Anthropic model not caching system prompt" - 🔗 Flowise Issue #4289 - "Support for Anthropic Prompt Caching" - 🔗 n8n Community Request - Multiple requests for caching support - 🔗 LangChain Issue #26701 - Implementation difficulties The Solution Autocache works as a transparent proxy that automatically analyzes your requests and injects cache-control headers at optimal breakpoints—no code changes required. Just point your existing n8n/Flowise/Make.com workflows to Autocache instead of directly to Anthropic's API. Result: Same agents, 90% lower costs, 85% lower latency—automatically. Alternatives & Comparison Several tools offer prompt caching support,…
Details
- Repository
- montevive/autocache
- Website
- montevive.ai
- Language
- Go
- License
- MIT
- Last updated
- 2 February 2026
- Topics
- agentagentic-aiaicacheclaudeflowisen8nprompt-cachingproxy
FAQ
What is Autocache?
Autocache - Intelligent Anthropic API Cache Proxy Automatically inject cache-control fields into Claude API requests to reduce costs by up to 90% and latency by up to 85%. Works as a transparent drop-in replacement for popular AI platforms like n8n, Flowise, Make.com, LangChain, and LlamaIndex—no code changes required It is a model router for Claude Code, from montevive/autocache on GitHub.
How do I install Autocache?
Clone montevive/autocache from GitHub and follow the setup steps in its README.
Is Autocache popular?
montevive/autocache has 178 GitHub stars and 28 forks. It was last updated on 2 February 2026.
More model routers & proxies
claude-code-mux
5179j/claude-code-mux
Rust routing proxy for Claude Code with automatic failover and priority-based routing.
Llm Router
120ypollak2/llm-router
Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.
Claude Nvidia Proxy
196zhangrr/claude-nvidia-proxy
an Nvidia proxy for claude code
Grokbuild Proxy
159GreyGunG/grokbuild-proxy
本地自托管的 Grok Build → Claude Code / OpenAI 兼容代理 | Local self-hosted Grok Build compatibility proxy
Agentpool
201phil65/agentpool
A unified agent orchestration hub that lets you configure and manage multiple AI agents (native, ACP, AGUI, Claude Code) via YAML, and exposes them through standardized protocols (ACP/OpenCode Server).
CLI Proxy
162guojinpeng/cli_proxy
本地 claude code 和 codex 代理工具
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.