billion-context 实测:把编码 Agent 历史压缩进小上下文窗口
📊 核心数据与事实(2026-11-12):
作者实测了 GitHub 上已有 5,427 星的开源本地代理 billion-context(bili),它让模型自行决定折叠哪些消息,把编码 Agent 的对话历史压缩后发给模型 API。
• 原文实测切片:To get folds within an afternoon's budget, I pinned the window to 40K tokens: { "port": 8787, "compress": { "modelContextLimit": 40000, "maxContextLimit": "60%", "nudgeGrowthTokens": 8000 } } ACP_AUTO_UPDATE=0 bili start curl -s I set ACP_AUTO_…
• 原文实测切片:~9,515 reclaimed Final request: 13,431 tokens via bili vs 38,816 uncompressed ( 2.9× smaller ) Peak prompt: 27,853 vs 38,816 Total input over the session: 663,321 vs 758,108 tokens ( 12.5% less ) Fixed overhead: the first request was 4,243…
• 原文实测切片:What it cost At Gemini 3.5 Flash-Lite list prices ($0.30/M input, $0.03/M cached, $2.50/M output): bili: 77% of input tokens were cache hits, about $0.067 for the session Uncompressed, assuming perfect prefix caching: about $0.039 (estimate)…
💡 对独立开发者的启发:
1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。
📅 日期:2026-11-12(北京时间)
📰 信息源出处:HackerNoon · Ishank Choudhary(hackernoon.com)
🔗 原文:https://hackernoon.com/billion-context-hands-on-compressing-coding-agent-history-to-fit-a-small-context-window?source=rss
📡 归档:https://billionare.me/items/lu8j4igwufk5mh9d00iugiy0f
社媒成稿工作台 · 一键复制
飞书同步推送 · 含数据/日期/出处/启发billion-context 实测:把编码 Agent 历史压缩进小上下文窗口 📊 核心数据与事实(2026-11-12): 作者实测了 GitHub 上已有 5,427 星的开源本地代理 billion-context(bili),它让模型自行决定折叠哪些消息,把编码 Agent 的对话历史压缩后发给模型 API。 • 原文实测切片:To get folds within an afternoon's budget, I pinned the window to 40K tokens: { "port": 8787, "compress": { "modelContextLimit": 40000, "maxContextLimit": "60%", "nudgeGrowthTokens": 8000 } } ACP_AUTO_UPDATE=0 bili start curl -s I set ACP_AUTO_… • 原文实测切片:~9,515 reclaimed Final request: 13,431 tokens via bili vs 38,816 uncompressed ( 2.9× smaller ) Peak prompt: 27,853 vs 38,816 Total input over the session: 663,321 vs 758,108 tokens ( 12.5% less ) Fixed overhead: the first request was 4,243… • 原文实测切片:What it cost At Gemini 3.5 Flash-Lite list prices ($0.30/M input, $0.03/M cached, $2.50/M output): bili: 77% of input tokens were cache hits, about $0.067 for the session Uncompressed, assuming perfect prefix caching: about $0.039 (estimate)… 💡 对独立开发者的启发: 1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。 2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。 3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。 📅 日期:2026-11-12(北京时间) 📰 信息源出处:HackerNoon · Ishank Choudhary(hackernoon.com) 🔗 原文:https://hackernoon.com/billion-context-hands-on-compressing-coding-agent-history-to-fit-a-small-context-window?source=rss 📡 归档:https://billionare.me/items/lu8j4igwufk5mh9d00iugiy0f