What is Langfuse?
Langfuse is an open-source LLM observability and evaluation platform for engineers building AI agents and applications. Langfuse connects production monitoring with development work: engineers can inspect what happened in a live run, use examples from those runs to build test datasets, and evaluate changes before deployment. Langfuse is available in the cloud or as self-hosted software.
What Langfuse can do
Langfuse records model calls, tool invocations, and retrieval steps as hierarchical traces. Engineers can filter traces by user, session, cost, latency, or custom metadata to investigate an issue. The same production inputs can be used in the playground to test prompts and compare models side by side.
- Track cost, latency, and quality in dashboards.
- Configure automated alerts for monitored metrics.
- Deploy and roll back prompts separately from code.
- Score outputs with LLM judges, heuristics, or human review.
- Turn annotated traces into evaluation datasets.
- Compare prompt, model, and code variants in experiments.
How Langfuse works
Langfuse accepts traces from its Python and TypeScript SDKs or from OpenTelemetry exporters. Teams can also route OpenAI and Anthropic calls through the Langfuse AI Gateway by changing the base URL and API key. The gateway automatically traces those calls and reports cost by user and key. Langfuse also exposes its features through a REST API, CLI, and MCP server.
Who Langfuse is for
Langfuse is for developers and AI engineering teams that need to understand how an LLM application behaves in production and test changes during development. The page describes use with coding and desktop assistants, support and voice agents, retrieval-augmented generation applications, and low-code workflows. Human annotation also gives reviewers a way to contribute examples to evaluation datasets.
- Investigate failed generations or slow agent runs.
- Review production traces with human annotators.
- Build regression datasets from real application inputs.
- Compare changes before deploying a prompt or model.
Langfuse pricing and plans
Langfuse offers a hosted free tier with 50,000 observations per month and no credit card requirement. A public demo project is available for exploring Langfuse without setting up an integration. The MIT-licensed software can also be self-hosted for free, with deployment options including Docker Compose, Kubernetes through Helm, and Terraform for AWS, Google Cloud, and Azure.
Langfuse strengths and limitations
Langfuse combines tracing, evaluation, and prompt management while also supporting those components as standalone tools. OpenTelemetry support lets teams use existing instrumentation, and export options let teams move data to a warehouse or S3 blob storage. The distinction between instrumenting an application and routing calls through the gateway matters when choosing how to collect traces.
- Direct tracing requires SDK or OpenTelemetry instrumentation.
- The built-in gateway is described for OpenAI and Anthropic calls.
- The hosted free tier has a monthly observation limit.
Getting started with Langfuse
Langfuse can be explored through the public demo, and teams can begin with tracing before adopting evaluations or prompt management. For an existing application, the setup paths described on the page are manual instrumentation and installation through a coding agent using the Langfuse Agent Skill. Langfuse Academy provides worked examples for tracing, monitoring, building datasets, running experiments, and evaluating outputs.
Langfuse FAQ
What is Langfuse?
Langfuse is an open-source platform for observing and evaluating LLM applications and AI agents. Langfuse combines hierarchical traces, analytics dashboards, prompt management, datasets, and experiments so teams can investigate production behavior and test changes before deployment.
Is Langfuse free?
Langfuse offers a hosted free tier with 50,000 observations per month and no credit card requirement. Langfuse can also be self-hosted for free under the MIT license, and a public demo project is available.
Who is Langfuse for?
Langfuse is for developers and teams building or maintaining LLM applications and AI agents. Langfuse supports engineering workflows for coding assistants, customer support agents, voice agents, retrieval-augmented generation applications, and low-code workflows.
How does Langfuse evaluate LLM applications?
Langfuse evaluates LLM applications using LLM judges, heuristic functions, or human review. Teams can apply evaluators to production data or run experiments against test cases to compare prompt, model, and code variants.
Does Langfuse support OpenTelemetry and MCP?
Langfuse supports OpenTelemetry for sending traces and provides an MCP server for agents to manage prompts, query traces, and use Langfuse data. Langfuse also offers native Python and TypeScript SDKs, a REST API, and a CLI.
Which model providers does the Langfuse AI Gateway support?
Langfuse describes its AI Gateway for OpenAI and Anthropic calls. Teams route calls through the gateway by changing the base URL and API key, after which calls are traced automatically and costs can be viewed by user and key.
From the community
No reviews yet
Be the first to review this tool. What you write helps the next person choose.




