Observe and fix AI in production
Install with AI in a single prompt
Paste into your terminal or code editor and make AI do the work.
What does it do?
AI Observability captures the full context of each trace and connects it to other PostHog products (like Session Replay). Evals score your live traffic and anomaly alerts tell you when things are not normal, so regressions in tool calling, response quality, or latency automatically turn into signals.
Who is it for?
How do I use it?
Query LLM traces from your editor
Check LLM costs, monitor errors, and analyze model performance from Cursor, Claude Code, VS Code, or any MCP-compatible agent.
Top features
Trace every conversation end to end
Debug entire conversations, not just individual calls. Every trace is a timeline of its generations and spans, with the person, total cost, and total latency attached.
AI prompts
Ask PostHog AI to check what your LLM calls cost, dig into traces, and compare models. Works in PostHog AI (in-app chat), PostHog Desktop (our AI code editor), and in your product editor (using the MCP). Click a prompt to copy it, then paste it into your agent.
Costsget-llm-total-costs-for-project
Find tracesquery-llm-traces-list
Errors
Compare models
Works with other PostHog tools
Use AI Observability with these other PostHog apps to maximize shareholder value.
Feature comparison
Questions?
Answers
There are a few ways you can get answers to specific questions about AI Observability.
- Check the docs
We have an entire docs-wizard dedicated to docs gardening.
- Read the pocket guide
PostHog use cases, in your pocket. Each chapter ends with a quick start.
- Search the community forums
82 discussions about AI Observability, there's a good chance your answer is already answered!
- Ask PostHog AI
It's an incredibly useful AI chat that understands the product, docs, community questions, our codebase, GitHub issues, and industry knowledge.
- Talk to a human
Dedicated humans are standing by and ready to assist. Best for questions about volume pricing, terms, and sexy legal stuff.
Get started – free
No credit card required. You get the first 100,000 events free every month, then pricing starts at $0.00035/event and reduces with volume to $0.00006/event.
