精选理由
想省Claude Code的token费?试试pxpipe,把提示藏进PNG,据说能省70%,不过会慢点。
开源工具pxpipe通过将长文本提示转换为紧凑PNG图片,利用Anthropic按像素而非文本内容收费的定价策略来节省费用。开发者Steven Chong报告在Claude Code和Fable 5上实现了59%到70%的token成本降低。这种节省以牺牲准确性和速度为代价。该工具完全免费且开源。
AI 翻译 · 中文
开源工具pxpipe通过将长文本提示转换为紧凑PNG图片,利用Anthropic按像素而非文本内容收费的定价策略来节省费用。开发者Steven Chong报告在Claude Code和Fable 5上实现了59%到70%的token成本降低。这种节省以牺牲准确性和速度为代价。该工具完全免费且开源。
The open-source tool pxpipe converts long text prompts for Claude Code into compact PNGs, exploiting the fact that Anthropic charges for images by pixel size, not text content. Developer Steven Chong reports cost savings…