Comparison

Braintrust vs Langfuse

Both trace agents, keep datasets, run LLM-as-a-judge and code scorers in experiments and on live traffic, and gate pull requests on eval results. They split on who runs the platform, where your traces can live, and how much of the failure-finding the vendor automates for you.

Checked against both vendors' documentation on . Prices aren't quoted here; each vendor's pricing page is linked below.

The short answer

Pick Braintrust when you want a managed product and no infrastructure to run, when your team lives in experiments and wants the vendor to surface failure clusters from production for you, and when a BYOC data plane that Braintrust operates in your own AWS account (Enterprise) satisfies your data-residency rules.

Pick Langfuse when the whole platform, UI and login included, has to run inside your network, when an open-source licence is a requirement, or when you want self-hosting without an enterprise contract. Its evaluation features ship in the free MIT self-hosted build.

Neither one knows what your agent was supposed to do. Both run whatever scorers you write, so the checks you design (right tool, real identifiers, instruction still followed late in the run) decide what you catch, not the platform you run them in.

Side by side

Braintrust

Commercial platform for instrumenting, evaluating and monitoring agents, with automatic trace classification (Topics), an AI agent over your data (Loop) and a model gateway.

Langfuse

Open-source (MIT) AI engineering platform for tracing, prompt management, evaluation and experiments. Part of ClickHouse since January 2026.

Braintrust and Langfuse compared feature by feature
FeatureBraintrustLangfuse
Who makes itBraintrust, a commercial vendorLangfuse team, acquired by ClickHouse in January 2026
LicenceProprietary platform. SDKs are Apache-2.0 and the autoevals scorer library is MITCore platform MIT-licensed, every product feature included since June 2025. Enterprise governance features (SCIM, audit logs, project-level RBAC, data retention) need a commercial licence key
Where your data can liveBraintrust's SaaS on every plan. BYOC (data plane in your cloud, operated by Braintrust) on Enterprise; new BYOC deployments are AWS only. The UI and login always run on Braintrust's control planeLangfuse Cloud, or the whole application self-hosted on any tier with no usage fee: Docker Compose to try it, Helm or AWS, GCP and Azure Terraform for production
Who operates itBraintrust, in both SaaS and BYOC: it deploys, upgrades and monitors the data planeLangfuse on Cloud; your team when self-hosted (web, worker, ClickHouse, Postgres, Redis, blob storage)
InstrumentationTypeScript, Python, Go, Java, Ruby and C# SDKs (Rust in alpha), OpenTelemetry ingest, and integrations for LangChain, LangGraph, OpenAI Agents SDK, Claude Agent SDK and many morePython and JS/TS SDKs built on OpenTelemetry, OTLP endpoint for other languages, integrations for LangChain, LangGraph, OpenAI Agents SDK and many more
Offline evals and CIDatasets and experiments from code or the UI; the braintrustdata/eval-action GitHub Action posts scores on each pull request, bt eval runs in other CI, plus pytest, Vitest and Node test runner integrationsDatasets and experiments from the UI or SDK; a GitHub Action fails the pipeline when experiment scores drop below thresholds
Evals on live trafficOnline scoring rules run LLM-as-a-judge and TypeScript or Python code scorers on a span, a whole trace, or a group of traces, with samplingLLM-as-a-judge and Python or TypeScript code evaluators on production observations, with sampling
Multi-turn conversationsGroup-scoped scoring rules score every trace that shares a key such as metadata.session_id as one conversationSessions group traces; session scores and session annotation queues
Finding failures you didn't write a check forTopics classifies logs by task, sentiment and issue and clusters them daily; Patterns and the Loop agent investigate recurring problemsHalo, an in-app assistant, queries traces and can cluster errors or build datasets and dashboards on request (public beta when self-hosted)
Human reviewConfigurable review scores on logs, experiments and dataset rows, with row assignment and multiple reviewersAnnotation queues for traces, observations and sessions
AlertingLog alerts (SQL filter on production logs) and time-window alerts (a SQL calculation crossing a threshold, such as an average score), to Slack, PagerDuty or webhooksThreshold alerts on observation metrics and eval scores, to Slack, webhooks or GitHub Actions
Model gatewayBraintrust Gateway: one API in front of many model providersLangfuse AI Gateway (beta) for OpenAI and Anthropic calls; optional
What you're billed onProcessed data (bytes ingested) and scores recorded, as separate meters. See braintrust.dev/pricingUnits: traces plus observations plus scores. See langfuse.com/pricing (cloud) and /pricing-self-host

Who runs it is the first fork

Braintrust splits into a control plane (the UI, authentication, organisation settings) and a data plane (logs, traces, datasets, prompts, experiment records). Braintrust always runs the control plane. On SaaS it also runs the data plane; on BYOC, an Enterprise option, the data plane sits in a dedicated cloud environment you own, and Braintrust still deploys, upgrades and repairs it. New BYOC deployments are AWS only. Self-hosting the data plane yourself is now documented only for organisations that already do it.

Langfuse goes the other way. The core is MIT-licensed and the whole application self-hosts on every tier, including the free one: the same tracing, LLM-as-a-judge, experiments and annotation queues as the cloud product, on infrastructure you operate. What sits behind a licence key is governance (SCIM, audit logs, project-level roles, data retention policies), so check that list against your compliance requirements.

So the question is less 'can my traces stay in my cloud' (both can, on the right plan) than 'who has to be on call for it' and 'may anything leave'. If a vendor-operated data plane in your AWS account is acceptable, Braintrust BYOC keeps operations off your plate. If the UI and login must also be inside your boundary, or you want no enterprise contract, Langfuse self-hosted is the one that fits.

What leaves your boundary

Even with BYOC, some Braintrust features send data outside your cloud when you turn them on. Braintrust's own BYOC documentation lists Topics as one: it sends trace text to Braintrust-hosted inference. The control plane also receives metadata such as project and experiment names, plus health and usage telemetry you can't disable. If your contracts forbid any trace text leaving your network, read that page line by line and decide which features stay off.

Self-hosted Langfuse keeps the application inside your environment; its LLM-as-a-judge evaluators call whichever model connection you configure, so judge traffic goes where you point it. Its Halo assistant needs an instance-wide model and is in public beta when self-hosted.

Evaluating agents, before and after deploy

Before deploy, both use the same loop: a dataset, an experiment that runs your agent over it, scorers that grade the result, and a comparison with the last good run. Braintrust's eval-action comments the scores on each pull request and runs Node, Python or Go evals; bt eval covers other CI systems, and custom reporters decide what counts as a failure. Langfuse runs experiments as SDK scripts or from the UI, and its GitHub Action fails the build on score thresholds or against an approved baseline. Both let you turn production traces into dataset items, which is how most regression sets get built.

After deploy, both score live traffic with LLM-as-a-judge and code scorers, sampled to control cost. Braintrust's online scoring rules choose a scope: a single span (a tool call, one LLM response), a whole trace (a multi-step run), or a group of traces that share a key, which is how you score a conversation logged one turn per trace. In Langfuse, conversations are grouped into sessions, and you score them through session scores and session annotation queues, or by evaluating the observation that holds the history.

For agents that fail silently, finishing with a confident, wrong result, the useful scope is the trace: a scorer that can see every tool call and check the identifiers and the order of steps, not just the final answer. Both platforms will run that check. Neither writes it for you.

Finding the failures you didn't think to score

This is where Braintrust has put the most product. Topics reads sampled traces, summarises each one by task, sentiment and issue, and once it has at least 100 summaries clusters them into named topics daily, so you can filter logs by an issue nobody wrote a scorer for and turn it into a dataset or a review queue. Patterns uses the Loop agent to investigate recurring problems and suggest fixes, and Loop can run on a schedule and report to Slack, PagerDuty or a webhook.

Langfuse's equivalent is more hands-on: dashboards, full-text search and filters over traces, annotation queues, and Halo, an assistant you can ask to cluster recent errors, build a dataset from failed generations or set up an evaluator. Teams who want the clustering done continuously without asking will lean to Braintrust; teams who want every model call on their own infrastructure will accept doing more of it themselves.

Monitoring and alerting in production

Braintrust has log alerts, which fire when production logs match a SQL filter, and time-window alerts, which fire when a SQL calculation over a window crosses a threshold, for example an average score dropping below target. Both go to Slack, PagerDuty or a webhook, with a minimum interval between notifications. Logs are evaluated in batches, so matches during a suppressed interval aren't reported later; pick an interval short enough to act on. Creating alerts needs Starter with on-demand usage enabled, Pro or Enterprise.

Langfuse alerts fire on metrics over observations and scores, such as counts, p95 latency, average cost or an evaluation score, with separate warning and alert thresholds, and deliver to Slack, webhooks or GitHub Actions. Whichever you pick, put an alert on your evaluator's score, not just on error rate: an agent that returns 200 with the wrong answer never trips an error alert.

Pricing: compare on your own volumes

We don't quote prices here: both vendors change them, and they meter different things, so a plan-by-plan comparison misleads. Braintrust bills processed data, measured in bytes at ingestion across logs, experiments and datasets, and counts every score recorded, from offline evals, online scoring and human review alike; deleting data doesn't reduce that month's usage. Langfuse Cloud bills units, defined as traces plus observations plus scores, so an agent with many tool calls per run produces many units. Self-hosted Langfuse has no usage fee, but you pay for and operate what it runs on.

Estimate both from one real day of traces: its size in bytes for Braintrust, its count of traces, observations and scores for Langfuse. Check how long each plan keeps logs, since retention differs by plan on both. And budget judge tokens separately: LLM-as-a-judge scorers make model calls whichever platform runs them.

Which to choose

Choose Braintrust if

  • You want a managed platform and no observability infrastructure to run
  • You want production traces classified and clustered into issues automatically, without writing a scorer for each one
  • You need to score conversations logged one turn per trace, grouped by a session key
  • A Braintrust-operated data plane in your own AWS account (Enterprise BYOC) meets your data-residency rules

Choose Langfuse if

  • The whole platform, UI and login included, must run inside your network
  • An open-source licence is a procurement or audit requirement
  • You want self-hosting, with the full evaluation feature set, without an enterprise contract
  • Your team is ready to operate ClickHouse, Postgres, Redis and blob storage, or wants Langfuse Cloud as the fallback

Check before you commit

More comparisons

  • Langfuse vs LangSmith

    Langfuse vs LangSmith for teams running agents in production: licensing and self-hosting, instrumentation, offline and online evals, multi-turn scoring, alerting, and what to check on pricing.

Sources

  1. Braintrust: Deployment options
  2. Braintrust: Bring your own cloud (BYOC)
  3. Braintrust: Self-hosting
  4. Braintrust: Plans and limits
  5. Braintrust: Billing FAQ
  6. Braintrust: SDKs
  7. Braintrust: Score production traces
  8. Braintrust: Run experiments in CI/CD
  9. Braintrust: Topics
  10. Braintrust: Set up alerts
  11. Braintrust: Set up human review
  12. braintrustdata/autoevals on GitHub
  13. Langfuse: Self-hosted pricing
  14. Langfuse: Enterprise license key
  15. Langfuse joins ClickHouse
  16. Langfuse: Sessions
  17. Langfuse: Experiments in CI/CD
  18. Langfuse: Alerts
  19. Langfuse: Halo
  20. Langfuse: AI Gateway