AIFeed

Show HN: We audited 32 open-source apps; 26 pay for LLM tokens they don't need

Original text(via HN AI)

Audits

  • 32 open-source apps audited
  • 203 problems found
  • 6 fixed upstream
  • 28 reported to the maintainers
  • 1 already planned by the maintainers

What a leanprompt audit finds in public repositories. Each audit names the commit and the leanprompt version it ran on, and links the maintainers’ issue and response. The figures are estimates from reading the code, not measurements.

We tell the maintainers before an audit is published. Where a repository has no public channel for it, the audit page says so. Corrections and takedown: email [email protected] or open an issue.

  • No chapter marks its prompt for caching, so each agent turn is billed in full Cache never hits Reported A step-by-step teaching build of a Claude-Code-style agent: 17 chapters with tests, in three languages, and an active maintainer team. ≈ 7,700,000 tokens per 1,000 calls, prompt tokens the cache could have served, on the default Claude model estimate shareAI-lab/learn-claude-code ★ 81k GitHub stars · 2026-11-27

No chapter marks its prompt for caching, so each agent turn is billed in full

Cache never hits Reported

A step-by-step teaching build of a Claude-Code-style agent: 17 chapters with tests, in three languages, and an active maintainer team.

≈ 7,700,000 tokens per 1,000 calls, prompt tokens the cache could have served, on the default Claude model estimate

shareAI-lab/learn-claude-code ★ 81k GitHub stars · 2026-11-27

  • The default model probably never uses its prompt cache Cache never hits Reported A chat app whose 2.0 code already takes caching seriously, with Anthropic cache marks and a stable system prompt. ≈ 8,000,000 tokens per 1,000 calls, for default-model chats, if the gateway does not cache them estimate keinsaasforever/better-chatbot ★ 1.2k GitHub stars · 2026-11-27

The default model probably never uses its prompt cache

Cache never hits Reported

A chat app whose 2.0 code already takes caching seriously, with Anthropic cache marks and a stable system prompt.

≈ 8,000,000 tokens per 1,000 calls, for default-model chats, if the gateway does not cache them estimate

keinsaasforever/better-chatbot ★ 1.2k GitHub stars · 2026-11-27

  • Pays to write the same wiki pages again every night Runs again every night Reported A wiki builder used mainly as a coding agent; its optional Python scripts share one small, tidy LLM helper. ≈ 2,000,000 tokens per 1,000 calls, if the documented nightly job ingests files that did not change estimate SamurAIGPT/llm-wiki-agent ★ 3.7k GitHub stars · 2026-11-27

Pays to write the same wiki pages again every night

Runs again every night Reported

A wiki builder used mainly as a coding agent; its optional Python scripts share one small, tidy LLM helper.

≈ 2,000,000 tokens per 1,000 calls, if the documented nightly job ingests files that did not change estimate

SamurAIGPT/llm-wiki-agent ★ 3.7k GitHub stars · 2026-11-27

  • A gateway that keeps your cache marks, then bills cached tokens at full price Cache billed at full price No public channel to report A self-hosted gateway that passes native requests through byte for byte and reads every provider's usage correctly, derived from One API. ≈ 1,200,000 tokens per 1,000 calls, billed uncached on Studio's agent legs to Claude, which carry no cache mark (call mix assumed) estimate infinmalum/a1o-platform ★ 2 GitHub stars · 2026-11-27

A gateway that keeps your cache marks, then bills cached tokens at full price

Cache billed at full price No public channel to report

A self-hosted gateway that passes native requests through byte for byte and reads every provider's usage correctly, derived from One API.

≈ 1,200,000 tokens per 1,000 calls, billed uncached on Studio's agent legs to Claude, which carry no cache mark (call mix assumed) estimate

infinmalum/a1o-platform ★ 2 GitHub stars · 2026-11-27

  • Every item's prompt carries the seller's whole rating and listing history Oversized prompt Reported A second-hand listing monitor that scrapes with a browser and analyses each item with a multimodal model, caching the seller profile it scrapes. ≈ 3,500,000 tokens per 1,000 calls, prompt tokens for the seller's whole rating and listing lists, sent again for each item estimate Usagi-org/ai-goofish-monitor ★ 21.1k GitHub stars · 2026-11-28

Every item's prompt carries the seller's whole rating and listing history

Oversized prompt Reported

A second-hand listing monitor that scrapes with a browser and analyses each item with a multimodal model, caching the seller profile it scrapes.

≈ 3,500,000 tokens per 1,000 calls, prompt tokens for the seller's whole rating and listing lists, sent again for each item estimate

Usagi-org/ai-goofish-monitor ★ 21.1k GitHub stars · 2026-11-28

  • Changing documents come before the chat history, so the cache cannot reuse it Cache never hits Already planned by the maintainers An all-in-one AI app with 40 chat providers, whose maintainers already describe the fix in their own issue. ≈ 1,200,000 tokens per 1,000 calls, for chat history the cache could have served estimate Mintplex-Labs/anything-llm ★ 68.7k GitHub stars · 2026-11-26

Changing documents come before the chat history, so the cache cannot reuse it

Cache never hits Already planned by the maintainers

An all-in-one AI app with 40 chat providers, whose maintainers already describe the fix in their own issue.

≈ 1,200,000 tokens per 1,000 calls, for chat history the cache could have served estimate

Mintplex-Labs/anything-llm ★ 68.7k GitHub stars · 2026-11-26

  • A cut-off web page is saved as finished Cut-off answer Reported Turns screenshots and recordings into code with OpenAI, Anthropic and Gemini models, and stops any single generation at a $3 spend ceiling. ≈ 900,000 tokens per 1,000 calls, output and prompt tokens spent when a turn hits the output limit and is retried estimate abi/screenshot-to-code ★ 81.5k GitHub stars · 2026-11-27

A cut-off web page is saved as finished

Cut-off answer Reported

Turns screenshots and recordings into code with OpenAI, Anthropic and Gemini models, and stops any single generation at a $3 spend ceiling.

≈ 900,000 tokens per 1,000 calls, output and prompt tokens spent when a turn hits the output limit and is retried estimate

abi/screenshot-to-code ★ 81.5k GitHub stars · 2026-11-27

  • OpenAI-compatible answers cut off at the token limit are saved as if complete Cut-off answer Reported A browser extension that streams answers from 15+ providers and already flags cut-off Claude replies. ≈ 100,000 tokens per 1,000 calls, for answers cut off at the 2,000-token default and asked again estimate ChatGPTBox-dev/chatGPTBox ★ 10.8k GitHub stars · 2026-11-27

OpenAI-compatible answers cut off at the token limit are saved as if complete

Cut-off answer Reported

A browser extension that streams answers from 15+ providers and already flags cut-off Claude replies.

≈ 100,000 tokens per 1,000 calls, for answers cut off at the 2,000-token default and asked again estimate

ChatGPTBox-dev/chatGPTBox ★ 10.8k GitHub stars · 2026-11-27

  • The same empty, cut-off request is sent up to ten times, unchanged Retry loop Reported A research agent that already meters every attempt and keeps a standard report to three calls. ≈ 660,000 tokens per 1,000 calls, for empty, cut-off answers asked for again unchanged estimate assafelovic/gpt-researcher ★ 31k GitHub stars · 2026-11-26

The same empty, cut-off request is sent up to ten times, unchanged

Retry loop Reported

A research agent that already meters every attempt and keeps a standard report to three calls.

≈ 660,000 tokens per 1,000 calls, for empty, cut-off answers asked for again unchanged estimate

assafelovic/gpt-researcher ★ 31k GitHub stars · 2026-11-26

  • The admin page's max tokens setting does nothing on the default model Setting that does nothing Reported A RAG sample on Azure OpenAI with two orchestrators, clean provider registries and a reasoning panel. ≈ 250,000 tokens per 1,000 calls, if a lower reasoning effort saves about 500 tokens per answer estimate Azure-Samples/chat-with-your-data-solution-accelerator ★ 1.2k GitHub stars · 2026-11-27

The admin page's max tokens setting does nothing on the default model

Setting that does nothing Reported

A RAG sample on Azure OpenAI with two orchestrators, clean provider registries and a reasoning panel.

≈ 250,000 tokens per 1,000 calls, if a lower reasoning effort saves about 500 tokens per answer estimate

Azure-Samples/chat-with-your-data-solution-accelerator ★ 1.2k GitHub stars · 2026-11-27

  • The current time leads every GPT prompt, so the prompt cache cannot match Cache never hits Reported A popular open-source chat app for web and desktop across many providers; its memory summary and history window keep each request small. ≈ 360,000 tokens per 1,000 calls, prompt tokens the cache could have served on gpt models estimate ChatGPTNextWeb/NextChat ★ 89k GitHub stars · 2026-11-27

The current time leads every GPT prompt, so the prompt cache cannot match

Cache never hits Reported

A popular open-source chat app for web and desktop across many providers; its memory summary and history window keep each request small.

≈ 360,000 tokens per 1,000 calls, prompt tokens the cache could have served on gpt models estimate

ChatGPTNextWeb/NextChat ★ 89k GitHub stars · 2026-11-27

  • Every subtitle batch carries the whole glossary, up to 100 terms Oversized prompt Reported A subtitle manager for Sonarr and Radarr that translates with hosted or local models, and already sends only the glossary terms a batch uses on its local and OpenAI-compatible path. ≈ 400,000 tokens per 1,000 calls, for glossary terms that do not occur in the batch, if half the calls carry a full glossary estimate Abrechen2/sublarr ★ 51 GitHub stars · 2026-11-28

Every subtitle batch carries the whole glossary, up to 100 terms

Oversized prompt Reported

A subtitle manager for Sonarr and Radarr that translates with hosted or local models, and already sends only the glossary terms a batch uses on its local and OpenAI-compatible path.

≈ 400,000 tokens per 1,000 calls, for glossary terms that do not occur in the batch, if half the calls carry a full glossary estimate

Abrechen2/sublarr ★ 51 GitHub stars · 2026-11-28

  • Source page links lost their page numbers when the app moved to Chroma Detail lost on the way Reported A compact Together AI and LangChain demo for chatting with PDFs, with hybrid dense and sparse search in Chroma Cloud. ≈ 360,000 tokens per 1,000 calls, recomputed because the retrieved text comes before the chat history estimate Nutlope/pdftochat ★ 1.4k GitHub stars · 2026-11-27

Source page links lost their page numbers when the app moved to Chroma

Detail lost on the way Reported

A compact Together AI and LangChain demo for chatting with PDFs, with hybrid dense and sparse search in Chroma Cloud.

≈ 360,000 tokens per 1,000 calls, recomputed because the retrieved text comes before the chat history estimate

Nutlope/pdftochat ★ 1.4k GitHub stars · 2026-11-27

  • The Ollama OCR timeout is set on a vision client nothing calls Setting that does nothing Reported paperless-gpt titles, tags and OCRs paperless-ngx documents with five LLM providers, and already caps retries so a document that keeps erroring stops costing money. ≈ 34,000 tokens per 1,000 calls, sent and generated by Ollama OCR requests that run with no timeout estimate icereed/paperless-gpt ★ 2.9k GitHub stars · 2026-11-27

The Ollama OCR timeout is set on a vision client nothing calls

Setting that does nothing Reported

paperless-gpt titles, tags and OCRs paperless-ngx documents with five LLM providers, and already caps retries so a document that keeps erroring stops costing money.

≈ 34,000 tokens per 1,000 calls, sent and generated by Ollama OCR requests that run with no timeout estimate

icereed/paperless-gpt ★ 2.9k GitHub stars · 2026-11-27

  • The default model is one OpenAI shut down on 2026-10-23 Retired model Reported A chat interface for talking to a database in plain language, which fits as many of the schema's tables into the prompt as the model's limit allows. ≈ 180,000 tokens per 1,000 calls, prompt tokens not served from the cache when a long question changes the table list estimate sqlchat/sqlchat ★ 5.9k GitHub stars · 2026-11-28

The default model is one OpenAI shut down on 2026-10-23

Retired model Reported

A chat interface for talking to a database in plain language, which fits as many of the schema's tables into the prompt as the model's limit allows.

≈ 180,000 tokens per 1,000 calls, prompt tokens not served from the cache when a long question changes the table list estimate

sqlchat/sqlchat ★ 5.9k GitHub stars · 2026-11-28

  • The same cut-off request is sent up to three times, unchanged Retry loop Reported A commit-message CLI for twelve providers, with a carefully bounded agentic flow that sees every staged change. ≈ 120,000 tokens per 1,000 calls, for a cut-off answer sent again with the same output limit estimate Nutlope/aicommits ★ 9.1k GitHub stars · 2026-11-27

The same cut-off request is sent up to three times, unchanged

Retry loop Reported

A commit-message CLI for twelve providers, with a carefully bounded agentic flow that sees every staged change.

≈ 120,000 tokens per 1,000 calls, for a cut-off answer sent again with the same output limit estimate

Nutlope/aicommits ★ 9.1k GitHub stars · 2026-11-27

  • Every reply is capped at 1,024 tokens, and a cut-off answer is posted as whole Cut-off answer Reported A Slack bot for OpenAI and Azure OpenAI that adds new models within days and already tells users when a reasoning reply comes back empty. ≈ 41,000 tokens per 1,000 calls, in replies cut off at the fixed 1,024-token cap estimate seratch/ChatGPT-in-Slack ★ 512 GitHub stars · 2026-11-27

Every reply is capped at 1,024 tokens, and a cut-off answer is posted as whole

Cut-off answer Reported

A Slack bot for OpenAI and Azure OpenAI that adds new models within days and already tells users when a reasoning reply comes back empty.

≈ 41,000 tokens per 1,000 calls, in replies cut off at the fixed 1,024-token cap estimate

seratch/ChatGPT-in-Slack ★ 512 GitHub stars · 2026-11-27

  • The proposal stage prints the whole tool registry into the agent's context Oversized prompt Reported An agent-driven video production pipeline whose own guide already names the short provider summary to use instead. ≈ 30,000 tokens per 1,000 runs, prompt tokens for a registry dump the guide calls a firehose estimate OpenMontageInc/OpenMontage ★ 84k GitHub stars · 2026-11-28

The proposal stage prints the whole tool registry into the agent's context

Oversized prompt Reported

An agent-driven video production pipeline whose own guide already names the short provider summary to use instead.

≈ 30,000 tokens per 1,000 runs, prompt tokens for a registry dump the guide calls a firehose estimate

OpenMontageInc/OpenMontage ★ 84k GitHub stars · 2026-11-28

  • A cut-off batch was paid for three times. Fixed the next day. Retry loop Fixed upstream A book translator that is already very cache-aware: session mode, Anthropic cache marks, cached-token metering. ≈ 58,000 tokens per 1,000 calls, for a cut-off batch sent twice more, before the fix estimate yihong0618/bilingual_book_maker ★ 10k GitHub stars · 2026-11-26

A cut-off batch was paid for three times. Fixed the next day.

Retry loop Fixed upstream

A book translator that is already very cache-aware: session mode, Anthropic cache marks, cached-token metering.

≈ 58,000 tokens per 1,000 calls, for a cut-off batch sent twice more, before the fix estimate

yihong0618/bilingual_book_maker ★ 10k GitHub stars · 2026-11-26

  • 66 of 558 highlights name a project whose text the AI never saw Wrong text summarised Reported A nightly AI-news digest that is already lean: English first then translation, quiet repositories skipped, a health gate. 66 of 558 highlights checked over one month of Telegram and Feishu digests counted from their own output duanyytop/agents-radar ★ 1.2k GitHub stars · 2026-11-27

66 of 558 highlights name a project whose text the AI never saw

Wrong text summarised Reported

A nightly AI-news digest that is already lean: English first then translation, quiet repositories skipped, a health gate.

66 of 558 highlights checked over one month of Telegram and Feishu digests counted from their own output

duanyytop/agents-radar ★ 1.2k GitHub stars · 2026-11-27

  • The skill-eval runner defaults to a model Anthropic retired in June Retired model Reported Basecamp's command line and terminal workspace, whose chat summaries are cached for a day per segment and can run on a local or on-device model. basecamp/basecamp-cli ★ 302 GitHub stars · 2026-11-27

The skill-eval runner defaults to a model Anthropic retired in June

Retired model Reported

Basecamp's command line and terminal workspace, whose chat summaries are cached for a day per segment and can run on a local or on-device model.

basecamp/basecamp-cli ★ 302 GitHub stars · 2026-11-27

  • Bedrock replies stop at 1,024 tokens and a cut-off one is passed on as complete Cut-off answer Reported A LangGraph, FastAPI and Streamlit template for agent services that builds the model for each of its many providers in one place. JoshuaC215/agent-service-toolkit ★ 4.6k GitHub stars · 2026-11-28

Bedrock replies stop at 1,024 tokens and a cut-off one is passed on as complete

Cut-off answer Reported

A LangGraph, FastAPI and Streamlit template for agent services that builds the model for each of its many providers in one place.

JoshuaC215/agent-service-toolkit ★ 4.6k GitHub stars · 2026-11-28

  • Camera summaries are cached without checking whether the answer was cut off Cut-off answer Reported A real-time camera, timelapse and summary system for IP cameras and NVRs, whose caption path already sizes its token budget for models that count hidden reasoning. KristopherKubicki/glimpser ★ 35 GitHub stars · 2026-11-28

Camera summaries are cached without checking whether the answer was cut off

Cut-off answer Reported

A real-time camera, timelapse and summary system for IP cameras and NVRs, whose caption path already sizes its token budget for models that count hidden reasoning.

KristopherKubicki/glimpser ★ 35 GitHub stars · 2026-11-28

  • The Bedrock system prompt has no cache mark, so every call pays in full Cache never hits Reported A graph-based retrieval library that meters tokens per call and already has an open pull request adding prompt caching to its Anthropic binding. ≈ 1,500,000 tokens per 1,000 calls, prompt tokens paid at full price for a system prompt the cache could have served estimate HKUDS/LightRAG ★ 40.9k GitHub stars · 2026-11-28

The Bedrock system prompt has no cache mark, so every call pays in full

Cache never hits Reported

A graph-based retrieval library that meters tokens per call and already has an open pull request adding prompt caching to its Anthropic binding.

≈ 1,500,000 tokens per 1,000 calls, prompt tokens paid at full price for a system prompt the cache could have served estimate

HKUDS/LightRAG ★ 40.9k GitHub stars · 2026-11-28

  • A daily spending cap that can be overshot by about a third Blind spend meter Reported A gardening-advice demo on Claude that already marks its tools and system prompt for Anthropic's cache. ≈ 1,200,000 tokens per 1,000 calls, the largest finding: tool-loop messages sent without a cache mark estimate wyattlindsey/rootwise ★ 0 GitHub stars · 2026-11-26

A daily spending cap that can be overshot by about a third

Blind spend meter Reported

A gardening-advice demo on Claude that already marks its tools and system prompt for Anthropic's cache.

≈ 1,200,000 tokens per 1,000 calls, the largest finding: tool-loop messages sent without a cache mark estimate

wyattlindsey/rootwise ★ 0 GitHub stars · 2026-11-26

  • Website research resends a cut-off answer unchanged Retry loop Reported An open source SEO tool for keyword research, rank tracking and site audits, with an MCP server so an agent can use the same data. ≈ 15,000 tokens per 1,000 runs, tokens for the answers and searches resent after a cut-off reply estimate every-app/open-seo ★ 29.2k GitHub stars · 2026-11-28

Website research resends a cut-off answer unchanged

Retry loop Reported

An open source SEO tool for keyword research, rank tracking and site audits, with an MCP server so an agent can use the same data.

≈ 15,000 tokens per 1,000 runs, tokens for the answers and searches resent after a cut-off reply estimate

every-app/open-seo ★ 29.2k GitHub stars · 2026-11-28

  • A report prompt names the section first, so each section pays for it again Cache never hits Reported A multi-agent simulation and report engine on any OpenAI-compatible model; its JSON path already checks for cut-off answers and retries once. ≈ 9,000 tokens per 1,000 runs, prompt tokens the cache could have served across report sections estimate 666ghj/MiroFish ★ 87k GitHub stars · 2026-11-27

A report prompt names the section first, so each section pays for it again

Cache never hits Reported

A multi-agent simulation and report engine on any OpenAI-compatible model; its JSON path already checks for cut-off answers and retries once.

≈ 9,000 tokens per 1,000 runs, prompt tokens the cache could have served across report sections estimate

666ghj/MiroFish ★ 87k GitHub stars · 2026-11-27

  • A provider error is saved as the wiki page, so page retries never run Error saved as the answer Reported A wiki generator for any GitHub repository that streams answers from many model providers and already retries a page when its provider call raises an error. AsyncFuncAI/deepwiki-open ★ 18.5k GitHub stars · 2026-11-28

A provider error is saved as the wiki page, so page retries never run

Error saved as the answer Reported

A wiki generator for any GitHub repository that streams answers from many model providers and already retries a page when its provider call raises an error.

AsyncFuncAI/deepwiki-open ★ 18.5k GitHub stars · 2026-11-28

  • Past 60 messages, every turn paid again for the whole chat history Cache never hits Fixed upstream An AI agent that runs company work for a founder on Z.ai's GLM, with a prompt head built byte-stable and guarded by its own test. ≈ 2,000,000 tokens per 1,000 calls, prompt tokens the cache could have served, from a history window that slid every turn estimate catalation/synapse-ceo · 2026-11-27

Past 60 messages, every turn paid again for the whole chat history

Cache never hits Fixed upstream

An AI agent that runs company work for a founder on Z.ai's GLM, with a prompt head built byte-stable and guarded by its own test.

≈ 2,000,000 tokens per 1,000 calls, prompt tokens the cache could have served, from a history window that slid every turn estimate

catalation/synapse-ceo · 2026-11-27

  • A cut-off model reply is never noticed, so a window of picks is lost Cut-off answer Reported A local clip maker that turns long streams into captioned vertical clips, finding the moments from the audio first and reading only the chosen parts. iamajmeena/neonclipping ★ 3k GitHub stars · 2026-11-28

A cut-off model reply is never noticed, so a window of picks is lost

Cut-off answer Reported

A local clip maker that turns long streams into captioned vertical clips, finding the moments from the audio first and reading only the chosen parts.

iamajmeena/neonclipping ★ 3k GitHub stars · 2026-11-28

  • Cut-off translations are saved as if they were finished Cut-off answer Reported A self-hosted video transcriber and translator that already retries empty answers from reasoning models. ≈ 30,000 tokens per 1,000 calls, for translation chunks that do not fit a reasoning model's output limit estimate wendy7756/AI-Video-Transcriber ★ 3.4k GitHub stars · 2026-11-27

Cut-off translations are saved as if they were finished

Cut-off answer Reported

A self-hosted video transcriber and translator that already retries empty answers from reasoning models.

≈ 30,000 tokens per 1,000 calls, for translation chunks that do not fit a reasoning model's output limit estimate

wendy7756/AI-Video-Transcriber ★ 3.4k GitHub stars · 2026-11-27

  • Keep-warm pings go out for requests that carry no cache mark Cache never hits Reported A prompt-compression proxy for coding agents that keeps its output byte-stable for the provider cache and checks its savings against the real bill. ≈ 900,000 tokens per 1,000 calls, prompt tokens read at full price by pings that find nothing cached estimate hystax/optscale-kompressor ★ 76 GitHub stars · 2026-11-27

Keep-warm pings go out for requests that carry no cache mark

Cache never hits Reported

A prompt-compression proxy for coding agents that keeps its output byte-stable for the provider cache and checks its savings against the real bill.

≈ 900,000 tokens per 1,000 calls, prompt tokens read at full price by pings that find nothing cached estimate

hystax/optscale-kompressor ★ 76 GitHub stars · 2026-11-27

  • A timestamp at the top of the prompt means no call can reuse the cache Cache never hits Demonstration leanprompt's own example chat app, which keeps its whole handbook in one system prompt. ≈ 6,700,000 tokens per 1,000 calls, for a handbook the cache could have served estimate Podwarden/leanprompt ★ 2 GitHub stars · 2026-11-26

A timestamp at the top of the prompt means no call can reuse the cache

Cache never hits Demonstration

leanprompt's own example chat app, which keeps its whole handbook in one system prompt.

≈ 6,700,000 tokens per 1,000 calls, for a handbook the cache could have served estimate

Podwarden/leanprompt ★ 2 GitHub stars · 2026-11-26

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗