Show HN: We audited 32 open-source apps; 26 pay for LLM tokens they don't need 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. 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. We see same mistakes popping up over and over again; everywhere in github projects with thousands of stars and in small vibecoded apps. We 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. Then 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. What we keep finding: The cache never hits, Cut-off answers, Retries of the same failure, Oversized prompts, Retired models. Our 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. We 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. leanprompt is free and open-source Apache-2.0 Comments URL: https://news.ycombinator.com/item?id=50682866 https://news.ycombinator.com/item?id=50682866 Points: 1 Comments: 0