R_REDDYX.XYZ

Token Optimization: open-source projects on GitHub

33 repositories on Token Optimization, picked by the REDDYX AI agent. Each has a summary, key features and a breakdown. Sorted by stars.

// RELATED TOPICS

Claude Code 1595LLM 2094Developer Tools 620MCP 1601Cursor 358Codex 849Anthropic 452AI Agents 1319Claude 978Context Engineering 84Context Window 16Openai 690Prompt Engineering 175MCP Server 631
headroomlabs-ai/headroom

LLM Input Compression

Compresses tool outputs, logs, files, and RAG chunks before sending to the LLM, cutting token usage by 60‑95% without loss of quality.

★ 79,744 · Python
rtk-ai/rtk

RTK: CLI proxy

RTK — CLI proxy reducing LLM token consumption by 60‑90 % on typical dev commands. One Rust binary with no dependencies.

★ 46,230 · Rust
diegosouzapw/OmniRoute

OmniRoute: AI Gateway

Free AI gateway with a single endpoint and support for over 160 providers. Delivers up to 95% context compression, auto-fallback, and multimodal APIs for desktop and PWA.

★ 4,367 · TypeScript
chopratejas/headroom

headroom — compression for LLM

Compresses tool outputs, logs, files, and RAG chunks before sending to the LLM, cutting tokens by 60–95% while preserving answer quality. Library, proxy, and MCP server.

★ 1,828 · Python
yvgude/lean-ctx

Lean-ctx: OS Context for AI

Reduce token usage in Cursor, Claude Code, Copilot and other AI tools by 60–95% (up to 99% with caching). One Rust program with 49 tools, 10 read modes, and 90+ patterns.

★ 1,667 · Rust
cytostack/openwolf

Middleware OpenWolf

More precise context and lower token consumption as open middleware for Claude Code.

★ 1,606 · TypeScript
Paritok-official/paritok-4b-v1

PARITOK-4B: REDUCING TOKEN USAGE 90%

Lossless code compression gateway cuts AI agents' token usage by 25% per turn and up to 90%+ in long sessions. Open 4B model, ready to use with Claude Code, Cursor, Codex

★ 1,446 · Python
JayPokale/Chisle

REDUCE AI TOKEN COSTS

Chisle cuts AI-agent token usage: terse prose, YAGNI-first code, and tool-output compression. Works with Claude Code, Pi, Cursor, Codex, Gemini and four more, zero deps,

★ 1,072 · JavaScript
lucasrosati/claude-code-memory-setup

MEMORY CLAUDE CODE IN OBSIDIAN

The project reduces tokens in Claude Code session by 71,5× via Obsidian + Graphify. It provides persistent memory, knowledge graphs of the codebase and chat import. Inter

★ 1,067 · Python
alexgreensh/token-optimizer

Token Optimizer

Identifies and removes redundant tokens. Improves context quality during compression and prevents data degradation.

★ 1,034 · Python
chipfighter/context-attachment-manager

CONTEXT MANAGEMENT FOR CLAUDE!

The plugin for Claude Desktop and Codex allows you to select still which past images to send with the next message. Unmarked images still become placeholders, the conver

★ 803 · TypeScript
ojuschugh1/sqz

SQZ: COMPRESSION FOR AI AGENTS

SQZ compresses tool output before it reaches the LLM, replacing repeated fragments with short 13‑token references. Works with Claude Code, Cursor, Codex, Kiro, Zed and an

★ 677 · Rust
AxiomCodeAI/axiomcodegraph

KNOWLEDGE GRAPH FOR AI AGENTS

Project turns codebase into knowledge graph grounded in formal methods. AI agents get exact code answers, ensuring correctness and saving tokens.

★ 675 · TypeScript
Tura-AI/tura

ACCELERATING CODE REFACTORING

Tura reduces the number of code rewrite steps by 83.1% and increases DeepSWE pass rate by 16.7 percentage points compared to Codex CLI.

★ 667 · Rust
nadimtuhin/claude-token-optimizer

DUMPED TOKENS IN THE TRASH 🚀

Ready setup for Claude Code that cuts documentation costs by 90% in 5 minutes. Any project, one script — ⭐ 471 stars, JavaScript.

★ 656 · JavaScript
gglucass/headroom-desktop

DOUBLE CLOUD CODE

headroom-desktop written in Rust lets you double the usage limits of Claude Code and Codex. More agents, fewer restrictions.

★ 646 · Rust
ooples/token-optimizer-mcp

TOKEN OPTIMIZER: -95% TOKENS

Reduces token usage in Claude Code by 95%+ through caching, compression, and smart tool selection.

★ 582 · TypeScript
ratel-ai/ratel

RATEL SMART MEMORY FOR AGENTS

Ratel is a Rust framework for AI‑agent context engineering: it cuts token usage by ~80% and provides in‑process BM25 plus semantic search without a vector DB.

★ 563 · Rust
zdk/lowfat

LOWFAT - TRIMS COMMAND NOISE

Rust utility that removes noise from command output and saves tokens. Ideal for AI agents and developers.

★ 478 · Rust
activeing123/mcptoon

MCPTOON: SAVES 99% OF MCP TOKENS

Standard MCP discovery burns 71,929 tokens. mcptoon drops it to 581 — 99.2% savings. Zero dependencies.

★ 431 · HTML
juyterman1000/entroly

ENTROLY - 80% SAVINGS ON AI

Entroly compresses AI context, detects hallucinations, and saves up to 80% on API costs for OpenAI, Anthropic, and Gemini.

★ 402 · Python
HoangP8/tokless

Tokeless Fast Agent Coding

Set up a powerful AI coding agent in 30 seconds: best tools, unified guide, support for all OS.

★ 380 · Go
fajarhide/contexere

CONTEXERE: CONTEXT LAYER FOR AI

Contexere (formerly OMNI) — context layer for AI coding agents. Compresses context by removing noise and saving tokens without information loss. Written in Rust, works vi

★ 377 · Rust
Green-PT/honey-for-devs

HONEY: Fewer Tokens, More Results

Honey reduces AI agent token usage by 53% without quality loss, working with Claude Code, Cursor, Copilot and others.

★ 356 · JavaScript
Lap-Platform/LAP

LAP: Agent API Compass

LAP converts any API specifications into a compact agent‑native format, reducing size by 10× and providing ready‑to‑use skills for 1500+ APIs.

★ 349 · Python
edouard-claude/snip

SNIP - TOKEN SAVINGS UP TO 90%

Go-based CLI proxy that reduces LLM token usage by 60-90% with YAML filters for Claude Code, Cursor, Copilot, and Gemini.

★ 280 · Go
fkiene/llmtrim

LLMTRIM: LLM Request Compression

A local proxy that cuts tokens in LLM requests without altering responses, saving up to 31% of input and 74% of output tokens.

★ 274 · Rust
ZipengWu365/TOMC

TOMC: CONTEXT AND MEMORY FOR LLM

TOMC compresses CPU context and stores task memory for Codex, Claude Code, Cursor, and other MCP clients. Extends context window without quality loss. 204★ on GitHub.

★ 264 · Python
skibidiskib/ai-codex

SAVES 50K TOKENS VIA INDEX

Compact codebase index for AI assistants — saves 50K+ tokens per conversation. TypeScript.

★ 262 · TypeScript
blendbunjaku/optimaizr

SAVE TOKENS IN CLI

Local CLI optimaizr finds wasted tokens in Claude Code, Codex, opencode and your API calls. Analyzes spending and shows where money is lost. Supports TypeScript projects

★ 243 · TypeScript
KbWen/agentic-os

AGENTIC OS: MANAGING AI-AGENTS

Agentic OS - a framework for managing AI agents that runs them through a five-step workflow: plan, build, review, test and release. Each step is considered complete only

★ 236 · Python
QuesmaOrg/awesome-ai-tokenomics

LLM TOKENOMICS: TOOLS TO SAVE

Curated list on AI token economics: costs, waste, and how to cut bills. Tools, benchmarks, papers, and ready configs for LLMs and coding agents. 206 stars on GitHub.

★ 219 · Python
johunsang/semble_rs

SEMBLE: Code Search for AI Agents

Hybrid BM25 + semantic search with AST and dependency analysis. A replacement for grep/cat/read/ls for Claude Code, Cursor, Aider, and other AI agents.

★ 63 · Rust

New projects on this topic in Telegram

Telegram →
Token Optimization — 33 open-source GitHub projects | REDDYX AI