pxpipe-proxy weekly downloads statistics
By teamchong · npm · Claude Code
Token-saving proxy for Claude Code: renders bulky context (system prompt, tool docs, old history) as dense PNGs to cut input tokens. Runs on Node and Cloudflare Workers.
pxpipe-proxy has 7,402 recorded weekly downloads on npm, a decrease of 48.8% over the past 30 days, ranking #1393 of 3,247 tracked listings.
About pxpipe-proxy
pxpipe
Cut coding-agent input tokens by rendering bulky context as images — the same system prompt, tool docs, and history, in a fraction of the tokens.
An image's token cost is fixed by its pixel dimensions, not by how much text
is inside it. Dense content (code, JSON, tool output) packs ~3.1 chars per
image-token vs ~1 char per text-token on real Claude Code traffic. The
reader is the same vision channel that Anthropic's computer use already
relies on for screenshots. pxpipe is a local proxy that uses that channel
for context: it rewrites the bulky parts of each request into compact PNGs
before it leaves your machine. On the original June 2026 claude-fable-5
runs, that landed as a ~59–70% lower end-to-end bill (10/10 SWE-bench Lite,
14/19 SWE-bench Pro, 13/15 dense hex). Since then, Gemini 4 (gemini-4-argon)
reached 15/15 on pure-image dense hex (with no factsheet in the benchmark), while later
Claude releases (claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5) regressed sharply
on dense pixel reading (0/15–3/15 hex; claude-fable-5-1 and claude-fable-5-2 recover to
11/15–14/15 with +2px row spacing; see
The honest part). Durable token savings are measured
per-request against a free count_tokens counterfactual in
~/.pxpipe/events.jsonl.
This is what the model sees instead of text:

~48k chars of system prompt + tool docs: ≈25k tokens as text, ≈2.7k image
tokens as this page. Real pipeline output; Gemini 4 Argon (15/15 pure-image hex, 100/100
pure-image arithmetic), Gemini 3.6–3.8 Flash (14/15 hex), and original
Fable 5 (13/15 hex) read renders like this at full fidelity, whereas later
Claude 5.5 releases do not and Fable 5.1/5.2 need +2px row spacing (see model tiers).
![chart: characters a frontier context window holds, 2018–2026 — vendor text series including Grok 4.5; orange measured overlays are Fable 5 [1m] + pxpipe ~19.0M (4.8×) and Gemini 3.6 Flash + pxpipe ~21.3M (5.3×)](docs/assets/context-window-chars.png)
Eight years of context growth, in characters. Every text line tops out near
~4M chars (a 1M-token window at ~4 chars/token); Grok 4.5 is shown as a
text-window point only (500K). The orange overlays are the same 1M
windows read through pxpipe images — ~19.0M chars for Fable 5 (4.8×) and ~21.3M chars for Gemini 3.6 Flash (5.3× text capacity). Density is measured from a live render at
generation time, not hand-typed: regenerate with
npx tsx scripts/gen-context-chart.ts
(source).
Demo
claude-fable-5 (June 2026 release, 13/15 hex / 100/100 arithmetic reader) — plain left, pxpipe right:
https://github.com/user-attachments/assets/1c8ee63a-fcd7-4958-917b-da788d718349
On original claude-fable-5, pxpipe counts an exact token 10/10 across 39 imaged filler files
(matches grep line-for-line), gets the multi-step ledger arithmetic right,
and ends the session at $6.06 with context to spare (73.5k/1M) vs
$42.21 at 96% full. Note: these headline Claude numbers are from claude-fable-5,
not claude-opus-5-5, claude-sonnet-5-5, or claude-haiku-5-5
(which regressed to 0/15–3/15 on dense pixel reading). One caveat visible in the clip: the pxpipe arm
needed a nudge to match the requested one-line output format.
Try it (30 seconds)
npx pxpipe-proxy # proxy on 127.0.0.1:47821
pxpipe warp -- claude # Claude Code (or: codex, omp, opencode)
Dashboard at http://127.0.0.1:47821/: tokens saved, every text→image conversion side by side, kill switch, live model chips. Responses stream normally — pxpipe compresses the request only, never the model's output. Recent turns stay text; the system prompt, tool docs, and older bulk history are imaged.
pxpipe warp
pxpipe warp -- claude # Claude Code
pxpipe warp -- omp # omp (Anthropic Messages, OpenAI Responses, or Gemini API key)
pxpipe warp -- opencode # OpenCode (or: codex, cursor-agent, or any shell alias)
[!WARNING] Antigravity (
pxpipe warp -- agy) ToS risk: Do not usepxpipe warp -- agyon a consumer Google Antigravity subscription you care about. Even thoughwarpruns the realagybinary rather than extracting OAuth tokens, it interceptsdaily-cloudcode-pa.googleapis.com/v1internal:*locally and rewrites outbound request bodies (converting text/history into PNGs), which likely violates Section 6(b) of the Google Antigravity Additional Terms of Service ("modifying or bypassing the Antigravity runtime") and risks Antigravity access suspension. For Gemini 4 / 3.8 Flash compression without consumer-subscription risk, use a pay-per-token Gemini API key (generativelanguage.googleapis.com, e.g. via Google AI Studio, Vertex, or Cloudflare AI Gateway).
Zero base-URL overrides (ANTHROPIC_BASE_URL / GEMINI_API_BASE stay unset),
so Claude Code /remote-control, claude.ai connectors, and first-party gates
keep working. Full instructions in the dashboard.
Claude Code >= 2.1.281 keeps first-party conversations in a server-side Message
Thread and sends only the new delta each turn, so pxpipe never sees the history
and cannot image it. warp sets CLAUDE_CODE_TETHER_LIVE=0 in the child to get
full request bodies back. Set the variable yourself before launching to
override it (CLAUDE_CODE_TETHER_LIVE=1 keeps threads on). It is an
undocumented Claude Code variable and may change; the dashboard warns when
thread continues show up anyway.…
Description from the npm listing.
- claude
- claude-code
- anthropic
- fable-5
- proxy
- token-optimization
- prompt-cache
- vision-tokens
- cloudflare-workers
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm Claude Code plugins
All 20 pxpipe-proxy alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/pxpipe-proxy. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.