一款名为 pxpipe 的基础设施 hack 工具,通过将代码透明地转为图像、利用前沿模型 OCR 能力,实现约 60% 的 Fable 成本削减。该思路并非全新:DeepSeek 曾于 2025 年底探索类似“光学上下文压缩”,但将其当作模型/架构问题。pxpipe 则以本地代理方式,利用现有模型读取图像的能力,虽更易用但对精确字符串、哈希、ID 等细节有损,被评价为“有趣但不够优雅”。
pxpipe is interesting because it turns dense text context into images to cut Claude Code costs.
But the idea is not entirely new: DeepSeek explored something very similar with "optical context compression" end of 2025 (if you remember); rendering text as images so models can process long context more efficiently.
DeepSeek treated it as a model/architecture problem.
pxpipe treats it as an infrastructure hack: a local proxy that exploits the fact that frontier models can already read images well enough.
That makes pxpipe less elegant, more lossy, and probably risky for exact strings, hashes, IDs, or code details.