sodiumsun/snackcache
Drop-in caching proxy for OpenAI and Anthropic APIs - stop paying for the same answer twice!
This tool acts as an intermediary for your OpenAI and Anthropic API calls, helping you reduce costs and speed up responses. It takes your requests, checks if a similar one has been made before, and if so, provides the stored answer instead of calling the external API again. This is for developers building applications that use large language models and want to optimize their API spending and performance.
Use this if you are a developer using OpenAI or Anthropic APIs and want to save money and reduce latency by caching responses to similar queries.
Not ideal if your application generates completely unique prompts for every API call, as caching would provide minimal benefits.
Stars
43
Forks
1
Language
Python
License
MIT
Category
Last pushed
Jan 08, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/sodiumsun/snackcache"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
KoushikNavuluri/Claude-API
This project provides an unofficial API for Claude AI, allowing users to access and interact...
jwadow/kiro-gateway
Proxy API gateway for Kiro IDE & CLI (Amazon Q Developer / AWS CodeWhisperer). Use free Claude...
liushuangls/go-anthropic
Anthropic Claude API wrapper for Go
yiyao-ai/proxypool-hub
Multi-protocol AI proxy server for Claude Code, Codex CLI, Gemini CLI & OpenClaw. Account...
AbdelStark/anthropic-rs
Anthropic Rust SDK 🦀 with async support.