Langfuse
Open-source LLM observability โ tracing, evals, cost tracking, prompt management
๐ Overview
Langfuse is an open-source AI engineering platform that provides complete observability for LLM applications โ tracing every call, evaluating outputs, tracking costs, and managing prompts. Unlike LangSmith (LangChain proprietary) or Helicone (observability-only), Langfuse combines tracing, evaluation, prompt management, and datasets in one platform. It integrates with OpenTelemetry, LangChain, OpenAI SDK, LiteLLM, and 20+ frameworks. Self-hosted is free; cloud adds team collaboration and advanced analytics.
โจ Key Features
- โข31K+ GitHub stars โ open-source Datadog for AI
- โขTracing: capture prompts, responses, latency, token usage
- โขEvaluation: LLM-as-judge, heuristic, human evals
- โขPrompt management: version and deploy prompts
- โขCost tracking: per-model, per-user analytics
- โขIntegrations: OpenTelemetry, LangChain, OpenAI, LiteLLM
- โขSelf-hosted free; cloud for teams
๐ฏ The Problem It Solves
Production LLM applications have no visibility into what models are doing โ prompts, responses, costs, and quality are invisible. Langfuse provides Datadog-level observability for LLMs, with tracing, evaluation, and cost tracking in one open-source platform.
๐ง How It Works
Langfuse integrates via SDK or OpenTelemetry โ wrap your LLM calls with Langfuse tracers to automatically capture prompts, responses, latency, token usage, and costs. The evaluation framework runs automated tests (LLM-as-judge, heuristic, human) against your traces. The prompt management system versions and deploys prompts independently of code. Datasets collect real-world inputs for testing. The dashboard provides trace exploration, cost analytics, and quality metrics.
๐ Installation & Quick Start
Installation
See websiteQuick Start
- See documentation
โ Pros
- โขComplete LLM observability platform
- โขTracing captures every LLM call automatically
- โขBuilt-in evaluation framework
- โขPrompt management with versioning
- โขCost tracking and analytics
- โขSelf-hosted is free
- โขActive YC-backed development
โ Cons
- โขSelf-hosting requires PostgreSQL + ClickHouse
- โขFree cloud tier tight limits (50K traces/mo)
- โขComplex evaluations need LLM-as-judge setup
- โขDocumentation lags behind features
- โขSome integrations are community-maintained
๐ฌ Practitioner Verdict
โLangfuse is the best open-source LLM observability platform โ the tracing is comprehensive, the evaluation framework is genuinely useful, and the prompt management is a differentiator. The trade-off: self-hosting requires PostgreSQL and ClickHouse, the free cloud tier has tight limits, and complex evaluations require LLM-as-judge setup. For teams shipping production LLMs, Langfuse is the default observability tool.โ
Self-Hosted (Free)
Open source, MIT/Apache licensed. Run it yourself.
โญ Star & Clone on GitHubFree forever. Your infrastructure, your data.
Langfuse Cloud Free
50K traces/mo
- 50K traces
- Basic features
- Community support
Langfuse Cloud Team
Unlimited traces, team features
- Unlimited traces
- Team collaboration
- Advanced evals
Deployment Options
Ways to run Langfuse in production
๐ Specifications
- Language
- TypeScript
- License
- MIT
- Platform
- Linux, macOS, Windows
- Supported Models
- REST API, CLI
๐ฐ Pricing Reality
Self-hosted is 100% free MIT license. Cloud: Free tier (50K traces/mo), Team 9/mo (unlimited traces, team features), Enterprise custom (SSO, VPC, dedicated). No per-trace fees.