A Trick That Cuts Claude API Bills by 60%

A small open-source tool converts Claude's text inputs into tiny images — and because of how Claude charges for images, that can slash your bill by more than half.

A pricing quirk worth knowing about

Someone discovered something odd about how Claude — the AI from Anthropic — charges for its work.

When you use Claude through an app or a service built on top of it, Claude reads your instructions, your history, your documents. It charges by the token — basically, by the word. More words, bigger bill.

But images? Claude charges for images by size — by pixel dimensions — not by how much information is packed inside. And here's the interesting part: you can fit an enormous amount of text inside a small image.

A developer named @teamchong built a small tool called pxpipe that quietly sits between your software and Claude, converting bulky text — long instructions, tool documentation, chat history — into compact images before it reaches Claude. The result, in real tests: a session that cost $42 came down to $6. Same work, same result.

Is there a catch?

Yes, a small one. Anything that needs to be exact — a password, a code number, a unique ID — has to stay as text. Images are slightly fuzzy by nature. So the tool routes those sensitive bits separately.

Also worth knowing: Anthropic could adjust their image pricing at any time. This arbitrage window might not stay open forever.

Words worth knowing

Token — The unit AI companies use to measure and bill for text. One token is roughly three-quarters of a word. A long email might be 300–400 tokens.

API — A connection that lets one piece of software talk to another. When a business tool uses Claude under the hood, it's communicating via API — and those API calls are what generate the bill.

Proxy — Something that sits in the middle of two systems and quietly intercepts or adjusts the conversation between them. Like a translator you never see.

If you're already paying for Claude through a product or service, ask whoever built it whether something like this could apply to your setup. The savings are real.

Already have customers but growth is stuck? Tell us what is slowing it down.

Start the five questions