Exploring LLM Costs

Investigate LLM spend in PostHog — total cost over time, cost by model, provider, user, trace, or custom dimension, token and cache-hit economics, and cost regressions.

About this skill

Investigate LLM spend in PostHog — total cost over time, cost by model, provider, user, trace, or custom dimension, token and cache-hit economics, and cost regressions.

Maintained by PostHog. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01Tools
  • 02Core rules
  • 03Workflow: total spend in a window
  • 04Workflow: cost breakdowns
  • 05Workflow: inspect a single trace's cost
  • 06Workflow: debug a cost regression

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

posthog/ai-plugin / exploring-llm-costs

Source reviewed October 2, 2026 · See publisher source