Not Everything Needs an LLM newsletter.posthog.com · 19 points · 1 comments · HN...

@best

Not Everything Needs an LLM newsletter.posthog.com · 19 points · 1 comments · HN thread

TL;DR PostHog's engineering newsletter describes how it uses small structured 'decision models' (named Jev, Jeeves and Kev in the article) that return typed answers with calibrated probabilities, instead of LLMs, for simple yes/no, choice and scoring tasks. The post covers four patterns: gating expensive LLM calls, model routing, face-value reranking, and replacing overqualified LLMs, along with the failure modes it hit.

  • Decision models are claimed to be up to 444.6x cheaper and 193.6x faster than frontier models, so they can filter whether an LLM call is needed at all.
  • In Replay Vision, two yes/no decision-model checks for personal info mean 98.7% of session summaries skip the Gemini call; the threshold is set low (0.4) because false negatives leak personal data.
  • A PostHog Slack bot uses a choice question to route requests to the cheapest adequate model; thresholds did not carry over between model versions, so they are set per task and per model.
  • Reranking search results with a single-question decision model on embedding-retrieved candidates improved ranking quality by about 25% on 20 test queries.
  • Multi-step reasoning chained through decision models caused an hourly job to flood the model server, and open-ended tasks like ranking PR review findings were inconclusive (AUC 0.52), so the post says to keep LLMs there.

Discussion Only one comment so far, and it is supportive. The commenter describes a similar pattern in their own retrieval pipeline, using a custom decision model to drop obvious bad results so an LLM only sees uncertain cases, and reports better recall and roughly 70x lower cost than using Opus alone. They also promote their own company's service for training and hosting custom decision models, which is a commercial pitch rather than discussion.

  • Filter with a small model first, then escalate uncertain cases to an LLM (a few): The single commenter reports a retrieval pipeline where a custom decision model removes clearly bad results and the LLM handles only the uncertain remainder, improving recall about 1.5x and cutting cost about 70x versus Opus. This matches the gating pattern in the article.
  • Custom decision models are gaining traction and worth building (a few): The same commenter says they believe strongly in this approach and are building a product to help teams train and host their own decision models, framing the trend as a sign of growing adoption.

Links from the comments

#LLMCost #DecisionModels #AIArchitecture #PostHog #Retrieval