
pxpipe
Reduce token usage by converting text to images
Replaces Tokenade, The Token Company

Who it's for
Save costs on API usage by reducing token counts in requests.
Not using Claude Code.
Efficiently manage large datasets by converting outputs to images.
Working with small datasets.
The problem
The project helps solve the problem of high token usage in Claude Code by converting bulky text context into images, thus reducing costs.
How it works
Reduces token usage significantly by converting text to images.
Operates as a local proxy to handle requests efficiently.
Converts bulky text into compact PNG images for better processing.
Features
- Token Efficiency
- Local Proxy
- Image Rendering
How to install
npx pxpipe-proxy
Recommended for this setup
Strengths
- Cost Savings: Can lead to a ~59–70% reduction in end-to-end billing.
- High Efficiency: Handles dense content effectively, improving processing speed.
Trade-offs
- Lossy Compression: Exact values in dense imaged content may not be preserved.
- Limited to Dense Content: Best suited for token-dense content; may not save on sparse prose.
Tech stack
FAQ
End-to-end, the whole bill is considered.
It compresses large tool_result bodies, older collapsed history, and static cacheable system prompts.
Both sides of the same request are measured simultaneously.