A new open-source tool called pxpipe promises to sharply cut the cost of using AI coding assistants by exploiting a quirk in how Anthropic prices its models.
According to The Decoder, pxpipe takes long text prompts headed for Claude Code and Fable 5 and converts them into compact PNG images. The trick works because Anthropic bills images based on their pixel dimensions rather than on how much text they contain. By packing a wall of text into a small picture, the tool sidesteps the usual per-word token charges.
The developer behind the tool, Steven Chong, reports savings of 59 to 70 percent, The Decoder says. That is a meaningful discount for anyone running large or repeated prompts, where token costs add up quickly.
The savings are not free, however. The Decoder notes that the approach comes at the price of accuracy and speed. Squeezing text into an image and asking the model to read it back is inherently less reliable than feeding plain text, and the extra processing can slow things down.
The tool is a clever example of the cat-and-mouse dynamic emerging around AI pricing. As companies like Anthropic set rates based on how they measure usage, users and developers look for loopholes in that accounting. pxpipe is essentially arbitrage on the gap between how images and text are counted.
Why it matters: as businesses and developers lean harder on AI assistants, even small pricing quirks can translate into large bills, and tools like pxpipe show how quickly the community will move to game whatever metric a provider chooses to charge for.