@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
Your version
8.22.0 is the newest release of 8.x.
In short
1 fixed
Release note
Patch Changes
ai: Declare
$ai_cache_reporting_exclusive: falseon OpenAI wrapper events so ingestion no longer double-bills cached input tokens for Claude models served through OpenAI-compatible hosts (e.g. OpenRouter). The flag stays unset when callers pass their own input or cache token counts throughposthogProperties, so existing passthrough workarounds keep reporting correctly.
(2026-07-16)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.