token-optimization repositories
Trending repositories tagged token-optimization, ranked by trending score. Updated daily.
-
1
headroomlabs-ai/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.
GitHub · Python · 80,791 stars · 6,339 forks · +281 stars in 24 hours · Trending score 4.62
-
2
rtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
GitHub · Rust · 87,737 stars · 5,631 forks · +215 stars in 24 hours · Trending score 4.47
-
3
microsoft/TokenEconomizer
Experience-Driven Black-Box Cost Control for Coding Agents
GitHub · Python · 8,085 stars · 575 forks · +53 stars in 24 hours · Trending score 3.77
-
4
alexgreensh/token-optimizer
Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
GitHub · Python · 3,131 stars · 246 forks · +76 stars in 24 hours · Trending score 3.42
-
5
INK-Q/agy-fast
Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.
GitHub · TypeScript · 1,256 stars · 74 forks · +412 stars in 24 hours · Trending score 2.85
-
6
JayPokale/Chisle
Cut your AI coding agent's token bill on three axes: terse prose, YAGNI-first code, and tool-output compression. Claude Code, Pi, Cursor, Codex, Gemini + 4 more. Zero deps, published benchmarks including the runs it loses.
GitHub · JavaScript · 1,267 stars · 80 forks · +13 stars in 24 hours · Trending score 2.74
-
7
snchimata/tokenfold
Private, provider-neutral context compression for LLMs. Reversibly compress schemas and logs inside your perimeter with zero third-party calls.
GitHub · Rust · 454 stars · 31 forks · +14 stars in 24 hours · Trending score 2.69
-
8
AxiomCodeAI/axiomcodegraph
Turn any codebase into a knowledge graph grounded in formal methods. Your AI agents get exact answers for any code-related task, ensure correctness, and optimize time and token usage.
GitHub · TypeScript · 794 stars · 99 forks · +6 stars in 24 hours · Trending score 2.41
-
9
jgravelle/jcodemunch-mcp
Symbol-level code retrieval for AI agents: fetch the function you need, not the whole file. Runs locally. 96.2% fewer tokens per lookup on average than grep-and-read on our 15-lookup benchmark. Works with Claude Code, Cursor, Codex and any MCP client. Free for non-commercial use; commercial use needs a one-time license.
GitHub · Python · 2,871 stars · 377 forks · +12 stars in 24 hours · Trending score 2.06
-
10
zou172866/Antigravity-agy-dart
Google Antigravity plugin that improves cache hits, keeps cache warm automatically, protects context quota, shows live context usage, rescues crashed sessions, and saves tokens.
GitHub · JavaScript · 144 stars · 6 forks · +55 stars in 24 hours · Trending score 1.96
-
11
HoangP8/tokless
An effective and efficient coding-agent setup in under 30 seconds: best tools, unified instructions, any OS.
GitHub · Go · 398 stars · 40 forks · +8 stars in 24 hours · Trending score 1.74
-
12
nadimtuhin/claude-token-optimizer
Cut the tokens Claude Code loads at session start. CLI that sets up a small CLAUDE.md with on-demand docs, measures startup tokens, and keeps them small.
GitHub · JavaScript · 669 stars · 91 forks · +7 stars in 24 hours · Trending score 1.70
-
13
agentic-os-org/ANOLISA
ANOLISA (Agentic Nexus Operating Layer & Interface System Architecture) | Agentic OS with runtime, security, observability, and Tokenless response compression for lower token usage and cost.
GitHub · Rust · 691 stars · 205 forks · +3 stars in 24 hours · Trending score 1.68
-
14
localixai/tokendoctor
tokendoctor: the same Claude Code for up to 38% less. Replays your own past sessions to show what each change would have saved, then changes only what you pick
GitHub · TypeScript · 177 stars · 12 forks · +2 stars in 24 hours · Trending score 1.64
-
15
HKUDS/TokenWise
TokenWise: Self-Evolving Context with Up to 50% Token Savings
GitHub · TypeScript · 2,291 stars · 273 forks · +1 stars in 24 hours · Trending score 1.53
-
16
jaynlabs/jaynshare
Share your claude/codex subscriptions ! multi-account router
GitHub · Rust · 49 stars · 6 forks · +3 stars in 24 hours · Trending score 1.52
-
17
hunhee98/pluck
MCP-native code retrieval for AI agents — 84-88% fewer read tokens, BM25F + semantic search, AST chunks, session dedup
GitHub · Rust · 43 stars · 1 forks · +6 stars in 24 hours · Trending score 1.47
-
18
borhen68/TokenTamer
A drop-in proxy that compresses bloated code context in real-time, cutting LLM API costs by 50–80% without losing what the model actually needs to know.
GitHub · Python · 129 stars · 22 forks · +6 stars in 24 hours · Trending score 1.42
-
19
daoif/tokless
npx tokless install — Zero-dependency AST code skeleton, blind-read guard & token bill auditor for AI coding agents (Antigravity, Claude Code, Codex & more)
GitHub · JavaScript · 55 stars · 4 forks · +16 stars in 24 hours · Trending score 1.41
-
20
archid21/rightsize
Make every Claude token count. rightsize picks the right model and effort for each prompt, while keeping cache and context costs low. It learns how you work and gets better over time.
GitHub · TypeScript · 50 stars · 14 forks · +2 stars in 24 hours · Trending score 1.38
-
21
redhat-et/ripwire
The ripgrep of AI context: a zero-dependency C++23 CLI + MCP server for coding agents. Cut agent token costs by finding code without reading the repo, then keep large codebases off the complexity wall: blast radius, tests to run, quality deltas as you write. Every guess labelled, every loss published. Paddle out with a map.
GitHub · C++ · 2,563 stars · 180 forks · +2 stars in 24 hours · Trending score 1.36
-
22
mpecan/tokf
Config-driven CLI tool that compresses command output before it reaches an LLM context
GitHub · Rust · 200 stars · 17 forks · +5 stars in 24 hours · Trending score 1.26
-
23
alexgreensh/outsourcerer
Make your AI agents work as a team. You keep working in 1 session while it orchestrates models via your other subscriptions, local models and more. Run a Software Factory: long plans, proven steps, safe merges. Carries your setup, tracks every cost.
GitHub · Shell · 205 stars · 18 forks · +4 stars in 24 hours · Trending score 1.24
-
24
gglucass/headroom-desktop
Menu bar app for macOS, Windows and Linux that cuts Claude Code and ChatGPT Codex token costs by ~50%
GitHub · Rust · 654 stars · 71 forks · +3 stars in 24 hours · Trending score 1.23