GitHub
Cut LLM token costs 30–60% — local, instant, zero API calls
GitHub launched on April 7, 2026 with 1 votes, #8,101 of 21,248 launches that month.
What it does
TokenShrink compresses LLM prompts before they hit the API — stripping filler, hedges, and bloat without changing meaning. 100+ regex rules run in under 2ms. No API calls. No cost. Never touches code blocks or URLs. Works as CLI, MCP server, and browser extension. English + Turkish. Optional Groq upgrade for LLM-quality compression (14,400 free req/day). Opus 4 costs $15/M tokens — a heavy user spends ~$68/yr on input. TokenShrink cuts that in half. For teams of 10, that's $680/yr saved.
Compress LLM prompts 30-60% — CLI, Claude Desktop MCP, browser extension. Zero API calls. Zero cost. - GitHub - lhr-present/tokenshrink: Compress LLM prompts 30-60% — CLI, Claude Desktop MCP, browser extension. Zero API calls. Zero cost.
Cut your LLM token usage by 30–60% on every message. Zero API calls. Zero cost. Works everywhere. Before: "I was wondering if you could please help me understand how transformer neural networks work and why they have been so effective in the field of natural language processing, if you don't mind." → 47 tokens After: "Help me understand how transformer neural networks work and why they're so effective in NLP." → 18 tokens Saved: 29 tokens (62%) — instant, local, $0.00 Why this matters Claude Opus 4 costs $15 per million input tokens . If you send 500 words per message, 100 times a day, that's ~12,500 tokens → $0.19/day → $68/year . TokenShrink cuts that in half, automatically, with no…from github.com
Does a similar job
all alternatives →


Token price calculator for 400+ LLMs2024 · github.com · ▲268Hey HN! Tokencost is a utility library for estimating LLM costs. There are hundreds of different models now, and they all have their own pricing schemes. It’s difficult to keep up with the pricing changes, and it’s even more difficult to estimate how much your prompts and completions will cost until you see the bill. Tokencost works by counting the number of tokens in prompt and completion messages and multiplying that number by the corresponding model cost. Under the hood, it’s really just a simple cost dictionary and some utility functions for getting the prices right. It also accounts for…

An unmetered LLM API–$6/month, no token tracking, no limitsJul 2026 · yolo-auto.com · ▲12Hi HN, I was once given the advice: Don't waste expensive frontier model credits (GPT/Claude/etc.) on bulk work. Send the boring, repetitive, high-volume jobs to a smaller model, and save the expensive prompts for when you actually need frontier-level reasoning. I complained and told my manager that I shouldnt have to think about using certain models for certain coding tasks, and that one model should handle everything. Well, here we are anyway. If anyone needs a place to absolutely abuse an LLM with high-volume tasks, come beat ours up at https://yolo-auto.com. Here are…
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Product Hunt launch ↗
Launched alongside, April 2026
the whole month →
- AG
Thought the resources for GPU arch were lacking, so here we are
Life & fun · Apr 2026 · jaso1024.com

Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food. Fork it and swap the personality for your own character.
AI · Apr 2026 · github.com


I made a laptop stand out of solid concrete, in the style of brutalist architecture, with themes of urbex and urban decay
Life & fun · Apr 2026 · sam-burns.com

With social media and now AI, its important to keep the indie web alive. There are many people who write frequently. Blogosphere tries to highlight them by fetching the recent posts from personal blogs across many categories. There are two versions: Minimal (HN-inspired, fast, static): https://text.blogosphere.app/ Non-minimal: https://blogosphere.app/ If you don't find your blog (or your favorite ones), please add them. I will review and approve it.
AI · Apr 2026 · text.blogosphere.app