
A new open-source tool called pxpipe converts text into compressed images to exploit how AI models are priced, cutting token costs by 59–70 percent for Claude Code and GPT users. The technique works because images are charged at a fixed rate per pixel rather than per character, allowing dense content to be packed far more cheaply. The tradeoff is that image-based text can be slightly garbled and processing is slower, though Fable 5 achieves 100 percent accuracy on math problems while other models like GPT 5.5 struggle more with image context.
Summaries like this, in your inbox every morning.
Sign up free →What happened
Developer Steven Chong released pxpipe, an open-source proxy that converts long text inputs—system prompts, code, chat history—into compressed PNG images before sending them to Claude Code and other AI models. The trick exploits Anthropic's pricing: text costs roughly one token per character, but images cost a fixed number of tokens regardless of content density, allowing about 3.1 characters per image token. In one Fable 5 demo, session costs fell from $42.21 to $6.06.
Why it matters
For businesses and developers using Claude Code or GPT 5.6 at scale, token costs directly affect operational spending. This technique could reduce invoices by 59 to 70 percent on many workflows. However, the approach is lossy—exact strings like hashes can become garbled when read from images, and processing is slower because the model must run images through a vision encoder instead of reading text directly. Fable 5 hits 100 percent accuracy on math benchmarks, but Opus 4.7 and 4.8 misread about 7 percent of rendered images, and GPT 5.5 also performs worse with image context.
What to watch
pxpipe supports Claude Fable 5 and GPT 5.6 by default; Opus 4.7, 4.8, and GPT 5.5 can be enabled manually. If this technique catches on widely, AI companies may respond by raising image processing prices. The approach is not new—Deepseek built a similar OCR system that compresses text documents by up to a factor of ten while retaining 97 percent of information.
No comments yet. Be the first to share your thoughts!
Log in to join the discussion




Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.
Get Started FreeFree · takes 30 seconds · unsubscribe anytime
1 minute a day. The AI essentials.
200+ sources · Email / LINE / Slack