Skip to content

Resources

A curated list. Every link was checked on 2026-11-03. Inclusion is not an endorsement: each project’s savings figures are its authors’ own claims, and we have not reproduced them. Benchmark on your own tasks and track a quality metric next to cost (see Agent Tokenomics).

ResourceWhy
microsoft/TokenEconomizerExperience-driven cost control for coding agents: micro-skills, tool pruning, loop guard. Paper: arXiv:2610.22732, project page.
Optimize AI credit usage in VS CodeOfficial practical guide.
Diagnose prompt caching with the Cache ExplorerOfficial: find the first prefix divergence between requests.
Azure OpenAI prompt cachingMinimum length, cached_tokens, prompt_cache_key, retention, billing and data-residency rules for Azure OpenAI.
OpenAI prompt cachingCacheable prefix rules, settings that invalidate the cache, diagnostics.
Usage-based billing for individualsHow AI credits are charged.
github/awesome-copilotCommunity instructions, agents, and skills for Copilot.
pleasedodisturb/awesome-llm-token-optimizationAnother curated list of strategies, tools, and papers.
ProjectWhat it does
rtk-ai/rtkCLI proxy that condenses output of common dev commands before the model sees it.
headroomlabs-ai/headroomCompresses tool outputs, logs, files, and RAG chunks before they reach the LLM.
gglucass/headroom-desktopDesktop app wrapper around the same idea for coding agents.
Dave-London/PareStructured, token-efficient MCP servers for git, test runners, npm, Docker.
claw-compactorMulti-stage, reversible compression pipeline with code-aware analysis.
optscale-kompressorDeterministic prompt compression for coding agents in one Rust binary.
fkiene/llmtrimLocal proxy that trims prompts, history, and tool output in API requests.
Paritok-official/paritok-4b-v1Non-destructive compression gateway for coding agents.
ProjectWhat it does
microsoft/LLMLinguaPrompt compression research (LLMLingua, LLMLingua-2). Paper: arXiv:2310.05736.
jia-gao/leanctxDrop-in prompt compression SDK for production apps (LLMLingua-2 based).
3DAgentWorld/Toolkit-for-Prompt-CompressionToolkit collecting prompt-compression methods.
ZongqianLi/Prompt-Compression-SurveySurvey of prompt-compression methods (NAACL 2025).
sriinnu/clipforge-PAKTLossless-first compression for JSON, YAML, CSV, Markdown.
ISON-format/isonToken-efficient JSON alternative for LLM data.
ProjectWhat it does
JuliusBrussee/cavemanSkill/proxy that makes agents answer tersely.
danielle34/cavewomanEvaluation framework measuring what input vs output compression actually saves.
YangJunMan/claude-code-token-savings-benchmarkReproducible benchmark comparing several token-saving tools.
ProjectWhat it does
dotnetpower/code-context (Marketplace · Track A guide)VS Code native Language Model Tools + shared local Rust trigram index (cctx) with <8 KiB inline-budgeted reads, BPE-formula instructions, 15.20× faster warm retrieval, and live status-bar/cctx usage AIC/USD savings telemetry.
Graphify-Labs/graphifyTurns a folder (code, docs, PDFs, images) into a queryable knowledge graph.
jgravelle/jcodemunch-mcpSymbol-level retrieval: fetch the function you need, not the whole file.
redhat-et/ripwireCLI + MCP server to find relevant code without reading the repo.
yamadashy/repomixPacks a repository into one AI-friendly file (use selectively; big packs cost tokens).
radimsem/remindbPortable agent memory in a SQLite file.
cytostack/openwolfProject memory across agents, with token accounting from transcripts.
fajarhide/contexereOne place for skills, keys, and memory across agents.
ProjectWhat it does
tokprof (this repository)Breaks each call’s input tokens down by system prompt, history, user prompt, and tool content without code changes; early development.
alexgreensh/token-optimizerFinds “ghost tokens” and context-quality decay in agent sessions.
activeing123/mcptoonMCP gateway CLI aimed at tool discovery and context compression.
ccusage/ccusageUsage and cost reports from local Claude Code logs.
Maciek-roboblog/Claude-Code-Usage-MonitorReal-time usage monitor with predictions.
junhoyeo/tokscaleToken usage across several AI coding agents from the terminal.

Observability and gateways (for agents you operate)

Section titled “Observability and gateways (for agents you operate)”
ProjectWhat it does
langfuse/langfuseOpen-source tracing, evals, and cost tracking for LLM apps.
Arize-ai/phoenixAI observability and evaluation on OpenTelemetry (docs).
Helicone/heliconeLLM observability platform and OpenAI-compatible gateway (docs).
LangSmithLangChain’s hosted tracing and evaluation platform with token and cost breakdowns (SDKs: Python, JS).
Portkey-AI/gatewayAI gateway with guardrails; Portkey’s platform adds monitoring (docs).
openlit/openlitOpenTelemetry-based tracing and evaluation for agents.
AgentOps-AI/agentopsAgent monitoring and LLM cost tracking SDK.
BerriAI/litellmGateway with cost tracking and routing across 100+ providers.
maximhq/bifrostLLM / MCP / agent gateway with failover.

These map to stage 1 (Diagnose), which compares Phoenix, Langfuse, LangSmith, Helicone, and Portkey. They give you the per-request log that the example script consumes.

Context engineering and spec-driven workflows

Section titled “Context engineering and spec-driven workflows”
ProjectWhat it does
github/spec-kitToolkit for spec-driven development: plan first, then implement.
Fission-AI/OpenSpecSpec-driven development for AI coding assistants.
shanraisshan/claude-code-best-practicePractices for agentic engineering with Claude Code.
microsoft/vscode-copilot-chatSource of the VS Code Copilot Chat extension.

The full ranked list (by venue tier, then citations) is on the Papers page. Highlights:

PaperTakeaway
Evaluating AGENTS.md (arXiv:2602.11988)Context files did not generally improve task success and raised cost by over 20% on average; useful for non-standard practices.
Lost in the Middle (arXiv:2307.03172)Models use information in the middle of long contexts less reliably than at the start or end.
TokenEconomizer (arXiv:2610.22732)18.4–30.9% lower mean cost on SWE-Bench across 5 agent–model combinations, as reported.
LLMLingua (arXiv:2310.05736)Prompt compression with small language models.
tiktokenTokenizer used by our token counter.

Open an issue or PR with the link, a one-line description in your own words, and how you verified it exists.