Back to directory

AI & Machine Learning · Machine Learning Infrastructure

Langfuse

Open source tracing and evaluation for LLM applications

Langfuse is an open source platform for tracing, evaluating, and improving LLM applications. It collects traces from model calls, retrieval, embeddings, and agent actions, while providing prompt management, evaluation workflows, and a playground for testing changes. The repository is MIT licensed except for ee folders. Teams can self-host with Docker Compose or Kubernetes and use Langfuse Cloud, which offers a free Hobby plan and paid plans starting at $29 per month.

Acquired. Langfuse became part of ClickHouse in January 2026 and remains active.

Key facts

License
MIT, except ee folders
Main language
TypeScript
Maintainer
ClickHouse
First released
2022
Latest release
v4.67.0, October 21, 2026
GitHub stars
36,164, October 2026
Hosted option
Cloud Hobby free, Core $29/month, Pro $199/month, Enterprise $2,499/month

What Langfuse is

Langfuse is an open source LLM engineering platform for teams that need application tracing, evaluation, prompt management, and debugging. The repository identifies Langfuse as a project created in May 2023, while its published project history describes a first release in 2022. ClickHouse became its parent company in January 2026. The repository lists 36,164 stars and names ten top contributors, including maxdeichmann, marcklingen, Steffen911, marliessophie, and nimarb. The README also lists open source users such as Langflow, Open WebUI, LlamaIndex, Flowise, and Promptfoo. Langfuse says it processes more than 90 billion observations monthly and is used by 21 Fortune 50 companies, although those figures describe the broader service rather than repository adoption.

How it works

Langfuse collects traces from LLM applications and related operations, including retrieval, embeddings, and agent actions. Users inspect traces, sessions, generations, and costs in the interface, then move from a problematic trace into the playground to test prompt or model changes. Prompt Management stores prompts centrally, supports versioning, release management, composability, caching, and collaboration. Evaluation covers LLM-as-a-judge, code evaluators, user feedback, manual labeling, custom pipelines, datasets, experiments, and benchmark workflows. SDKs for Python and JavaScript or TypeScript support instrumentation, while OpenTelemetry covers Java, Go, and custom integrations. The README documents integrations with OpenAI, LangChain, LlamaIndex, Haystack, LiteLLM, Vercel AI SDK, Mastra, and a public API.

Architecture and recent releases

The current architecture uses a Next.js web application and an Express worker, with TypeScript as the main repository language and Rust used for the AI gateway. PostgreSQL stores transactional data, ClickHouse stores traces and analytical observations, Redis or Valkey handles caching and queues, and S3-compatible blob storage keeps raw events, media, and large exports. The web service accepts SDK and API traffic, writes incoming events to object storage, and places references in Redis for asynchronous worker processing. Langfuse can run locally, in a VPC, or on premises, with internet access optional. Releases in October 2026 include stable versions v4.63.0 through v4.67.0, with v4.67.0 released on October 21.

License and pricing

The repository is MIT licensed except for its ee folders, so the project combines an open source core with an enterprise portion that has separate licensing implications. Langfuse can be self-hosted without a software subscription, although infrastructure and some add-on features can create costs. Langfuse Cloud has a free Hobby plan with 50,000 units per month, 30 days of data access, and two users. Core costs $29 per month, Pro costs $199 per month, and Enterprise costs $2,499 per month. The Pro Teams add-on costs $300 per month. Paid plans include 100,000 units monthly, with additional usage priced by graduated volume tiers.

Limitations and how it compares

Langfuse requires more operational components than a single-service logging tool: production deployments use PostgreSQL, ClickHouse, Redis or Valkey, and object storage, with a separate worker processing events. Docker Compose is suited to local use and single-VM testing, while Kubernetes with Helm is the preferred production deployment. LangSmith is a closer managed alternative for teams already centered on LangChain, Braintrust focuses on evaluation and experiments, and Arize offers hosted AI observability. Langfuse is the stronger fit for teams that want an open source core, self-hosting, OpenTelemetry support, and control over storage, while teams seeking one managed service may prefer a proprietary option.

Main features

  • Application Tracing. Collects traces for LLM calls, retrieval, embeddings, agent actions, sessions, users, tokens, costs, and related application logic.
  • Prompt Management. Stores prompts centrally with versioning, release management, composability, collaboration, and server-side or client-side caching.
  • Evaluation Workflows. Supports LLM-as-a-judge, code evaluators, user feedback, manual labeling, custom pipelines, datasets, and experiments.
  • LLM Playground. Lets developers test prompts and model configurations, including direct iteration from an inspected trace.
  • Framework Integrations. Provides integrations for OpenAI, LangChain, LlamaIndex, Haystack, LiteLLM, Vercel AI SDK, Mastra, and OpenTelemetry.
  • Public API. Offers an OpenAPI-based API, Postman collection, and typed Python and JavaScript or TypeScript SDKs.

Self-hosting Langfuse

Langfuse supports Docker Compose for local use and single-VM deployments, Kubernetes with Helm for production, and templates for AWS, Azure, and GCP. Community-maintained options include Render and Railway. A deployment consists of Langfuse Web and Langfuse Worker containers plus PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible blob storage. The documentation does not specify minimum hardware requirements. Docker Compose lacks high availability, scaling, and backups, so production operators must provide those capabilities. Incoming events are persisted to object storage before asynchronous processing, and background migrations reduce upgrade downtime. Docker log rotation and database backups require explicit operator configuration.

Strengths

  • The MIT licensed core supports self-hosting and commercial deployment.
  • ClickHouse separates analytical trace workloads from PostgreSQL transactions.
  • OpenTelemetry and multiple SDKs reduce instrumentation lock-in.
  • Cloud plans include a free Hobby tier without a credit card.

Drawbacks

  • Production self-hosting requires four storage or infrastructure services.
  • The ee folders are outside the repository's MIT license.
  • Cloud usage pricing adds graduated charges beyond included units.

What teams replace with it

Teams usually evaluate Langfuse when they want to move off Datadog, LangSmith, Braintrust.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Langfuse

Frequently asked questions

Is Langfuse free?

Langfuse can be self-hosted without a software subscription, although operators pay for their own infrastructure. Langfuse Cloud offers a free Hobby plan with 50,000 units per month, 30 days of data access, and two users. Paid Cloud plans start with Core at $29 per month and include 100,000 units monthly.

Can companies use Langfuse commercially?

The repository is MIT licensed except for its ee folders. The MIT portion permits commercial use under the license terms, while enterprise folders have separate licensing implications. Teams should distinguish the open source core from enterprise features before distributing or operating a commercial deployment that includes code from the ee folders.

How do I self-host Langfuse?

For local use, run Langfuse with Docker Compose. Production deployments can use Kubernetes with Helm or deployment templates for AWS, Azure, and GCP. The system requires Web and Worker containers, PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible blob storage. The documentation does not publish minimum hardware requirements.

How does Langfuse compare with LangSmith?

Langfuse and LangSmith both support LLM tracing, evaluation, prompt workflows, and framework integrations. Langfuse adds an open source core, self-hosting, and storage control, while LangSmith is a proprietary managed service closely associated with LangChain. Choose Langfuse when deployment control matters, and LangSmith when a managed LangChain-centered service is the priority.

Can Langfuse keep application data private?

Self-hosted Langfuse can run inside a VPC or on premises, and internet access is optional. Its architecture stores transactional data in PostgreSQL, observability data in ClickHouse, queues in Redis or Valkey, and raw events or attachments in S3-compatible storage. Cloud customers select US, EU, Japan, or HIPAA regions depending on plan.

Similar projects to compare

Sources

Last updated 2026-10-22.