✳flâneur — a map of the web's best reading
eamchong/pxpipe: cut Fable 5 token usage by rendering text context as images ·
github.com · 1,443 words · saved by 1 readers
cut Fable 5 token usage by rendering text context as images
pxpipe Cut Claude Code's 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. pxpipe is a local proxy that exploits the gap: it rewrites the bulky parts of each request into compact PNGs before it leaves your machine. At current Fable list prices that lands as a ~59–70% lower end-to-end bill — but prices
Explore this link on the map →saved by
related reading
- Replicate - Run AI with an APIreplicate.com
- AI Model & API Providers Analysis | Artificial Analysisartificialanalysis.ai
- A Picture is Worth 170 Tokens: How Does GPT-4o Encode Images?oranlooney.com
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4. · GitHubgithub.com
- Claude Code Cheat Sheetcc.storyfox.cz
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Tragithub.com
- Denis Shiryaev | AI & ML Projectsshir-man.com
- GitHub - affaan-m/ECC: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. · GitHubgithub.com
- API Overview | OpenAI API Referenceplatform.openai.com
- GitHub - karpathy/nanochat: The best ChatGPT that $100 can buy. · GitHubgithub.com
- GitHub - CompVis/stable-diffusion: A latent text-to-image diffusion model · GitHubgithub.com
- dalle-2-preview/system-card.md at main · openai/dalle-2-preview · GitHubgithub.com