Langfuse vs Braintrust: Tracing, Evals, Self-Hosting and Cost

Langfuse vs Braintrust compared: tracing, evals, prompt management, self-hosting and pricing meters, plus PromptLayer, Deepchecks and a verdict by use case.

AIToolsWiki9 min read
In this guide
  1. Langfuse vs Braintrust at a glance
  2. Tracing: what each records about an agent run
  3. Evals, datasets and experiments
  4. Prompt management and who edits prompts
  5. Self-hosting, open source and pricing
  6. PromptLayer, Deepchecks and other options
  7. A two-week pilot, and mistakes to avoid
  8. Langfuse vs Braintrust: which to choose
  9. Questions people ask about Langfuse and Braintrust

Langfuse and Braintrust both record what an LLM app or agent does in production and let you score it, so the Langfuse vs Braintrust choice rests on three questions. Do you need to run the platform on your own infrastructure? Is most of your quality work formal evaluation, or debugging traces? And how will each one's billing meter treat your traffic? Langfuse's product features are MIT licensed, and the company has been part of ClickHouse since January 2026. Braintrust is a hosted platform built around evals, with open-source SDKs and scorers, and now calls itself an observability agent. Several pages ranking for this comparison are written by one of the two vendors, so this one sticks to their docs and pricing pages as of late November 2026.

This compares documented features rather than hands-on results. PromptLayer and Deepchecks appear in a wider table below.

Langfuse vs Braintrust at a glance

LangfuseBraintrust
Center of gravityTracing, prompt management and evals in one open platformEvaluation, with production logs feeding test cases
Open sourceProduct features MIT licensed; a few self-hosted admin features need an enterprise keyPlatform is proprietary; SDKs and the autoevals library are open source
Self-hostingFree, full applicationEnterprise only; data plane in your cloud, UI and auth stay with Braintrust
TracingOpenTelemetry-based; Python and JS/TS SDKsPython, TypeScript, Go, Ruby and C# SDKs; OpenTelemetry ingest
EvalsLLM judges, code evaluators, annotation queues, dataset experimentsEval() in code, autoevals, online scoring, human review, baseline comparisons
PromptsVersioned, with labels such as production; cached client-sideVersioned prompts and playgrounds, callable from code
Billing meterUnits: every trace, observation and scoreProcessed GB plus number of scores
Free cloud plan50k units a month, 30-day data access, 2 users1 GB, 10k scores, 14-day retention, unlimited users
First paid tierCore, $29 a monthPro, $249 a month

Tracing: what each records about an agent run

In Langfuse, a trace is a tree of observations: the generation, the retrieval step that fed it, the tool call that followed, and any custom spans you add. Traces carry user IDs, session IDs, tags and metadata, so you can pull up one customer's conversation or every request slower than a threshold, and token usage and cost roll up into dashboards. The docs say tracing is built on OpenTelemetry, which is how Go, Java and .NET apps connect alongside the Python and JavaScript SDKs. Listed integrations include LangChain, LlamaIndex, the Vercel AI SDK, LiteLLM, OpenRouter and Amazon Bedrock. The homepage also lists an AI gateway with per-user cost tracking.

Braintrust records LLM calls, tool calls and retrieval steps with inputs, outputs, latency, tokens and cost. Where it differs is what happens after logging. Online scoring rules run scorers on live logs in the background, Topics classifies logs by intent, sentiment and issue, and Patterns looks for recurring problems, and any trace can be copied into a dataset. Loop, Braintrust's built-in agent, can query logs, diagnose traces, write scorers and post scheduled results to Slack, according to its docs. Langfuse has an in-app assistant too, but Braintrust leans harder on automated analysis of production data.

Evals, datasets and experiments

This is Braintrust's home ground. An eval has three parts: data, a task and scorers. You call Eval() in Python or TypeScript with a dataset, the function that calls your model and a list of scorers, then run it locally or with the bt eval CLI. Each run is saved as an immutable experiment, and the comparison view lines cases up against a baseline to show which rows improved or regressed. Scorers come from the open-source autoevals library, your own code or LLM judges, with human review queues alongside, and the same files run in CI. One documented limit: autoevals score individual spans, so grading a whole multi-step agent run needs a custom scorer.

Langfuse covers similar ground with a different emphasis. Scores come from LLM-as-a-judge evaluators, code evaluators, user feedback or annotation queues. Datasets can be built from production traces, experiments run a prompt or app version against a dataset from the UI or SDK, and a documented CI/CD setup can block regressions. Because prompts link to traces, you can compare prompt versions on cost, latency and scores using live traffic. Even Langfuse's own comparison page credits Braintrust with a more mature experiment-review workflow.

Prompt management and who edits prompts

Langfuse treats prompts as deployable objects. Every edit creates an immutable version, and labels point at versions: production is what your app fetches by default, latest follows the newest version, and custom labels handle staging or A/B tests. Rolling back means moving the production label. The SDK caches prompts on the client, which the docs say keeps fetching from adding latency, and domain experts can edit prompts without touching code.

Braintrust's prompt tools sit inside the eval loop. Playgrounds compare prompts and models in the browser, and prompts are versioned and callable from code. That suits engineers who want every prompt change to pass an experiment first. If the people who own prompts aren't engineers, look at PromptLayer too: its registry is built for non-technical editors, and dynamic release labels can send a percentage of traffic to a new version.

Self-hosting, open source and pricing

Running it yourself

Self-hosting Langfuse is free under the MIT license and gives you the whole application, but it isn't one container. The docs list web and worker containers plus PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible storage, and describe Docker Compose as a single VM without high availability or backups, so production setups use Helm on Kubernetes or the Terraform templates for AWS, GCP and Azure. When ClickHouse bought Langfuse, the announcement said there were no planned licensing changes and Langfuse Cloud would keep running as-is. The cloud offers US, EU and Japan regions.

Braintrust runs as SaaS on every plan. Its deployment docs add bring-your-own-cloud on Enterprise: the data plane, which holds logs, traces, datasets and experiments, runs in your dedicated cloud account, Braintrust still operates it, and the control plane with the UI, authentication and organization metadata stays with Braintrust. "Self-hosted" means something different for each product, so give your security team both sets of docs.

How the meters differ

Langfuse's pricing page counts units, where a unit is any tracing data point: traces, observations and scores. Hobby is free with 50k units a month, 30 days of data access and two users. Core is $29 a month and Pro $199, each with 100k units, unlimited users and 90 days or three years of data access. Enterprise is $2,499 a month, and extra usage is $8 per 100k units, falling at volume.

Braintrust's pricing page meters processed data and scores separately. Starter is $0 with 1 GB, 10k scores and 14-day retention. Pro is $249 a month with 5 GB, 50k scores and 30-day retention, with per-GB and per-1,000-score overages, and Enterprise is custom. Every plan includes unlimited users.

In practice, an agent that emits dozens of small spans per request burns Langfuse units quickly, while large payloads and scoring every request push a Braintrust bill up. Price a week of your own traffic on both meters before comparing list prices.

PromptLayer, Deepchecks and other options

ToolBest forWhat stands outWatch out forAccess model
LangfuseTeams that want open-source tracing, prompts and evals they can hostMIT-licensed features, OpenTelemetry tracing, prompt labelsSelf-hosting means running ClickHouse, PostgreSQL, Redis and object storageFree Hobby cloud plan, paid from $29 a month, free self-hosting
BraintrustTeams asking "did this change make it better?" before every releaseEval() experiments with baselines, autoevals, online scoring, LoopHosted only below Enterprise; span-level autoevalsFree Starter, Pro $249 a month, custom Enterprise
PromptLayerCompanies where product or domain experts own the promptsVisual prompt registry, percentage rollouts, spreadsheet-style eval TablesYour app depends on it to serve prompts; self-hosting is Enterprise-onlySmall free tier, Pro $49 a month, Team $500 a month
DeepchecksQuality teams writing rubrics and monitoring agents in productionCustom LLM-judge properties, version comparison, production monitoringNo free production plan; SaaS usage metered in processing unitsFree trial, paid Basic, Scale and Enterprise plans

If your app is built on LangChain, the same company's LangSmith is a natural candidate too; its page says it works with any framework and offers self-managed deployment on Enterprise. More options sit in our AI and machine learning platforms and AI developer tools categories.

A two-week pilot, and mistakes to avoid

  1. Instrument one real flow, such as a support bot's answer path, with retrieval and generation as separate spans. Both platforms accept OpenTelemetry.
  2. Count spans and payload size for a typical request, then estimate a month on each meter, including scores.
  3. Pull 50 to 100 real cases from traces into a dataset, mixing failures with good answers.
  4. Write the same two scorers in both: a code check, such as citation format, and an LLM judge for groundedness.
  5. Run one real change, like a prompt edit or model swap, as an experiment in each, and see which regression report your team can read fastest.
  6. Have whoever actually edits prompts try both prompt workflows.

Mistakes teams make

  • Comparing list prices. The meters measure different things, so a cheaper plan on paper can cost more on your traffic.
  • Treating vendor comparisons as neutral. Both companies publish one, each favoring its own product.
  • Judging every request. Scores count toward usage on both. Score a sample of production traffic and save full scoring for experiments.
  • Trusting judges uncalibrated. Check LLM-judge scores against a few dozen human-labelled cases first.
  • Running Docker Compose in production. Langfuse's docs say that setup has no high availability or backups.

Langfuse vs Braintrust: which to choose

Pick Langfuse if trace data has to stay on your infrastructure, you want open source you can fork, you need long retention (Pro keeps three years of data access) or US, EU or Japan hosting, or you want tracing, prompt labels and evals at a low starting price.

Pick Braintrust if evaluation is the center of your process, you want evals written as code with immutable experiments and baseline diffs in CI, you want product managers running experiments from the UI alongside engineers, or you want an agent that writes scorers and digs through logs for you. You'll need Enterprise if data must live in your own cloud.

Pick PromptLayer if non-engineers own prompts and you want percentage rollouts without deploys. Pick Deepchecks if a quality team will maintain rubrics and you're fine with paid plans from the start.

Questions people ask about Langfuse and Braintrust

Is Langfuse free?

Self-hosting the open-source release is free under the MIT license, though you pay for the servers and the time to run them. On Langfuse Cloud, the Hobby plan is free with 50k units a month, 30 days of data access and two users.

Is Braintrust open source?

The platform isn't. Its SDKs and the autoevals scorer library are open source on GitHub, but the hosted service, including its Brainstore database, is Braintrust's own product.

Can you self-host Braintrust?

Not fully. On Enterprise, bring-your-own-cloud puts the data plane, where logs, traces and datasets live, inside your own cloud account. Braintrust still operates it and keeps the UI, authentication and organization metadata on its control plane.

Did the ClickHouse acquisition change Langfuse?

Langfuse announced the deal on January 16, 2026 and said there were no planned licensing changes, self-hosting stays first-class and Langfuse Cloud keeps running as-is. Its homepage still says all product features are MIT licensed.

Do I need LangChain to use either one?

No. Both trace direct OpenAI and Anthropic SDK calls, accept OpenTelemetry data and integrate with frameworks such as LangChain, LlamaIndex, the Vercel AI SDK and LiteLLM.

  • LLMOps
  • Comparisons
  • Developer tools
Share this post

Keep reading

More guides

All guides