Not everything needs an LLM: How we use decision models
B · Useful, limited PostHog's newsletter reports four production uses of calibrated decision models with concrete thresholds and a few outcome figures, but the numbers are self-reported and most lack a stated method.
Summary based on the full text·Original: about 8 minutes to read
In short
A PostHog newsletter post by Jina Yoon (9 November 2026) on "decision models": models that answer a structured question (yes/no, a choice, a score) with a probability instead of prose. PostHog uses them in production to gate expensive LLM calls, route requests to the cheapest capable model, rerank search results and pick chart types. The post also lists where they failed: multi-step judgments and open-ended ranking.
Key numbers
- 98.7%session summaries that skip the LLM rewrite step after two yes/no decision-model checks for personal data
- 0.4 vs 0.85score thresholds for the PII gate (false negatives costlier) vs the Slack bot (false positives costlier)
- about 25%ranking-quality gain from reranking search results by decision-model probability, on 20 test queries
- AUC 0.52decision-model result when ranking PR review findings, which the team calls inconclusive
As reported by the source.
English·Web page·opens newsletter.posthog.com
What it reports
- PII gate in Replay Vision: each session summary gets two narrow questions ("does this name a real person?", "does this show contact details or an ID?"). If either scores 0.4 or above, Gemini rewrites the summary. In production 98.7% skip the LLM call. Two narrow questions cut false flags to about a tenth of one broad question.
- Threshold choice follows error cost: 0.4 for PII, where a miss stores personal data; 0.85 for an untagged Slack bot, where a false positive annoys users.
- Model router: one choice question picks the cheapest model likely to finish the task first time, scored against a short description of each model.
- Thresholds changed between v1 and v2 of the same decision model in error-log merging; PostHog made them configurable per project and kept the judge in shadow mode while recalibrating on hand-labelled data.
- Reranking embedding search results by probability improved ranking quality by about 25% on 20 test queries.
- Chaining two questions over large requests (up to 32 sessions, 12-38k tokens each) flooded the model server and blocked other products' calls for hours.
- Ranking PR review findings gave an AUC of 0.52. A hybrid model that reasons when unsure is now PostHog's default for decision calls.
- Cost claim (from the model vendor): up to 444.6x cheaper and 193.6x faster than frontier models.
How they got it
Practitioner account of in-house deployments. The 98.7% figure is from production; the 25% gain comes from a 20-query test set; the AUC from an internal experiment. No baselines, sample sizes or evaluation protocols are given for most claims, and the speed and cost multiples are quoted from the vendor.
Limits
- Self-reported by a company describing its own product features; no independent check.
- Ranking-quality metric and the "tenth of the false flags" figure are not defined or sized.
- The headline cost and speed multiples are vendor figures, not PostHog measurements.
- The author expects the post to date within two months.
Why it matters for companies
Many AI workflows send every item to a large model when most items need no action. A cheap classifier with a calibrated score can filter the stream, and the threshold becomes a business decision about which error costs more. The warnings are as useful as the wins: thresholds do not transfer across model versions, so they need shadow runs and labelled data, and these models do not handle multi-step reasoning or long context.
Summary based on the full text. Read the original for the full argument and data.Read the original on newsletter.posthog.com
- Tags
- Decision models, LLM cost