← Market Pulse · Nov 13
pxpipe: turns text context into images to save Claude Code tokensGitHub · created May 2026 · original page ↗
Stars / day ×243 → 75

Turning prompts into images saves money, and a July old bill goes viral again

What it isLocal proxy: renders the prompt Claude Code resends every turn as an image, so you pay for fewer input tokens

Why it grewX poster @bebuu_ai posted a retelling of "$42→$6" on Nov 12, about 54K views

What to takeBoil the result down to one screenshot-ready before/after number ($42→$6), and others will keep reposting it for you

Who built itSolo developer teamchong, in CanadaHow it makes moneyFree and open source (MIT), no path to chargingStaying powerA pulse: it retells an old July number, and the product has no new breakthrough
README first screen: the gray "snowflake" below is what the model actually reads — about 48,000 characters of system prompt and tool docs laid out as one image

Positioning and edge

Who it's forDevelopers who use Claude Code heavily and find the bill too highThe job it doesCuts the cost of context resent every turn by more than half, with no change to your workflowWhat people did beforeCaching and /compact, a slimmer CLAUDE.md, or switching to a cheaper modelThe wedgeImages are billed by pixel: the same text photographed into an image costs about 9x fewer tokens

How it differs from the rest

  1. Doesn't delete content, just moves it to a cheaper billing channelREADME measurement: 48,000 characters, about 25,000 tokens as text, about 2,700 as an image
  2. One command to hook it up, no config changespxpipe warp -- claude intercepts requests directly; login and remote control still work as usual
  3. Puts its own weak spots front and center in the README"The honest part": Opus 5.5 reads hex in images correctly only 3/15
  4. Every request's savings are on the books locallyCompares against the official count_tokens text count line by line, written to a local log and dashboard

Who else is in the space

Similar productHow it differs from this one
rtkRust command-line proxy, about 86K GitHub starsrtk trims the text of command output; pxpipe doesn't trim, it turns it into images
cavemanA skill that makes the agent talk short, about 119K starscaveman saves on output; pxpipe saves on the input resent every turn
headroomCompresses tool output and logs, about 79K starsheadroom does text compression and works across models; pxpipe is picky about models
DeepSeek-OCRThe paper model for "optical context compression", 24K starsThat's a research model; pxpipe is a proxy you install and use

Can it hold?Can't defend it: MIT open source with a public principle, so it breaks as soon as a vendor changes image pricing or a new model can't read small text clearly

Last two weeks · Stars / day
11-0111-0411-0711-107511-13

How it happened

  1. The author says this is the starting point of a weekend experiment: having the model read context by "looking" ↗

  2. Repo created on GitHub; first published to npm on Jun 10 ↗

  3. Shipped v0.7.0 with a comparison demo; hit Hacker News the same day, 315 points, 99 comments ↗

    The author's A/B demo screen: the same Fable 5 session, left side run as-is at $42.21, right side through pxpipe at just a few dollars (the final figure in the README is $6.06)
    The Hacker News post on Jul 3: 315 points, and top comments already said it looks like a billing loophole that could get closed
  4. Tech outlets like The Decoder followed, with headlines mostly saying "saves 60–70%" ↗

  5. Author pinned an announcement: no time to handle issues and PRs, encourages others to carry on ↗

    The author's pinned announcement nine days after going viral: this is a weekend experiment, no time to maintain it, others welcome to carry on
  6. Stars reach 6,793 (web archive); growth slowed afterward, 7,552 on Oct 23 ↗

  7. Shipped v0.16.0, adding measured results for Fable 5.2 ↗

  8. @bebuu_ai retold "$42.21→$6.06" on X, about 750 likes, 54K views ↗

    Trigger: @bebuu_ai's post (UTC Nov 12, 07:35), with a repo screenshot marked up with a red box circling "$42.21→$6.06"
  9. Up 75 stars in a single day (previous 7-day average 3.1), total about 7,700 ↗

In detail

What using it looks like

One command, npx pxpipe-proxy, starts the proxy on your machine, then you launch Claude Code with pxpipe warp -- claude; nothing else to change. Before each request goes out, it lays the system prompt, tool docs and earlier conversation out as a PNG in 5×8-pixel tiny text; the most recent turns stay as text, and the model's replies are untouched. A local dashboard lists, request by request, how many tokens were saved and which text became which image, with a one-click off switch. It has a "worth it or not" gate: only dense content like code, JSON and logs gets turned into images, while ordinary prose, which would lose money if converted, passes through as-is.

Who buys it, who doubts it

What gets people to star it is that number: $42.21 versus $6.06 in the same session. On Hacker News in July, someone said "That is hilarious and an amazing find", and others pointed out right away that it is a "loophole in token accounting that might get closed". Under this X post, people who tried it were more down to earth: "could be useful for documents where the main gist is needed - but reports with exact figures etc, not really of use". The author doesn't dodge this; the README has a section called "The honest part": Opus 5.5 reads hex strings in images correctly only 3/15, and Sonnet 5.5 and Haiku 5.5 are not recommended.

How much to discount this round's number

The Nov 12 post says "a Fable 5.2 session dropped from $42 to $6", but that number comes from the old June Fable 5 version, and the control group was also padded with 39 filler files until the context was 96% full; Fable 5.2 only reached 11–13/15 after line spacing was increased. The post got about 54K views, which brought one day of 75 stars; the July wave was already near 6,800 stars by month's end. On the other hand: stars have been flat for over three months, and pxpipe-proxy on npm has still mostly been at 1,000–3,000 downloads a day over the past month (including mirrors and automated installs, so on the high side), so some people really do keep using it.

The money, and whether to follow

MIT open source, with no pricing, sponsorship or hosted version; the author said in July he has no time for issues and PRs, but he keeps updating it himself. Be careful building a paid product on this idea: how much you save depends on how vendors price images and whether new models can still read small text, and neither is in your hands. What's worth learning is the approach: one command to try it, a ledger of savings per request, and unsuitable models listed front and center. The need to "save people on their AI bills" is real (similar tools rtk and caveman are both above 80K stars), and the steadier angles don't depend on billing rules: cutting redundant output and routing tasks to cheaper models.

The "honest part" in the README: which models read it clearly, which only get the gist, which to avoid, with measured scores listed for each