billion-context is an HTTP proxy that provides intelligent context compression for AI coding agents by allowing the model to decide when and what to compress.
Follow billion-context to get an email when its listing changes, such as new pricing or features. One digest a day at most, and you can unsubscribe anytime.
It uses layered, reversible summarization to enable marathon sessions that handle billions of tokens while keeping context usage efficient.
- 01
Incremental and reversible context compression
- 02
Model-directed summarization via injected tools
- 03
Prefix-cache friendly architecture
- 04
Built-in search functionality for compressed history
- 05
Multi-tier summary distillation
Open Source
Open-source project available on GitHub and npm.
Best for
Long-running, high-volume AI coding sessions where preserving context over days or months is required.
Not ideal for
Short-lived interactions or environments where you cannot easily modify proxy settings or install plugins.
A highly effective, well-argued solution for context bloat that outperforms naive truncation; however, users should be cautious of its rapid development pace and should consider pinning versions in production.
Version 0.1.210 released October 31, 2026, including various bug fixes, storage memory governance improvements, and refinements to the compression/folding logic.
As of
Is billion-context free?+
Yes - billion-context is Open Source. Open-source project available on GitHub and npm.
Is billion-context open source?+
Yes - billion-context is open source. Open-source project available on GitHub and npm.
Who is billion-context best for?+
Long-running, high-volume AI coding sessions where preserving context over days or months is required.
Who is billion-context not ideal for?+
Short-lived interactions or environments where you cannot easily modify proxy settings or install plugins.
What are the best billion-context alternatives?+
The closest billion-context alternatives on ai.dosa.dev are Pieces for Developers, agenttrace, Vibe Kanban - all listed under Developer Productivity & Workflow.
Who makes billion-context?+
billion-context is developed by ranxianglei. It is listed in the Developer Productivity & Workflow category on ai.dosa.dev.
Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.