๐Ÿค–AI RepoIndex
๐Ÿ”ง AI ProductivityOpen SourceFree

Langfuse

Open-source LLM observability โ€” tracing, evals, cost tracking, prompt management

4.7/ 5โญ 10,000 GitHub starsTypeScriptMIT

๐Ÿ“‹ 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 website

Quick Start

  1. 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.โ€
1

Self-Hosted (Free)

Open source, MIT/Apache licensed. Run it yourself.

โญ Star & Clone on GitHub

Free forever. Your infrastructure, your data.

2

Langfuse Cloud Free

50K traces/mo

Free
  • 50K traces
  • Basic features
  • Community support
โ˜๏ธ Get Started with Langfuse Cloud Free
2

Langfuse Cloud Team

Unlimited traces, team features

9/mo
  • Unlimited traces
  • Team collaboration
  • Advanced evals
โ˜๏ธ Get Started with Langfuse Cloud Team
2

Enterprise

SSO, VPC, dedicated

Custom
  • SSO
  • VPC
  • Dedicated support
โ˜๏ธ Get Started with Enterprise
3

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.

๐Ÿ‘ฅ Community Health

Stars10,000
Forks1,250
Contributors200
Health Score7/10

๐Ÿท๏ธ Tags

Open SourceFree