- opencode: add repeatable --extra-model flag for custom wrap-time models (66e0086)
- savings: book modelled output savings per request, as a token and dollar range (00436a8)
- shaper: let an extension replace a level's steering text; default to L3 (a3afd43)
- telemetry: split beacon sessions by harness, model and day (ac932eb)
- tray: opt-in system tray icon with savings counter, dashboard and update alert (e9301f3)
- benchmarks: drop the duplicate protect_recent=0 table from the proof harness (a385ea8)
Headroom by Headroom Labs
Compresses tool outputs, logs, files, RAG chunks and conversation history before they reach the model, so agents use fewer tokens. Runs locally as a library, a proxy, an agent wrapper or an MCP server; originals stay cached and can be retrieved on demand.
Use it in: API / SDK CLI MCP server Works with: MCP Multi-agent
On this page
Usage data: latest readings Nov 21 to Nov 23, 2026, last checked Nov 23, 06:26 UTC. Date of each number
What Headroom does
Headroom is a context compression library and proxy from Headroom Labs, first released in January 2026. You use it through a Python library, a TypeScript library, a command-line tool, a Local proxy and MCP server. Its documentation covers subagents or parallel agents. It can run models from Anthropic, OpenAI, Amazon Bedrock, Google, xAI and any OpenAI-compatible endpoint. It is used from Python and TypeScript. It is free and open source (Apache-2.0); you pay only for the models it calls.
Key facts
| Maker | Headroom Labs |
|---|---|
| Type | Context compression library and proxy |
| First released | January 2026 |
| License | Apache-2.0 |
| Interfaces | Python library, TypeScript library, CLI, Local proxy, MCP server |
| Works with | Wraps Claude Code, Codex, Cursor, Copilot, Aider, OpenCode, Cline and other agents; works with Anthropic, OpenAI, Bedrock and other providers |
| Main language | Python |
| Open issues and PRs | 339 |
Pricing
Free and open source (Apache-2.0). Compression runs on your machine.
Vendor claim: Vendor says about 20% fewer tokens for coding agents and 60-95% fewer for repetitive JSON, with the same answers (GitHub README); its own benchmarks show 21-57% across four agent scenarios.
Source: official pricing page, checked Oct 9, 2026. Prices change often; confirm before you buy.
Quick answers
- Free to start?Yes
- Open source?Yes (Apache-2.0)
- Where you use itPython library, TypeScript library, CLI, Local proxy, MCP server
- Model providersanthropic, openai, amazon, google, xai, any OpenAI-compatible
- Subagents / multi-agent?Yes
- Feature comparisonAll agents
- Closest alternativeLiteLLM · all alternatives
What's new in Headroom: November 2026 so far
November brought MCP server updates, improved memory handling, and new proxy capabilities including shadow mode and cost tracking. The release also added system tray integration with savings visibility and expanded model routing options.
- MCP servers ported to SDK 2.x for compatibility with latest libraries.
- New shadow mode for model router allows logging-only evaluation without routing live requests.
- System tray icon added with savings counter, dashboard access, and update alerts.
- Per-request cost tracking exposed in proxy stats and lossless compression mode added.
4 releases this month · summarised from the official release notes · all months
AgentGid articles about Headroom
How to Cut Token Usage in Claude Code and Cursor (2026)
Practical ways to spend fewer tokens with Claude Code and Cursor: measure first, keep context small, match the model to the task, filter what the agent reads, and the open-source tools that help.
20 Claude Code Plugins 'Anthropic Just Dropped': Not From Anthropic
A viral post says Anthropic dropped 20 Claude Code plugins worth $29,077. We checked all 20 GitHub repos: community projects, none in Anthropic's directory, the price tag is the post’s own arithmetic, one is not open source, and the stars mostly hold.
Get started with Headroom
| npm | npm install headroom-ai |
|---|---|
| PyPI | pip install headroom-ai |
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
Headroom works with
Claude Code OpenAI Codex GitHub Copilot CLI Cursor CLI Cursor Aider OpenCode Cline Goose OpenHands Mistral Vibe Oh My Pi ZCode Agent frameworks and SDKs
Headroom alternatives
Best Headroom alternatives compared · All agent tooling for cost, context and memory
| # | Agent | Gid Score | Downloads 7d | 7d | 30d | Stars | Latest release | Price | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
LiteLLMBerriAI |
72 | 25.9M | up 9.3% | up 3.5% | 63.7K+65/day | 1.108.152d ago | Free (OSS) | |||
| 2 |
LangfuseLangfuse |
69 | 14.9M | up 1.2% | up 25.2% | 37.7K+40/day | 4.83.04d ago | Free + $29/mo | |||
| 3 |
FirecrawlFirecrawl |
64 | 3.2M | up 7.1% | up 14.5% | 207K+754/day | 2.11.05mo ago | Free + $19/mo | |||
| 4 | 63 | 6.2M | up 5.4% | up 42.9% | 15K+13/day | 2.24.010d ago | Free + $150/mo | ||||
| 5 |
ComposioComposio |
57 | 2.5M | up 3.7% | up 34.8% | 31.2K+24/day | 0.6.33d ago | Free + $29/mo | |||
| 6 |
GraphifyGraphify Labs |
55 | 567K | up 4.2% | up 23.8% | 152K+528/day | 0.9.1152d ago | Free + $15/mo | |||
Head to head: Headroom vs E2B · Headroom vs Firecrawl · Headroom vs Langfuse · Headroom vs LiteLLM
Tools used with Headroom
What 147 public GitHub projects that depend on Headroom use with it, from their dependency files.
- TypeScript38.8%
- React32.0%
- Tailwind CSS27.2%
- ESLint26.5%
- Vite20.4%
- Vitest17.0%
- Lucide React16.3%
- python-dotenv15.6%
- Next.js15.0%
- Playwright (JavaScript)15.0%
Used far more often here than in AI-built projects overall: what sets Headroom projects apart.
- openpyxl6.1% · 4.5×
- Anthropic Python SDK8.2% · 4.4×
- psutil7.5% · 4.0×
- aiohttp6.1% · 3.1×
- axe-core Playwright5.4% · 3.1×
- Beautiful Soup6.1% · 2.9×
- LangChain5.4% · 2.7×
- websockets5.4% · 2.7×
Ratings from people who use Headroom
No ratings yet. Used Headroom? Rate it and say what it is good and bad at.
Headroom news
-
Headroom 0.45.0 released
opencode: add repeatable --extra-model flag for custom wrap-time models (66e0086); savings: book modelled output savings per request, as a token and dollar range (00436a8); shaper: let an extension replace a level's steering text; default to L3 (a3afd43)
-
Headroom passes 80K GitHub stars
-
Headroom 0.44.0 released
packaging: keep PyTorch extras out of all; pipeline: say whose request an OutcomeSnapshot is (a2bcbd1); providers: add Hermes agent wrap support (7877241)
What changed: recent Headroom releases
11 stable releases in the last 90 days · Monthly summary · Full changelog
- packaging: keep PyTorch extras out of all
- pipeline: say whose request an OutcomeSnapshot is (a2bcbd1)
- providers: add Hermes agent wrap support (7877241)
- proxy/model-router: add shadow mode (HEADROOM_MODEL_ROUTER_LOG_ONLY) (861ef95)
- proxy: add lossless /v1/compress mode and detect provider by wire shape (33f067a)
- proxy: expose per-request cost_usd in /stats recent_requests (84cedbf)
Earlier releases
- ccr: keep the in-memory order queue from evicting re-stored entries (c6f5bf9)
- memory: read the relation key the memory_save schema advertises (7592e68)
- memory: replace the HNSW vector when a memory is re-indexed (ee638f9)
- openclaw: accept 12-character hashes in headroom_retrieve (8d3e9e5)
- ort: avoid implicit runtime discovery from the workspace (69fbd23)
- proxy: bound the model-keyed tokenizer, beacon and litellm caches (e51b806)
- mcp: port MCP servers to SDK 2.x
- ccr: answer headroom_retrieve on streaming chat completions (31dcaf4)
- mcp: port MCP servers to SDK 2.x (ee2252a)
- plugins: headroom skill for Claude Code, Codex, Copilot and skills.sh (66e1467)
- savings: show the proxy's model-routing savings in headroom savings (aaab338)
- [BUG] A timeout in one image compression call resets the shared worker pool and affects concurrent requests (e9bcfe7)
- pipeline: put per-request saved tokens on OutcomeSnapshot (8cedf7b)
- proxy: let turn hooks rewrite OpenAI Responses requests on HTTP and WebSocket (fbf7bc3)
- proxy: report the same tool savings on gateway /v1/compress as the proxy path (a904210)
- savings: add the per-request counterfactual savings record (2912b7b)
- batch: preserve live contexts during capacity cleanup (2cbdd22)
- batch: preserve native Gemini continuation tools (8757458)
- antigravity: add native Google Antigravity IDE integration (cd4367b)
- opencode: support the OpenCode 2.x plugin API (1d4b357)
- plugins: add headroom-snip Claude Code mod that animates compression (17abee2)
- proxy: native spend/savings stats + dashboard for the Rust proxy (70b21c1)
- router: add max_output_tokens condition to ModelRoute (01185e3)
- savings: per-agent attribution in history checkpoints and rollups (489de46)
Headroom prices over time
Headroom popularity and usage data
Headroom was downloaded 117K times from npm and PyPI in the week ending Nov 21, 2026, down 7.4% on the week before and down 6.3% over the last 30 days compared with the 30 before. The GitHub repository has 80.6K stars, 3,168 of them added in the last 30 days. The latest stable release is 0.45.0, published Nov 22, 2026; there were 5 stable releases in the past 30 days.
Download the raw daily series: headroom.csv
Gid Score breakdown
Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.
How fresh these numbers are
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 21, 2026 | Nov 23, 06:24 UTC |
| GitHub stars | Nov 23, 2026 | Nov 23, 06:26 UTC |
We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.
Headroom FAQ
How much does Headroom cost?
Free and open source (Apache-2.0). Compression runs on your machine.
Is Headroom open source?
Yes. Headroom is open source, released under the Apache-2.0 license.
How popular is Headroom?
Headroom was downloaded 117K times from npm and PyPI in the week ending Nov 21, 2026, down 7.4% on the week before and down 6.3% over the last 30 days compared with the 30 before. The GitHub repository has 80.6K stars, 3,168 of them added in the last 30 days. The latest stable release is 0.45.0, published Nov 22, 2026; there were 5 stable releases in the past 30 days.
What is the latest version of Headroom?
The latest stable release we track is 0.45.0, published on Nov 22, 2026.
What are the alternatives to Headroom?
The closest alternatives in the same category by Gid Score are LiteLLM, Langfuse, Firecrawl, E2B.
For the makers of Headroom badges, corrections
Add a live badge to your README or site:
[](https://agentgid.com/agents/headroom/)
[](https://agentgid.com/agents/headroom/)
[](https://agentgid.com/agents/headroom/)
Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.
Where these numbers come from
npm: headroom-ai. PyPI: headroom-ai. GitHub: headroomlabs-ai/headroom. See data sources for how each one is collected.
Product facts and pricing were checked against: github.com, headroomlabs.ai, docs.headroomlabs.ai.