PrefactorvsDatadogvsLangSmith

Datadog vs LangSmith: how to choose

Both trace agents, run experiments on datasets, score production traffic and version prompts. Datadog is the natural pick when your services already report to Datadog and you want agent traces beside them; LangSmith is the pick for teams on LangChain or LangGraph, or anyone who needs a self-hosted deployment.[1][4]

support-agent v4 · one run, two layersexample
Illustrative run, showing what each layer tells you
Datadog / LangSmithsee
fetch_customer212ms · 1.2k tok
apply_refund1.4s · 3.1k tok
send_reply340ms · 0.8k tok
trace recorded, no verdict
Prefactoradds
Did its job✓ yes
Quality84 / 100
Cost$0.42 · in budget
Drift vs baselinenone
✓ a run that breaches its schema is held for review
§01 / THE SHORT ANSWERtl;dr: which, and when
TL;DR

What is the difference between Datadog and LangSmith?

Datadog Agent Observability, renamed from LLM Observability in June 2026, is a module of the Datadog platform that puts agent traces next to your APM and infrastructure data, while LangSmith is a standalone platform from LangChain built for the agent development loop. Datadog bills only on LLM spans and has no self-hosted option. LangSmith bills per seat and traces and can be self-hosted on an Enterprise contract.

The short answer

At a glance (checked 20 October 2026)

Decision factorDatadogLangSmith
OwnershipDatadog, public company (Nasdaq: DDOG); needs a Datadog accountLangChain, independent; $125M Series B in October 2025
What it sits besideDatadog APM, infrastructure and RUM dataLangChain, LangGraph, Deep Agents and LangSmith Deployment
Code evaluators in productionRun in your application and submitted by API; automatic only in ExperimentsRun automatically through automation rules, offline and online
Blocking at run timeNot in Agent Observability; needs AI Guard, a separate product in limited availabilityPartial: LLM Gateway (beta) caps spend, restricts models and redacts model calls
Self-hostingNone; Datadog-hosted onlyEnterprise add-on on Kubernetes; BYOC also Enterprise
Free tier40K LLM spans a month, 15-day retentionDeveloper: 1 seat, 5k base traces a month, 14-day retention
First paid tierPro: $160 a month billed annually for 100K LLM spansPlus: $39 per seat a month, 10k base traces
§02 / CAPABILITY MATRIXside by side: what each covers
Side by side

Datadog vs LangSmith: capabilities side by side

CapabilityDatadogLangSmithPrefactor
Observe
LLM call tracing✓✓✓
Multi-step agent tracing (tool calls, nested spans)✓✓✓
Cost tracking✓✓✓
OpenTelemetry support✓✓✓
Evaluate
Offline evals (datasets, experiments)✓✓✓
Online evals on production traffic✓✓✓
LLM-as-a-judge scoring✓✓✓
Code-based evaluators✓✓✓
Human review and annotation✓✓✓
Prompt versioning and playground✓✓—
Act on findings
Runtime controls on live agent actionsPartialPartial✓
Gateway or proxy in the request path———
Licence and deployment
Open sourcePartialPartialPartial
Self-hosting—✓Partial
§03 / IN DEPTHdetail: the reasoning
In depth

Do your services already report to Datadog

This is usually the deciding question. Agent Observability is one product inside the Datadog platform, and its main draw is correlation: an agent trace links to the backend services, hosts and front-end sessions around it. If an agent slows down because a database it calls is struggling, you see both in one place. Datadog renamed the product from LLM Observability to Agent Observability in June 2026; its documentation still sits under the old path.

Read more

LangSmith stands alone. It does not try to monitor your wider estate, and it goes further into the agent development loop: datasets built from traces, experiments, annotation queues, a Prompt and Context Hub with commit-based versioning, Engine for drafting fixes from production traces, and LangSmith Deployment for running LangGraph agents. Teams without Datadog lose nothing by choosing it, and teams on LangChain gain the deepest integration available.

The trade-off is reach versus depth. Datadog sees everything around the agent but treats agent evaluation as one module among many, and several of its newer agent features were still in Preview in mid-2026. LangSmith sees only the agent work, but every part of the product is aimed at it.

How evaluation runs in each

Both run LLM-as-judge evaluators on sampled production traffic and score experiments against versioned datasets. One difference matters for agents with deterministic checks. In Datadog, code evaluators run automatically in Experiments, but in production you run them in your own application and submit results with the SDK or HTTP API. LangSmith runs code evaluators online through its automation rules, including on multi-turn threads.

Read more

Datadog's judges run on your own provider account, such as OpenAI, Anthropic, Vertex AI or Bedrock, so judge cost appears on that bill. Datadog also recognises evaluators from DeepEval, Pydantic Evals and NVIDIA NeMo. Some Datadog features, including Patterns and parts of prompt versioning, were in Preview as of mid-2026.

Instrumentation is broad on both sides. Datadog auto-instruments the OpenAI Agents SDK, LangGraph, CrewAI, the Claude Agent SDK, Google ADK, Pydantic AI and MCP clients, and accepts OTLP directly. Its Java SDK auto-instruments only OpenAI, and its Go SDK is experimental. LangSmith ships SDKs for Python, TypeScript, Go and Java.

Blocking and hosting

Agent Observability monitors and evaluates but does not block. Datadog sells blocking of prompts, responses and tool calls through AI Guard, a separate product billed per token scanned and in limited availability. LangSmith's LLM Gateway, in public beta since 30 July 2026, sits in the model-call path and can cap spend, restrict models and redact personal data, but it does not cover tool calls.

Read more

Datadog documents no self-hosted deployment, and the product is not available on Datadog's US government sites. Lapdog, its local trace viewer, is for development only. LangSmith offers cloud regions in the US, EU and APAC, plus self-hosted and BYOC deployments on Enterprise.

Default retention is close: 15 days on Datadog, with 30, 60 or 90 days as paid add-ons, and 14 days for LangSmith base traces, with extended retention up to 180 days.

Pricing shape

As of 20 October 2026, Datadog bills only spans that call an LLM provider; tool, agent, retrieval and embedding spans are free. The free plan covers 40K LLM spans a month with 15-day retention. Pro is $160 a month billed annually for the first 100K LLM spans, then $3.50 per 10K, with longer retention as a paid add-on. LangSmith's Developer tier is free for one seat and 5k base traces, and Plus is $39 per seat a month with 10k base traces; the overage rate per trace is not published.

Read more

Datadog cost follows model-call volume and ignores team size; LangSmith cost follows seats as well as traces. Check Datadog's pricing and LangSmith's pricing against your own volumes.

§04 / THE QUALITY GAPour take: where it stops
Our take

Where Prefactor fits

We sell the layer this section describes. Read it with that in mind.

Stated plainly, since Prefactor publishes this page: Prefactor is an agent evaluation platform that scores each step of a run and acts on what it finds through runtime policies on tool calls and data access, approval holds for risky actions, and a kill switch for a run, an agent or a team. Datadog keeps blocking in AI Guard, a separate product, and LangSmith's gateway covers model calls only; neither documents approval holds. Prefactor has no prompt playground or prompt registry, is hosted, and does not monitor your wider infrastructure the way Datadog does. See the full comparison of 15 platforms.

See it on your own agents

A working session on a fleet like yours: watch a run evaluated, catch a drift, walk the record.

§05 / WHICH TO PICKdecide: by your stack
Which to pick

Which one fits

Pick Datadog if

  • Your services, hosts and front end already report to Datadog.
  • You want agent traces correlated with APM and infrastructure data.
  • Billing only on LLM spans, not seats or tool spans, suits your traffic.
  • A Datadog-hosted product meets your data residency needs.

Pick LangSmith if

  • You build on LangChain, LangGraph or Deep Agents.
  • You need a self-hosted or BYOC deployment.
  • You want code evaluators to run automatically on production traffic.
  • Prompt versioning and a playground are part of your daily workflow.
§06 / HOW WE REVIEWEDsources: checked October 20, 2026
Methodology

How we reviewed this comparison

Reviewed against public product and documentation pages on October 20, 2026. If a vendor has changed a feature, product name, or positioning since then, send a correction and we will update it. Numbered source links in the page body point to the ordered sources below.

Sources reviewed

  1. Datadog pricingChecked 2026-10-20.
  2. Datadog documentation
  3. Datadog website
  4. LangSmith pricingChecked 2026-10-20.
  5. LangSmith documentation
  6. LangSmith website
  7. Prefactor platform
Prefactor context

Methodology

  • Reviewed public product, documentation, and launch material visible at the time of writing.
  • Mapped each page to the primary buyer, control layer, and runtime capabilities each vendor describes publicly.
  • Prefer direct product and documentation pages over analyst summaries or reseller material.
§07 / QUESTIONSfaq: the common ones
Questions
What is the difference between Datadog and LangSmith for agents?
Datadog Agent Observability is a module of the Datadog platform that correlates agent traces with APM and infrastructure data. LangSmith is LangChain's standalone platform for tracing, evaluating, versioning prompts and deploying agents, with the deepest LangChain and LangGraph integration.
How does Prefactor compare with Datadog and LangSmith?
Prefactor is an agent evaluation platform for teams building AI agents: it observes every agent run from development to production, evaluates whether the agent did its job, and shows how to improve it. As of 20 October 2026, Prefactor can block or hold a live agent action; Datadog and LangSmith do so in part. Datadog and LangSmith both include prompt versioning and a playground. Prefactor evaluates how prompts perform in live runs rather than providing a prompt playground or registry.
Is Datadog Agent Observability the same as Datadog LLM Observability?
Yes. Datadog renamed LLM Observability to Agent Observability in June 2026, with new Free and Pro tiers. The documentation still uses the llm_observability path.
Do I need the Datadog Agent to send traces?
No. Datadog accepts OTLP traces directly using OpenTelemetry GenAI conventions or OpenInference, without its SDK or Agent, with a three to five minute ingestion delay. LangSmith also ingests OTLP and maps OpenInference and OpenLLMetry attributes.
Can I use Datadog and LangSmith together?
Yes. LangSmith's SDK can export traces to other OpenTelemetry backends, and Datadog ingests OTLP, so a team can keep LangSmith for evals and prompt work while Datadog holds the production view beside its other services. Expect to pay for both.
Can I use Datadog and LangSmith together?
Yes, through OpenTelemetry. The LangSmith SDK can export traces to other OpenTelemetry backends, and Datadog Agent Observability ingests OpenTelemetry traces directly. Running both means instrumenting once and paying for two products, so most teams settle on one for day-to-day use.
Who owns Datadog?
As of 20 October 2026: Datadog, a public company (Nasdaq: DDOG). Agent Observability is one product within the Datadog platform and needs a Datadog account.
Is Datadog open source?
Partly. The platform is proprietary SaaS; instrumentation SDKs such as dd-trace-py are open source. There is no self-hosted option.
How much does Datadog cost?
As of 20 October 2026: Free covers 40K LLM spans a month with 15-day retention. Pro is $160 a month billed annually for 100K LLM spans, then $3.50 per 10K. Only LLM spans are billed; tool and agent spans are not.
Can Datadog block or hold a live agent action?
Partly. Agent Observability monitors and evaluates but does not block. Blocking prompts, responses and tool calls needs AI Guard, a separate Datadog product in limited availability, billed per token scanned.
Who owns LangSmith?
As of 20 October 2026: LangChain, Inc., a privately held company that raised a $125M Series B at a $1.25B valuation in October 2025. No acquisition has been announced.
Is LangSmith open source?
Partly. The client SDKs are MIT-licensed and the LangChain frameworks are open source, but the LangSmith platform is proprietary. Self-hosting requires an Enterprise contract.
How much does LangSmith cost?
As of 20 October 2026: Developer is free for one seat and 5k base traces a month. Plus is $39 per seat a month with 10k base traces; the overage rate is not published. Enterprise is a custom annual contract.
Can LangSmith block or hold a live agent action?
Partly. The LLM Gateway, in public beta since July 2026, can cap spend, restrict models and redact personal data in model calls. It does not cover tool calls; LangChain describes tool and MCP gateways as planned.
Is Prefactor open source?
Partly. Its deterministic evals package is Apache-2.0; the platform is hosted.
How much does Prefactor cost?
As of 20 October 2026: Dev is free with 5,000 spans a month. Startup is $49 a month and Scaleup $199 a month. Enterprise is custom above 4 million spans a month.
Can Prefactor block or hold a live agent action?
Yes. Runtime policies can block, throttle, sandbox or escalate an agent's tool calls and data access before they run, approval routing holds risky actions for a person, and a kill switch stops a run, an agent or a team.
Reviewed against public sources on October 20, 2026Suggest a correction

Score the run, then act on it

Prefactor scores each step of every agent run and can hold or stop an action when a score says it should not happen. Start on the free tier: 5,000 spans a month, no credit card required.

Agent Performance Platform
Unified performance platform for agents, authentication, and risk management
All Systems Operational
3Global Agents
7Instances
5Services
12%Human Intervene
4High Risk
$2,360Monthly Spend
Mission ControlLive agent health with 7-day activity heartbeat
Claims Proc...68
$330/moRed
Claims Proc...65
$160/moRed
Claims Proc...82
$170/moAmber
ChatGPT74
$150/moAmber

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.