ForkFree

Developer tools

billion-context

by ranxianglei

A proxy that sits between an AI coding agent and its model API and compresses the conversation into layered summaries. It keeps long sessions inside a small context window and cuts the number of tokens you pay for.

Worth a lookEstablished, with a few things to check (listed below).

View on GitHub

Stars
3k
Licence
MIT
Runs on
Your computer
Setup
Moderate
Language
TypeScript
Age
82 days

What you can do with it

  • Run a single AI coding session for days without hitting the context limit
  • Cut token costs by having old conversation folded into summaries
  • Restore compressed sections or search them when exact details are needed again

Ways a business could use it

  • Lower API spend for a freelancer or small team that uses AI coding agents all day
  • Keep long-running automated coding or maintenance sessions going on cheaper models with smaller context windows

Can you use it commercially?

Free to use, change and sell (MIT-style terms in the licence file). Some folders may carry other terms.

Not legal advice. Read the project's licence file before building a product on it.

Getting it running

Install globally with npm (npm install -g billion-context --prefix=~/.local), then point your agent's base URL at the proxy or use a launcher such as bili pi.

Follow the official instructions in the project README.

Things to check

  • Licence is unclear (not asserted), so check before commercial use
  • Needs your own paid model API keys from Anthropic, OpenAI or a compatible provider
  • Routes all your prompts and code through a local proxy, so review what it sends and stores
  • Compression quality depends on the model deciding what to summarise, so details could be lost
  • Documentation is partly in Chinese

Who's talking about it

Checked 27 Oct 2026. Summary drafted by AI from the project's README.

More in Developer tools

gpu-unlock Zagitta
Check the licence

This tool unlocks the FP/BF16 instruction issue rate on Nvidia 3000-series cards, doubling the speed of certain operations.

10.4k stars +1058 a day Unclear
graphify Graphify-Labs
Worth a look

Graphify turns a codebase, along with its documents, PDFs, SQL schemas and configuration files, into a graph of connected concepts that you can search and question. It works as a /graphify command inside AI coding assistants such as Claude Code, Cursor, Codex and Gemini CLI, so they can look things up in the graph instead of reading every file.

136.4k stars +430 a day Apache-2.0
archify tt-a1i
Worth a look

Archify is a skill you add to an AI coding agent such as Claude Code, Codex, Cursor or OpenCode. It turns a description, plan or code repository into an interactive HTML diagram or one-page explainer that you can explore and share.

90.1k stars +339 a day Apache-2.0