What happened
- PostHog uses decision models, which give structured answers with probability scores, to filter tasks before calling expensive large language models (LLMs).
- These models are up to 444.6× cheaper and 193.6× faster, allowing most session summaries (98.7%) to skip LLM processing by answering two yes/no questions about personal data.
- A low threshold (0.4) is set to avoid missing personal information, while higher thresholds (0.85) are used in the Slack bot to reduce annoyance.
- Decision models also route requests to the cheapest suitable model and help calibrate thresholds for different tasks, with configurable settings per project.
Why it matters
- For ordinary readers, this means faster, cheaper AI features that better protect privacy and reduce unnecessary processing.
- It also shows how companies can make AI tools more efficient and reliable without always relying on large, costly models.