ranxianglei/billion-context
A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件,月级长会话会话, 兼顾小窗口(100k上下文足矣)省token(省5倍token) . billion-context is all you need
Star count as of 14:26 (BKK).
ranxianglei/billion-context has 3.2k stars and gained +1.2k of them in the last 7 days, a 65% change. It is written in TypeScript, grouped under ai-infra, released under NOASSERTION. A merged pull request waits a median of 6h from opening to merge, measured on 400 pull requests. Last pushed on 28 Oct 2026.
Star history
Loading star history…
Growth
| Period | Stars gained | Growth | From | Measured |
|---|---|---|---|---|
| Last 6 hours | +39 | 1.2% | 3.1k at 08:49 | Intraday snapshots, measured 14:26 |
| Last 12 hours | — | — | — | Not measured |
| Today | +12 | 0.4% | 3.1k on 27 Oct 2026 | Daily snapshots |
| Last 7 days | +1.2k | 64.8% | 1.9k on 18 Oct 2026 | Weekly history |
| Last 30 days | +2.8k | 836.1% | 335 on 27 Sep 2026 | Weekly history |
| Last year | — | — | — | Not measured |
A period with no current measurement is left blank: a delta needs a measurement at both ends of the period. The 6- and 12-hour periods need two intraday measurements exactly that far apart, the day-and-longer periods need snapshots on both dates, and the last year also needs star history from a year ago, which we keep for one year.
Embed this badge
Copy either snippet into the repository's README. The badge shows total stars and the gain over the last 7d (the same window as the one below) and is hotlinked directly, with no account or token.
[](https://bestofgit-blue.vercel.app/projects/ranxianglei/billion-context)
<a href="https://bestofgit-blue.vercel.app/projects/ranxianglei/billion-context">
<img src="https://bestofgit-blue.vercel.app/badge/ranxianglei/billion-context.svg?window=7d"
alt="Star and growth badge for ranxianglei/billion-context on BestOfGit" />
</a>