An open-source tool called pxpipe turns long text prompts into PNG images, exploiting pricing differences where some AI systems charge image inputs by pixel size rather than by the amount of embedded text. Developer Steven Chong says the approach can reduce Claude Code and Fable 5 prompt costs by roughly 59% to 70%.
The trick is not free performance. The Decoder notes trade-offs in accuracy and speed, which means pxpipe is better understood as a cost experiment than a universal optimization. It is also a reminder that multimodal pricing can create unexpected incentives for developers.
For AI coding tools, where long repository context can become expensive quickly, even imperfect compression methods are likely to attract attention from cost-sensitive teams.