rotative
the decoder · 2026年7月4日

通过将文本视为图像,Claude Code 成本降低 70%

開發者 steven chong 發布了開源工具 pxpipe,利用 anthropic 的圖片計價模式將文本壓縮為 png,使 claude code 的成本降低了 70%,衝擊了現有的 token 經濟學。

read in English · 繁體中文 · 日本語 · 한국어

developer steven chong released pxpipe, an open-source proxy that intercepts requests to claude code and compresses static context like system prompts and tool documentation into dense pngs. this method exploits anthropic's fixed pricing for image tokens versus character-based text tokens, allowing users to pack approximately 3.1 characters per token and achieve average savings of 59 to 70%. in one documented fable 5 demo, session costs dropped from $42.21 to $6.06, though the method introduces latency and risks garbling exact strings like hashes. the tool defaults to claude fable 5 due to its superior ocr accuracy compared to opus 4.7 or gpt 5.5, signaling potential pressure on ai labs to restructure vision pricing tiers if such usage becomes widespread.

read at source ↗

← rotative