10 open-source repos to slash your AI agent's token bill, from LiteLLM to GPTCache
victor_explore · x · 2026-11-30
A curated GitHub list of 10 open-source repos that route requests to cheaper models, cache repeat answers, and track token spend for AI agent builders:
- Ollama (189k★): local models, no token bill
- LiteLLM (66k★): one gateway for 100+ LLM APIs, per-key spend limits
- Claude Code Router (38k★): route each coding-agent request to the model you pick
- Langfuse (35k★): tokens and cost on every step
- Repomix (29k★): send code structure, not every line
- ccusage (15k★): what Claude Code and Codex cost you
- CodeBurn (11k★): cost by task, finds wasted tokens
- Bifrost (9k★): gateway with semantic caching
- GPTCache (8k★): semantic cache, claims 10x cost cut
- Semantic Router (6k★): picks the model per call
More from coding & agent
- How Much Agent Swarm Hype Is Just Distributed Systems Rediscovered? — edgarpavlovsky · 2026-11-30
- Know PyTorch vs. Know What PyTorch Does: A 5-Step Learning Path — cneuralnetwork · 2026-11-30
- PAL adds E2EE multi-machine remote memory for Claude Code with BYO S3 — rchardkovacs · 2026-11-30
- Reddit asks: did anyone keep autoresearch agent loops in daily workflows? — Jumpy-Cobbler1020 · 2026-11-30
- Dev ports 4 Obsidian plugins to Antigravity native plugins, all open-sourced on GitHub — vista8 · 2026-11-30
- Tactile sensing remains fragmented across 18 sensors; year-long push for a ROS 2 standards working group finds no takers — kscottz · 2026-11-30