☰

Langfuse

Open Source Agent Evals & Observability

Freemium

What is Langfuse?

Langfuse is an open-source LLM engineering platform. It helps teams trace, debug, evaluate and improve applications built on large language models, such as chatbots, RAG pipelines and AI agents. The core is MIT-licensed, so you can self-host it for free or use the managed cloud version. Its main job is to show what your AI app is actually doing in production: which prompts ran, what the model returned, how much it cost, and how long it took.

Langfuse Features

Tracing and observability

Captures every LLM call, retrieval step, tool call and agent action as a nested trace, so you can follow a request end to end.

Session and user tracking

Groups traces into conversations or threads and attributes them to individual users.

Cost and latency monitoring

Tracks token usage, spend and response times per model, user or feature.

Prompt management

Stores, versions and deploys prompts from a central place, so changes don't need a code release. It includes a playground for testing.

Evaluations

Supports LLM-as-a-judge scoring, manual annotation, user feedback and custom scores, plus datasets and experiments for regression testing.

Integrations

Works with Python and JS/TS SDKs, OpenTelemetry, and frameworks such as LangChain, LlamaIndex and the OpenAI SDK.

Dashboards and API

Provides built-in analytics and a public API for exporting data.

Use Cases Of Langfuse

Debugging production issues

Find the exact step in a chain or agent where an answer went wrong.

Cost control

Spot expensive prompts, models or users and optimize spend.

Quality monitoring

Score outputs automatically and catch regressions before users notice.

Prompt iteration

Let product and engineering teams update prompts safely with version history.

Testing before release

Run a dataset through a new prompt or model and compare results.

Privacy-sensitive deployments

Self-host to keep traces and user data inside your own infrastructure.

Pros of Langfuse 

Open source and self-hostable

There's no vendor lock-in, and you can inspect and modify the code.

Framework-agnostic

It isn't tied to one model provider or orchestration library.

Complete workflow

Tracing, prompts and evals live in one tool.

Generous free options

The cloud Hobby plan is free, and self-hosting has no usage limit.

Active community

Development is fast and documentation is solid.

Transparent usage-based pricing

Paid cloud plans include a base amount of usage, and the overage rate is published.

Cons of Langfuse 

Self-hosting takes effort

It's free to license, but you still pay for infrastructure and maintenance, and the setup involves several components.

Usage-based bills can grow

Billable units count traces, observations and scores, so a complex agent can use up units quickly.

Less out-of-the-box depth in some areas

Teams wanting very advanced evaluation or dashboards may need extra tooling.

Short retention on the free tier

Hobby keeps data for only 30 days.

Langfuse Pricing Plans

Hobby: Free

  • Aimed at hobby projects and proofs of concept, with no credit card required
  • All platform features (with limits)
  • 50k units per month included
  • 30 days of data access
  • 2 users
  • Community support on GitHub

Core: $29/month

  • Aimed at production projects
  • Everything in Hobby
  • 100k units per month included, then $8 per 100k additional units (lower with volume)
  • 90 days of data access
  • Unlimited users
  • In-app support
  • Discounts available for startups and EDU

Pro: $199/month

  • Aimed at scaling projects
  • Everything in Core
  • 100k units per month included, then $8 per 100k additional units (lower with volume)
  • 3 years of data access
  • Data retention management
  • Unlimited annotation queues
  • High rate limits
  • SOC2 and ISO27001 reports
  • HIPAA-compliance region (BAA)
  • Priority support 

Enterprise: $2,499/month

  • Aimed at large teams, with enterprise-grade support and security
  • Everything in Pro and Teams
  • Audit logs
  • SCIM API
  • Custom rate limits
  • Uptime SLA
  • Support SLA
  • Named lead support engineer

FAQs About Langfuse

Is Langfuse free?

Yes. The cloud Hobby plan is free, and the open-source version can be self-hosted at no license cost.

Is Langfuse open source?

Yes. The core is MIT-licensed, though some enterprise features are paid.

What is a billable unit?

It is one trace, observation or score. Complex agents generate many units per request.

Does Langfuse work with LangChain, OpenAI and other tools?

Yes. It has SDKs and integrations for the major LLM frameworks and providers, and it supports OpenTelemetry.

Can I self-host Langfuse?

Yes. Self-hosting is a supported, documented option.

How is Langfuse different from LangSmith?

Langfuse is open source and framework-agnostic, while LangSmith comes from the LangChain team and is tightly integrated with that ecosystem.

How long is my data kept?

It depends on the plan: 30 days on Hobby, 90 days on Core, and 3 years on Pro and Enterprise.

Conclusion 

Langfuse is one of the strongest open-source options for LLM observability. It covers tracing, prompt management and evaluation in a single platform, and its free tier and self-hosting option make it easy to start. 


The main drawbacks are the steep price steps between cloud tiers, the extra cost of enterprise access controls, and the operational work of self-hosting. For developers and teams building production LLM apps who want visibility without lock-in, it's a very good fit. Larger organizations should compare costs at their expected volume before committing.