Skip to main content

3 posts tagged with "self-hosted LLM observability"

View All Tags

Datadog LLM Observability vs Open-Source Tools: MLflow, Langfuse, Phoenix

· 16 min read

If your company already pays for Datadog, its LLM observability product is the lowest-friction way to see agent traces next to your APM and infrastructure data. If you need to run the backend yourself, keep traces for months, or avoid a per-span bill, the open-source options are Langfuse, Arize Phoenix, and MLflow. The choice mostly comes down to who hosts your trace data, how long you keep it, and how the bill scales.

This page compares Datadog with the three open-source tools using each vendor's own pricing pages, documentation, and repositories, all checked on 2026-11-24.

Updated 2026-11-24.

Disclosure: this page was written by MLflow maintainers, and MLflow is one of the four tools. This page covers the open-source project only. We kept the criteria the same for every tool and say where MLflow falls short. We list MLflow first among the open-source tools because we maintain it. The order is not a ranking.

TL;DR​

Short version for each tool:

  • Datadog: a proprietary SaaS product, billed per LLM span, with 15 days of trace retention by default. It is the strongest fit when your team already lives in Datadog.
  • MLflow: Apache-2.0, hosted by the Linux Foundation, and the one that also covers experiment tracking and a model registry. It is a broader project than a tracing-only tool.
  • Langfuse: a tracing-first product. The repository is MIT licensed, except the ee folders, and it can be self-hosted.
  • Arize Phoenix: an open-source, local-first tracing and evaluation tool under the Elastic License 2.0. Arize's own pricing page lists a managed option, Arize AX, separately.
  • All four accept OpenTelemetry traces in some form, so you can try more than one on the same instrumentation.

Why compare Datadog with open-source tools at all?​

A team that already runs Datadog for APM and logs will ask the same question in a planning meeting: do we add LLM traces to the tool we have, or run something purpose-built? Both answers are reasonable. The deciding factor is rarely features.

The question is also fairly new. Datadog's own announcement of native OpenTelemetry GenAI support is dated December 1, 2025, and says that before it, Datadog's LLM data needed its SDK or manually annotated spans sent to an HTTP API. Since then, an application instrumented once with OpenTelemetry can send the same spans to Datadog or to an open-source backend.

A note on naming. Datadog's pricing page now lists the product as Agent Observability, while its docs and blog URLs still use llm_observability and llm-otel, while the page titles now say Agent Observability. We use "Datadog" for the product on both names.

What should you compare?​

We compared the four tools on six criteria:

  1. License and governance. Can you read, run, and fork the code, and who controls it?
  2. Where the data lives. Can traces stay in infrastructure you control?
  3. OpenTelemetry. Can you send standard OTLP traces without a vendor SDK?
  4. Pricing model. What do you pay for as agent traffic grows?
  5. Retention. How long can you look back on each tier?
  6. Operations. What do you have to run and upgrade yourself?

We left out raw speed and UI polish. We did not find a published benchmark from any of the four for either, and a screenshot is not a benchmark.

How do Datadog, MLflow, Langfuse, and Phoenix compare?​

DatadogMLflowLangfuseArize Phoenix
LicenseProprietary SaaSApache-2.0MIT, except ee foldersElastic License 2.0 (source-available)
Self-hostingNot described in Datadog's docs or pricing pagemlflow server plus a SQL backend store and artifact storageDocker Compose, Helm, and Terraform templatesDocker, Kubernetes, and one-click templates
OpenTelemetryOTLP ingest over http/protobuf for GenAI conventions 1.37+ and OpenInferenceOTLP/HTTP ingest on the tracking server (3.6.0 and later), plus OTLP exportBuilt on OpenTelemetry, OTLP endpointBuilt on OpenTelemetry, with OpenInference instrumentation
Free tierFree plan: up to 40K LLM spans, 15-day retentionFree to self-host, no seat limitHobby: $0, 50k units, 30 days, 2 usersPhoenix self-hosted: free. Arize AX Free: 25k trace spans, 15 days
First paid tierPro: $160 per month annually, first 100K LLM spansNot applicableCore: $29 per month, 100k units, 90 daysArize AX Pro: $50 per month, 50k trace spans, 30 days
Bill scales withLLM spans, plus retentionYour own infrastructureUnits (traces, observations, scores)Trace spans and ingestion on AX; your infrastructure on Phoenix

Prices are list prices on each vendor's pricing page on 2026-11-24 and change often, so check the linked page before you decide. A Datadog LLM span, a Langfuse unit, and an Arize trace span are different measures, so price your own volume on each. Do not compare the three numbers directly.

1. Datadog: best when your team already runs on Datadog​

Datadog's LLM Observability docs describe tracing of "every step of your LLM application chains and calls," evaluations of "quality, privacy, and safety," and the ability to "automatically scan and redact any sensitive data in your AI applications." The same page describes Patterns, which clusters production traffic by topic, and Insights, which flags recurring cost and reliability problems.

Why teams pick it: LLM traces sit beside the APM, logs, and infrastructure data you already have. One alert, one on-call rotation, and one access model cover the whole stack. If a slow agent run traces back to a saturated database, you follow one link instead of switching tools.

OpenTelemetry: Datadog ingests OpenTelemetry traces over OTLP without its SDK. Your spans must follow the OpenTelemetry GenAI conventions (1.37 or later) or the supported OpenInference conventions, and you must enable conversion with the dd_llmobs_enabled=true resource attribute or the DD-LLMObs-Enabled: true header. The docs also list limits: spans without GenAI or OpenInference attributes are dropped, and "there may be a 3-5 minute delay" before traces appear.

Pricing: The Datadog list pricing page bills per 10K LLM spans per month. Annual list prices are $3.50 with 15-day trace retention, $5 with 30 days, $6.50 with 60 days, and $7.50 with 90 days. The list page shows $160 per month annually for the first 100K LLM spans. The product page names that plan Pro and says the free plan covers up to 40K LLM spans a month. The same page defines an LLM span as "a single call to an LLM provider" and says tool, workflow, agent, embedding, and retrieval spans are free.

A worked example, based on our reading of those lists: 500K LLM spans a month on the annual plan with 15-day retention is $160 for the first 100K plus 40 blocks of 10K at $3.50, so $300 a month. The example ignores the free allowance and applies only to the paid tier. Longer retention raises the per-span rate. Confirm the arithmetic with Datadog before you budget.

Where it falls short: Datadog is proprietary SaaS. Its docs and pricing page do not describe self-hosting, and Datadog's docs show a notice that the product is not supported on its ddog-gov sites. Retention beyond 15 days costs more per span. Langfuse's own comparison page makes similar points, but it is a competitor's page, so treat it as a claim and check Datadog's docs.

Best for: teams already on Datadog who want LLM traces in the same place and are comfortable with a vendor-hosted, per-span bill.

2. MLflow: best for tracing and evaluation in one Apache-2.0 server​

MLflow is an Apache-2.0 open-source platform for agents, LLMs, and ML models, hosted by the Linux Foundation. MLflow Tracing captures LLM and agent calls as traces, and its tracing docs say it is "fully compatible with OpenTelemetry and natively supports GenAI Semantic Conventions for export and ingestion."

Evidence: A running server plus a few lines of code traces an OpenAI app:

import mlflow

mlflow.set_tracking_uri("http://localhost:5000") # server started with `mlflow server --port 5000`
mlflow.set_experiment("agent-observability")
mlflow.openai.autolog()

The tracking server also accepts OTLP traces. The ingest docs say this needs MLflow 3.6.0 or later, an endpoint at /v1/traces, the experiment ID in the x-mlflow-experiment-id header, and a SQL-based backend store. Only OTLP over HTTP is supported, not gRPC.

Pairing it with Datadog: MLflow can also export traces to another OpenTelemetry backend. The export docs use the standard OTEL_EXPORTER_OTLP_TRACES_ENDPOINT and OTEL_EXPORTER_OTLP_TRACES_HEADERS variables. They also say that MLFLOW_TRACE_ENABLE_OTLP_DUAL_EXPORT=true sends traces to both MLflow and the other backend, and that MLFLOW_ENABLE_OTEL_GENAI_SEMCONV=true emits gen_ai.* attributes. By default, exported spans use MLflow's own mlflow.* attributes.

That combination is how you would keep a full-retention copy of traces in MLflow while also sending them to Datadog. Datadog needs GenAI conventions 1.37 or later and its own header and resource attribute, so check that the attributes MLflow emits meet that bar. We have not tested that path end to end, and the docs for both sides give no Datadog-specific example.

Where it falls short: MLflow is a broader project than a tracing-only tool, so GenAI-only products can move faster on a narrow feature. Self-hosting means you own upgrades, storage, and access control, and fine-grained permissions for shared resources only arrived in 3.17.0 (2026-10-07). MLflow does not replace an APM, and we have not verified that it has a built-in equivalent to Datadog's automatic sensitive-data scanning. Hosted MLflow services exist, but this entry describes the open-source project only.

Best for: teams that want one self-hosted Apache-2.0 server for traces, evaluation, and the model lifecycle. For setup details, see our LLM tracing guide and the MLflow observability overview.

3. Langfuse: best for a tracing-first product you can self-host​

Langfuse is an LLM observability platform whose repository is "MIT licensed, except for the ee folders." The README says Langfuse is "built on OpenTelemetry," so any OpenTelemetry-instrumented application, framework, or collector can send it traces.

Evidence: You can deploy it with Docker Compose on one machine, or with Helm and Terraform templates for AWS, Azure, and GCP. The README calls Helm on Kubernetes the preferred production deployment. Its self-hosting docs cover the architecture and configuration options.

Pricing: Langfuse Cloud charges per unit, where a unit is a trace, an observation, or a score. Hobby is free with 50k units and 30 days of data access. Core is $29 per month with 100k units and 90 days. Pro is $199 per month with 3 years of access. Overage is $8.00 per 100k units up to 1M units, with lower rates above that.

Where it falls short: The ee folders are not MIT, so check which enterprise features you need before you assume the whole product is permissive. A self-hosted Langfuse is more to operate than a single service, and you own upgrades and backups. Langfuse covers tracing, evaluation, and prompt management, but not APM, classical experiment tracking, or a model registry.

Best for: teams that want a dedicated tracing product, a permissive core license, and the option to run it themselves. For a longer one-to-one view, see our Langfuse alternative page.

4. Arize Phoenix: best for local-first debugging and notebooks​

Arize's pricing page describes Phoenix as an open-source, local-first platform for tracing, evaluation, experimentation, and prompt iteration. Its repository says it is built on OpenTelemetry and that auto-instrumentation comes from the separate OpenInference project. The same instrumentation works with Phoenix and with Arize's managed platform, Arize AX.

License: The repository states that Phoenix "is licensed under the terms of the Elastic License 2.0 (ELv2)." ELv2 is source-available, not an OSI-approved open-source license, and it limits offering the software as a managed service. If your legal team needs an OSI license, that matters.

Self-hosting: The repository lists Docker, Docker Compose, and Kubernetes with Helm. Arize's self-hosting docs add one-click templates for Railway, Render, Google Cloud, Azure, and AWS CloudFormation, and say Phoenix is "free to self-host with no feature limitations."

Pricing: Phoenix itself has no price. The managed Arize AX tiers are on the Arize pricing page: Free is $0 with 25k trace spans a month, 1 GB of ingestion, and 15-day retention, and Pro is $50 per month with 50k trace spans, 10 GB, and 30-day retention.

Where it falls short: The license is the main one. Phoenix is also built around tracing, evaluation, and experimentation, so teams that want a model registry or experiment tracking for classical ML need another tool.

Best for: teams that want to start tracing on a laptop and later decide whether to self-host or move to a managed tier. For a longer comparison, see our Arize Phoenix alternative page.

Which tool fits which team?​

Three scenarios show how the criteria play out.

  • A platform team that already runs Datadog for everything. An on-call engineer gets paged on a latency spike and wants the LLM call in the same trace view as the database. Datadog does that without a new system. Check the retention first: 15 days by default is short if you debug regressions that surface weeks later.
  • A regulated company whose traces contain customer prompts. Traces must stay in your network, and the license may need to be OSI-approved. Datadog does not describe self-hosting, and Phoenix is under ELv2. Langfuse (MIT core) and MLflow (Apache-2.0) are the options you can run yourself. Each needs a database and storage you operate.
  • An ML team that already tracks experiments. If your models already log to MLflow, agent traces land beside the runs and models they relate to, and LLM-judge evaluation uses the same server. A separate tracing product means a second system and a second place to look.

Can you use Datadog and an open-source tool together?​

Yes, and for many teams it is the practical answer. Because every tool in this comparison speaks OpenTelemetry, you instrument once and choose where the spans go. A collector or a dual-export setting can send a copy to Datadog for alerting and a copy to an open-source backend for long retention and evaluation.

The cost is two systems to keep consistent. Decide up front which one is the system of record, or you will argue later about whose numbers are right.

Which one should you pick?​

Start from the constraint you cannot change.

  • Your team already runs Datadog and wants one pane of alerts: Datadog. Budget for spans, and check retention against how far back you debug.
  • Traces must stay in your network, and the license must be open source: MLflow or Langfuse. Choose MLflow if you also want evaluation and a model registry in the same server. Choose Langfuse if you want a tracing-first product.
  • You want to start on a laptop and decide on hosting later: Phoenix, after your legal team has read ELv2.
  • You want long retention at a predictable cost: a self-hosted open-source backend, with the operations work that implies.

If you are choosing today, send the same agent's traces to two of them for a week. Real volume and retention needs show up in a bill faster than a feature list does.

FAQ​

Is Datadog LLM Observability open source?​

No. Datadog's LLM Observability, now listed as Agent Observability on its pricing page, is a proprietary SaaS product. Its docs and pricing page do not describe self-hosting the backend.

Can I send OpenTelemetry traces to Datadog LLM Observability?​

Yes. Datadog accepts OTLP traces over http/protobuf if your spans follow the OpenTelemetry GenAI conventions 1.37 or later or the supported OpenInference conventions. You must also turn on conversion with dd_llmobs_enabled=true or the DD-LLMObs-Enabled: true header.

How much does Datadog LLM Observability cost compared with Langfuse?​

They bill on different units, so no single number is fair. Datadog lists $160 per month annually for the first 100K LLM spans, then $3.50 per 10K spans with 15-day retention. Langfuse Core is $29 per month with 100k units and 90 days, where a unit is a trace, an observation, or a score. Price your own volume on both.

Is Arize Phoenix open source?​

Phoenix is source-available under the Elastic License 2.0, which is not an OSI-approved open-source license. The code is public and free to self-host. The license limits offering it as a managed service.

Can MLflow send traces to Datadog?​

MLflow can export traces over OTLP to another OpenTelemetry backend, and a dual-export setting keeps them in MLflow too. Datadog requires its own header and a GenAI-conventions-compliant span format, and we have not tested that combination end to end.

Which is best for LLM observability?​

There is no single best. For an existing Datadog estate, look at Datadog. For an open-source license and self-hosting, look at MLflow or Langfuse. For local-first debugging, look at Phoenix.

Next step​

If you want to try MLflow, start the server with mlflow server --port 5000, add mlflow.openai.autolog() to your agent, and compare the trace view with the tool you use today. Our LLM tracing guide walks through the setup, and OpenTelemetry for LLM apps explains how the export side works. For the wider field, see the top agent observability tools.

Braintrust vs LangSmith vs Langfuse (and MLflow) for Agent Observability

· 13 min read

For agent observability, pick Langfuse if you want a tracing-first product with an MIT-licensed core, LangSmith if you build on LangChain or LangGraph and want a managed service, Braintrust if you want a hosted evaluation workflow, and MLflow if you want Apache-2.0 tracing and evaluation in one server you run yourself. The right answer depends on three things: who hosts your trace data, how the license reads, and how the bill scales.

This page compares the four on those three points, using each vendor's own pricing page, documentation, and repository, all checked on 2026-11-05.

Disclosure: this page was written by MLflow maintainers, and MLflow is one of the four tools. This page covers the open-source project only. We kept the criteria the same for every tool and say where MLflow falls short.

TL;DR​

Short version for each tool:

  • Langfuse: the only one of the three dedicated products with a stated open-source license for its platform, in our reading. The repository is MIT licensed, except the ee folders.
  • LangSmith: the lowest-friction path if your agents already use LangChain or LangGraph. Self-hosting is an Enterprise add-on.
  • Braintrust: priced on processed data and scores, with 14 or 30 days of retention on the self-serve plans. Hybrid self-hosting is closed to new customers from 2026-11-04, so verify the current options with Braintrust.
  • MLflow: Apache-2.0, hosted by the Linux Foundation, and the one that also covers experiment tracking and a model registry. Its tradeoff is breadth: it is a larger project than a tracing-only tool.
  • All four accept or emit OpenTelemetry traces in some form. The details differ, and the table below spells them out.

What does agent observability need from a tool?​

An agent run is a tree: model calls, tool calls, retrieval steps, and sub-agents, often across several turns. Agent observability means capturing that tree as a trace, grouping traces into sessions, attaching cost and quality scores, and letting you search the result.

We compared the tools on six criteria:

  1. License and governance. Can you read, run, and fork the code, and who controls it?
  2. Where the data lives. Can traces stay in your own infrastructure?
  3. OpenTelemetry. Can you send standard OTLP traces without a vendor SDK?
  4. Pricing model. What do you pay for as agent traffic grows?
  5. Retention. How long can you look back on each tier?
  6. Evaluation. Can you score the traces you collected?

We left out raw speed and UI polish. Neither has a number any of the four vendors publishes, and a screenshot is not a benchmark.

How do Braintrust, LangSmith, Langfuse, and MLflow compare?​

BraintrustLangSmithLangfuseMLflow
LicensePlatform: hosted, no open-source license stated in its docs. SDKs: Apache-2.0SDKs are MIT; platform license not stated in its docsMIT, except ee foldersApache-2.0
Self-hosting"Legacy" data plane you host; closed to new customers from 2026-11-04. BYOC is documentedEnterprise add-on, runs on your Kubernetes clusterDocker Compose (local and testing), Helm and Terraform for productionmlflow server plus a SQL backend store and artifact storage (SQLite and local files work for a trial)
OpenTelemetryOTLP ingest endpointOTLP ingest endpointBuilt on OpenTelemetry, OTLP endpointOTLP ingest endpoint on the tracking server (3.6.0 and later)
Free tierStarter: $0, 1 GB processed data, 14 daysDeveloper: $0, 1 seat, 5k base traces, 14 daysHobby: $0, 50k units, 30 days, 2 usersFree to self-host, no seat limit
First paid tierPro: $249/month, 30 daysPlus: $39 per seat/month, 10k base traces, 14 daysCore: $29/month, 100k units, 90 daysNot applicable
What the bill scales withProcessed GB and scoresSeats and tracesUnitsYour own infrastructure

Prices are list prices on each vendor's pricing page on 2026-11-05. Higher tiers exist, such as Langfuse Pro at $199 a month, and prices change, so check the linked page before you decide. Units, base traces, and processed GB are different measures, so price your own volume on each.

1. Langfuse: best for a tracing-first product you can self-host​

Langfuse is an LLM observability platform whose repository is "MIT licensed, except for the ee folders." The ee code falls under a separate license in ee/LICENSE, and its self-hosting docs say some add-on features need a license key.

Evidence: Langfuse says it is built on OpenTelemetry and that any OpenTelemetry-instrumented app, framework, or collector can send it traces. You can deploy it with Docker Compose on one machine, or with Helm and Terraform templates for AWS, Azure, and GCP (repository). The self-hosted architecture depends on PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible blob storage (self-hosting docs).

Pricing: Langfuse Cloud charges per unit. Hobby is free with 50k units and 30 days of data access. Core is $29/month with 100k units and 90 days. Pro is $199/month with 3 years of access. Overage is $8 per 100k units, with lower rates at volume.

Where it falls short: A self-hosted Langfuse needs PostgreSQL, ClickHouse, Redis or Valkey, and blob storage, which is more to operate than a SQL database and an artifact store. The ee features are not MIT, so check which ones you need before you assume the whole product is permissive.

Best for: teams that want a dedicated tracing product, a permissive core license, and the option to run it themselves.

2. LangSmith: best for LangChain and LangGraph teams that want a managed service​

LangSmith is LangChain's observability and evaluation platform. It works outside LangChain too: its OpenTelemetry guide says LangSmith "receives spans at its OTLP endpoint," and documents tracing non-LangChain agents with a standard OpenTelemetry client.

Evidence: The LangSmith pricing page lists Developer at $0 per seat with 5k base traces a month, Plus at $39 per seat with 10k base traces, and Enterprise at custom pricing. Base trace retention is 14 days on Developer and Plus, and extended 180-day retention is an upgrade at an extra fee. Seats are part of the bill, so cost grows with team size as well as trace volume.

Self-hosting: The pricing page lists self-hosting only under Enterprise. The self-hosted docs describe it as an Enterprise add-on that runs in your own Kubernetes cluster, backed by ClickHouse, PostgreSQL, and Redis or Valkey. The Python and JavaScript SDK repositories are MIT licensed, but we found no open-source license for the platform itself in LangSmith's docs.

Where it falls short: If data residency or a permissive license is a hard requirement, the path runs through an Enterprise contract. Per-seat pricing also adds up for wide teams where many people only need to read traces.

Best for: teams already on LangChain or LangGraph who want a managed service and are fine paying per seat.

3. Braintrust: best for a hosted workflow built around scores​

Braintrust is a hosted platform for tracing and evaluating LLM apps. Its JavaScript and Python SDKs are Apache-2.0, but we found no open-source license for the platform in its docs.

Its pricing page shows how it meters usage: processed data in GB and scores, not seats. Starter is $0 with 1 GB of processed data, 10k scores, and 14 days of retention. Pro is $249/month with 5 GB, 50K scores, and 30 days, and retention extends at $0.50 per GB per month.

OpenTelemetry: Braintrust's OpenTelemetry docs describe an OTLP traces endpoint at https://api.braintrust.dev/otel/v1/traces. They describe sending data into Braintrust, not exporting it to another OpenTelemetry backend.

Self-hosting: Braintrust's self-hosting guide describes a hybrid model. You run the data plane, which stores traces, spans, and datasets, and Braintrust runs the control plane with the UI and authentication. The guide also says that "starting November 4, 2026, it isn't available to new customers," and points to Bring your own cloud (BYOC) for data residency.

Where it falls short: Hybrid self-hosting is now closed to new customers, and the docs point to BYOC instead, so ask Braintrust whether that fits your data rules. A 14 or 30 day window on the self-serve plans is short if you debug regressions that surface weeks later.

Best for: teams that want a hosted product with scoring at the center, including unlimited human review scores on Pro, and are comfortable with a vendor-managed control plane. For a longer one-to-one view, see our Braintrust alternative page.

4. MLflow: best for tracing and evaluation in one Apache-2.0 server​

MLflow is an Apache-2.0 open-source platform for agents, LLMs, and ML models, hosted by the Linux Foundation. MLflow Tracing captures LLM and agent calls as traces, and its tracing docs say it is "fully compatible with OpenTelemetry and natively supports GenAI Semantic Conventions for export and ingestion." The open-source tracking server accepts OTLP traces, which needs a SQL backend store and an experiment ID header (ingest docs).

Evidence: A running server plus a few lines of code traces an OpenAI app:

import mlflow

mlflow.set_tracking_uri("http://localhost:5000") # server started with `mlflow server --port 5000`
mlflow.set_experiment("agent-observability")
mlflow.openai.autolog()

The same server groups traces into sessions, records token usage and cost, and runs LLM-judge evaluation on traces you already collected. The tracing docs describe OpenTelemetry compatibility for both export and ingestion, and Full OpenTelemetry Support in MLflow Tracing covers the ingest side.

Where it falls short: MLflow is a broader project than a tracing-only tool, so GenAI-only products can move faster on a narrow feature. Self-hosting means you own upgrades, storage, and access control, and fine-grained permissions for shared resources only arrived in 3.17.0 (2026-10-07). Hosted MLflow services exist, but this entry describes the open-source project only.

Best for: teams that want one self-hosted Apache-2.0 server for traces, evaluation, and the model lifecycle. For one-to-one comparisons, see MLflow vs Langfuse and MLflow vs LangSmith.

Which tool fits which team?​

Three scenarios show how the criteria play out.

  • A five-person startup shipping a LangGraph agent. LangSmith's Developer tier is free for one seat, but Plus is $39 per seat, so a five-person team pays $195 a month before trace overage. Langfuse Core is $29 a month with unlimited users, 100k included units, and 90 days of data access. Units and traces are different measures, and Langfuse overage is $8 per 100k units, so price your own volume on both. If the agent isn't tied to LangChain, Langfuse Core's cost does not grow with team size, only with units past the included 100k.
  • A platform team at a regulated company. Traces contain customer prompts, so they must stay in your network. Braintrust points new customers to Bring your own cloud (BYOC), and LangSmith self-hosting is available on Enterprise. Neither platform has a stated open-source license, though their SDKs are open source. MLflow (Apache-2.0) and Langfuse (MIT core) are the open-source options you can start with today. Each needs a database and storage you operate.
  • An ML team that already tracks experiments. If your models already log to MLflow, agent traces land beside the runs and models they relate to, and LLM-judge evaluation uses the same server. A tracing-only product means a second system to run and a second place to look.

The $195 figure is five seats at LangSmith's listed $39 per seat, with no overage. Your own number depends on trace volume.

Which one should you pick?​

Start from the constraint you cannot change.

  • Traces must stay in your network, and the license must be open source: MLflow or Langfuse. Choose MLflow if you also want evaluation and a model registry in the same server. Choose Langfuse if you want a tracing-first product and can run PostgreSQL, ClickHouse, Redis, and blob storage.
  • Your agents run on LangChain or LangGraph, and you want a managed service: LangSmith. Budget for seats.
  • You want hosted evaluation with scores as the main unit: Braintrust. Check retention against how far back you debug.
  • You already run an OpenTelemetry collector: all four can take OTLP traces, so lean on whichever backend your team will actually operate.

If you are choosing today, run the same agent through two of them for a week. Trace volume and retention needs show up in a real bill faster than a feature list does.

FAQ​

Is Langfuse really open source?​

The Langfuse repository is MIT licensed except for its ee folders, which fall under a separate license in ee/LICENSE. The core tracing product is MIT. Enterprise add-ons in the ee folders are not.

Can LangSmith be self-hosted?​

Yes, on the Enterprise plan. LangSmith's docs describe self-hosting as an Enterprise add-on that runs in your own Kubernetes cluster. The Developer and Plus plans do not include it.

Can I still self-host Braintrust?​

Not if you are a new customer. Braintrust's docs say hybrid self-hosting is not available to new customers starting 2026-11-04, and they point to Bring your own cloud (BYOC) for data residency.

Which of these works with OpenTelemetry?​

All four accept or emit OpenTelemetry traces. Braintrust, LangSmith, and Langfuse document OTLP ingest endpoints, and MLflow is compatible with OpenTelemetry and its GenAI semantic conventions. Check each docs page for the exact endpoint and headers.

Which is best for agent observability?​

There is no single best. For an open-source license and self-hosting, look at MLflow or Langfuse. For a managed LangChain workflow, look at LangSmith. For hosted score-driven evaluation, look at Braintrust.

Next step​

If you want to try MLflow, start the server with mlflow server --port 5000, add mlflow.openai.autolog() to your agent, and compare the trace view with the tool you use today. Our LLM tracing guide walks through the setup, and best LLM tracing tools for multi-agent systems covers the multi-agent case.

Best Open-Source LLM Tracing Tools in 2026

· 11 min read

The best open-source LLM tracing tool depends on three things: whether you need a backend or only instrumentation, whether the license is truly open source, and whether traces leave your app as standard OpenTelemetry. This page ranks six tools by how much of the tracing workflow each one covers on its own, using each project's own repository and docs.

We work on MLflow Tracing, and this is the comparison we'd want if we were picking a tracer today: licenses, OpenTelemetry support, and what each tool takes to run.

Disclosure: the MLflow team wrote this guide, and MLflow is ranked first. The ranking uses one criterion: how much of the tracing workflow each tool covers on its own, from capturing traces to self-hosting the backend. License breaks ties: OSI-approved open source ranks above source-available. Each entry says where the tool falls short.

TL;DR​

  • Our ranking: MLflow, Arize Phoenix, Langfuse, Opik, OpenLIT, OpenLLMetry.
  • Need tracing, evaluation, and a model registry in one Apache-2.0 server? Look at MLflow.
  • The license matters: Arize Phoenix is source-available under Elastic License 2.0, which the Open Source Initiative does not approve as open source.
  • Need a tracing-first product with a permissive MIT core? Look at Langfuse.
  • Already run an OpenTelemetry backend and only need LLM instrumentation? Look at OpenLLMetry.

How we picked and ranked​

A tool made the list if it traces LLM or agent calls, can run on your own infrastructure, and has a public repository. We ranked them on one criterion: how much of the tracing workflow each tool covers on its own. License breaks ties. The workflow has five steps:

  1. Capture traces from any language through OpenTelemetry.
  2. Debug them in a UI.
  3. Track cost and sessions.
  4. Evaluate what you traced.
  5. Self-host with as little as possible to run.

MLflow and Arize Phoenix cover all five steps with a single process. MLflow ranks above Phoenix because MLflow is Apache-2.0, an OSI-approved open-source license, while Phoenix is Elastic License 2.0, which is source-available. Langfuse and Opik cover the first four steps, but a self-hosted deployment runs several services, and Opik's stack is the larger of the two. OpenLIT is lighter to run, but its README documents a sessions view only for coding agents. OpenLLMetry is last because it ships no UI or backend of its own. Facts come from each project's GitHub repository, license file, README, and docs, checked on 2026-11-02. Versions and licenses change, so check the linked source before you commit.

1. MLflow: best for tracing, evaluation, and the model lifecycle in one Apache-2.0 server​

MLflow is an Apache-2.0 open-source platform for agents, LLMs, and ML models, a Linux Foundation project. MLflow Tracing captures LLM and agent calls as OpenTelemetry-compatible traces, and the open-source MLflow server accepts traces over OTLP from any OpenTelemetry-instrumented app.

Evidence: The MLflow README lists observability, evaluation, and OpenTelemetry integration, and the repository is licensed Apache-2.0. MLflow 3.6.0 added an OTLP endpoint on the tracking server (release notes; see also Full OpenTelemetry Support in MLflow Tracing). MLflow 3.16.0 made a redesigned trace explorer the default and added span links (release notes). The latest release at the time of writing is 3.17.2, published 2026-10-21.

A minimal setup for an OpenAI app is a running server plus two lines of code:

import mlflow

mlflow.set_tracking_uri("http://localhost:5000") # server started with `mlflow server --port 5000`
mlflow.openai.autolog()

Why it's here: MLflow covers every step on its own. One mlflow server process stores traces, shows them in the trace UI, groups them by user and session, records token usage and cost, and runs LLM-judge evaluation on them. The same server also tracks experiments and registers models if you need that. The tradeoff is breadth: GenAI-only tools can move faster on a narrow feature. Hosted MLflow services exist, but this entry describes the open-source project only. For a deeper look at agents, see best LLM tracing tools for multi-agent systems.

2. Arize Phoenix: best for local trace and eval debugging with OpenInference​

Arize Phoenix is a source-available, self-hosted LLM tracing and evaluation app built on OpenTelemetry. It uses OpenInference instrumentation for frameworks such as LangGraph, CrewAI, LlamaIndex, and DSPy. Its code is released under Elastic License 2.0, which the Open Source Initiative (OSI) does not approve as an open-source license.

Evidence: The Phoenix README describes tracing "using OpenTelemetry-based instrumentation" and lists Docker Compose and Kubernetes/Helm for self-hosting. The LICENSE file is Elastic License 2.0 (ELv2). Arize sells a separate managed product, Arize AX, that accepts the same instrumentation.

Why it's here: Phoenix also covers every step in one process: phoenix serve starts the app, and its docs cover sessions and cost tracking. It ranks below MLflow only on license. It is a good fit when you want one local app for traces and evals and you are comfortable with ELv2. ELv2 limits offering the software as a hosted service, so read it before you build a product on it.

3. Langfuse: best for a tracing-first product with a permissive core​

Langfuse is an open-source LLM engineering platform for tracing, evaluation, and prompt management. Most of the repository is MIT licensed, and the ee/ directories carry a separate license. You can self-host it with Docker Compose. Langfuse became part of ClickHouse in January 2026.

Evidence: The Langfuse README shows an MIT badge, documents self-hosting, and states it has been "part of ClickHouse" since January 2026. The LICENSE file says content under the ee/ directories is licensed separately. The latest release at the time of writing is v4.72.0, published 2026-10-29.

Why it's here: Langfuse covers the first four steps. It accepts OpenTelemetry traces and documents sessions and token and cost tracking. Self-hosting is heavier: its Docker Compose file runs web and worker containers plus Postgres, ClickHouse, Redis, and MinIO. It is a strong, focused choice if tracing and prompt management are the whole job. If you also track classic ML experiments or register models, you will run a second tool. Check Langfuse's open-source docs for which features sit behind the ee/ license before you plan around them.

4. Opik: best for a fully Apache-2.0 platform with evaluation built in​

Opik is an open-source LLM observability and evaluation platform built by Comet. The full platform, including the backend and web app, is Apache-2.0 licensed and free to self-host. It covers agent tracing, LLM evaluation, prompt management, and production monitoring in a single deployment.

Evidence: The Opik README states that the repository includes "the server backend, web application, tracing, datasets, experiments, evaluations, prompt management" under Apache-2.0. The latest release at the time of writing is 2.2.137, published 2026-10-30.

Why it's here: Opik covers the first four steps. It accepts OpenTelemetry traces, logs conversations, and tracks cost. It is the heaviest to self-host here: its Docker Compose file runs MySQL, Redis, ClickHouse, ZooKeeper, and MinIO next to its backend and frontend services. Opik is the option to check if you want every feature under one permissive license with no enterprise-only tier for self-hosting. Its README comparison table is written by Comet, so treat its claims about other tools as one vendor's view and verify them yourself.

5. OpenLIT: best for OpenTelemetry-native tracing with GPU and cost monitoring​

OpenLIT is an Apache-2.0 open-source platform that traces, evaluates, and guards AI agents using OpenTelemetry. It also monitors cost and GPU usage. It auto-instruments LLM providers, frameworks, and vector databases, and exports standard OpenTelemetry traces and metrics to an endpoint you choose.

Evidence: The OpenLIT README states that it is "free to self-host under Apache 2.0," lists 70+ integrations, and shows setup by pointing OTEL_EXPORTER_OTLP_ENDPOINT at a collector. The latest release at the time of writing is openlit-2.1.1, published 2026-10-26.

Why it's here: OpenLIT is light to self-host: its Docker Compose file runs OpenLIT, ClickHouse, and NATS. It covers capture, the UI, cost, and evaluation, but its README documents a sessions view only for coding agents. It suits teams that run their own models and care about GPU metrics next to traces. Its GitHub community (about 2,900 stars on 2026-11-02) is smaller than most tools here, so check that the integrations you need are maintained.

6. OpenLLMetry: best when you already have an OpenTelemetry backend​

OpenLLMetry is an Apache-2.0 set of OpenTelemetry instrumentations for LLM providers and vector databases, plus the Traceloop SDK. It is instrumentation, not a trace viewer. It sends standard OpenTelemetry data to backends you already run, such as Datadog or Honeycomb.

Evidence: The OpenLLMetry README says the repository contains "standard OpenTelemetry instrumentations for LLM providers and Vector DBs" and that its semantic conventions are now part of OpenTelemetry. The repository is Apache-2.0. The latest release at the time of writing is 0.62.4, published 2026-09-29.

Why it's here: If your platform team already runs an observability stack, OpenLLMetry adds LLM spans without a new vendor. The repository ships instrumentation, not a trace viewer, so pair it with a backend that shows and stores the traces.

Which one should you pick?​

If you needStart with
Tracing, evaluation, and a model registry in one serverMLflow
A local app for trace and eval debugging, with ELv2 acceptedArize Phoenix
A tracing-first product with prompt managementLangfuse
Everything under Apache-2.0, evaluation includedOpik
OpenTelemetry tracing plus GPU and cost monitoringOpenLIT
LLM spans in an OpenTelemetry stack you already runOpenLLMetry

Because every tool here accepts or emits OpenTelemetry, you can often change backends without re-instrumenting your app. Attribute names differ, though: Phoenix uses OpenInference conventions, while OpenLLMetry has contributed its conventions to OpenTelemetry, so the same span can look different in another backend. Test with your own traces before you commit. For more on the standard, read OpenTelemetry for LLMs, and for a wider survey that includes commercial products, see Top LLM Observability Tools in 2026.

FAQ​

What is the best open-source LLM tracing tool?​

On the criterion in this guide, MLflow ranks first: one Apache-2.0 server process covers OpenTelemetry capture, the trace UI, cost and sessions, and evaluation. Arize Phoenix also covers every step in one process and ranks second because its Elastic License 2.0 is source-available rather than OSI-approved open source. If you already run an OpenTelemetry backend, OpenLLMetry may be all you need, so weigh license, self-hosting, and OpenTelemetry support against your own stack.

Is Arize Phoenix open source?​

Phoenix publishes its source code under Elastic License 2.0. The Open Source Initiative does not approve that license, so it is usually called source-available. You can self-host it and read the code, but ELv2 restricts offering the software as a managed service.

Do I need OpenTelemetry for LLM tracing?​

You do not need it, but it helps. OpenTelemetry is a vendor-neutral standard, so traces from OpenTelemetry-based tools can usually go to more than one backend. MLflow, Phoenix, OpenLIT, and OpenLLMetry all build on it.

Can I self-host these tools?​

Yes. Every tool here can run on your own infrastructure. OpenLLMetry is the exception in kind: it is instrumentation, so you also need a backend to receive the traces.

Next step​

Pick one tool from the table and trace a single real request through it this week. If MLflow is your shortlist, the MLflow tracing quickstart gets a first trace running in a few minutes.