{"slug": "show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need", "title": "Show HN: We audited 32 open-source apps; 26 pay for LLM tokens they don't need", "summary": "LM Warden, which builds a self-hosted LLM gateway, audited 32 open-source apps and found every one had at least one problem in how it calls an LLM, with 26 paying for tokens they don't need. The team classified the recurring mistakes — cache misses, cut-off answers, retries of the same failure, oversized prompts and retired models — as rules and packaged them into leanprompt, a free Apache-2.0 skill plus scripts for agent-driven code review of projects calling external LLM providers. LM Warden estimates from code, not measurements, that fixing the issues saves about $4 per 1,000 calls at Claude Sonnet-class prices, roughly $4M a month if the audited apps' installs make a billion calls monthly.", "body_md": "Hi HN. We build LM Warden, a self-hosted LLM gateway, so we spend our days looking at what apps actually send to model APIs.\n\nWe see same mistakes popping up over and over again; everywhere in github projects with thousands of stars and in small vibecoded apps.\n\nWe classified them and wrote down as rules and turned them into leanprompt - a skill + scripts that your agent use to code review projects that call external llm providers.\n\nThen we ran it on public repositories: 32 apps so far, among them NextChat (89k stars), MiroFish (87k), OpenMontage (84k), screenshot-to-code (81k), learn-claude-code (81k), AnythingLLM (69k), LightRAG (41k), GPT Researcher (31k), DeepWiki-Open (18k) and ChatGPTBox (11k). Every one had at least one problem in how it calls an LLM. In 26 the problem costs tokens.\n\nWhat we keep finding:\n\nThe cache never hits, Cut-off answers, Retries of the same failure, Oversized prompts, Retired models.\n\nOur audits estimate tokens per 1000 calls from the code, not measurements. Weighted by stars, fixing what we found saves about $4 per 1,000 calls at Claude Sonnet-class prices.\n\nWe don't know how many calls these apps make; nobody publishes that. If all installs of these apps together make a billion calls a month, which is not much when the biggest of them have 30k to 90k stars, that is about $4M a month at Sonnet-class prices, or about $300k a month on the cheapest models.\n\nleanprompt is free and open-source (Apache-2.0)\n\nComments URL: [https://news.ycombinator.com/item?id=50682866](https://news.ycombinator.com/item?id=50682866)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need", "canonical_source": "https://lmwarden.com/leanprompt/audits/", "published_at": "2026-11-28 22:36:44+00:00", "updated_at": "2026-11-28 23:13:12.224164+00:00", "lang": "en", "topics": ["ai-tools", "large-language-models", "ai-agents", "developer-tools"], "entities": ["LM Warden", "leanprompt", "NextChat", "AnythingLLM", "LightRAG", "GPT Researcher", "screenshot-to-code", "Claude Sonnet"], "also_reported_by": [], "takeaway": "Auditing LLM call sites for cache misses, retries of the same failure, oversized prompts and retired models can save about $4 per 1,000 calls at Claude Sonnet-class prices, per LM Warden's code-based estimates across 32 apps.", "recommendation": {"advice": "Review your LLM call sites for cache misses, retried identical failures, oversized prompts and retired models; LM Warden's code-based audit of 32 apps estimated about $4 saved per 1,000 calls at Sonnet-class prices.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need", "markdown": "https://wpnews.pro/news/show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need.md", "text": "https://wpnews.pro/news/show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need.txt", "jsonld": "https://wpnews.pro/news/show-hn-we-audited-32-open-source-apps-26-pay-for-llm-tokens-they-don-t-need.jsonld"}}