Analyze and diagnose LLM spend within PostHog by aggregating AI generation and embedding events, debugging cost spikes, and evaluating token and cache-hit economics. This skill guides querying total costs, breaking down expenditures across models, providers, users, or custom dimensions using HogQL, inspecting individual traces, and materializing insights into PostHog dashboards and threshold alerts.
주요 기능
0163 GitHub stars
02Break down costs by model, provider, user, trace, or custom property
03Debug cost spikes and regressions with a structured 5-step playbook
04Materialize cost queries into PostHog insights, dashboards, and alerts
05Aggregate LLM spend across generation and embedding events over time
06Calculate provider token economics and cache-hit rate efficiency
사용 사례
01Building automated PostHog dashboards and spending threshold alerts
02Identifying top users, expensive features, or high-cost models
03Investigating sudden LLM spend spikes or regressions across deployments