github PostHog/posthog-js @posthog/ai@8.3.1

3 hours ago

8.3.1

Patch Changes

  • #4071 182434f Thanks @DerGeraetK! - fix(ai): declare $ai_cache_reporting_exclusive: false on 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 through posthogProperties, so existing passthrough workarounds keep reporting correctly.
    (2026-07-16)

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.