
Pydantic Logfire vs. Langfuse, LangSmith, Arize Phoenix and Braintrust: LLM Observability and Evaluation Compared
Shipping an AI agent is the easy part. Knowing what it does once real users arrive is where many teams struggle. A single request can fan out into model calls, tool invocations, retries and handoffs, and any one of those steps can drift from what you intended. Engineering teams need observability that helps them investigate the full execution path. This guide addresses LLM observability Langfuse LangSmith Arize Phoenix Braintrust official tracing evaluation capabilities through that production lens.
This guide places Pydantic Logfire next to four well-known observability platforms. We look at how each captures traces, supports evaluation, fits into an existing application stack and approaches deployment and cost. Pydantic Logfire is a full-stack, OpenTelemetry-native AI observability and evaluation platform across compatible languages, frameworks and SDKs. The goal is to help you choose a setup that improves production reliability without requiring a change of agent framework.
Why Pydantic Logfire Is a Strong Choice for AI Observability
One Platform Across the AI Engineering Stack
Pydantic Logfire combines AI and LLM observability, OpenTelemetry and evaluations across the entire engineering stack. Teams can investigate model interactions alongside tool calls, API requests, databases and infrastructure telemetry, without adopting a new agent development framework.
Evaluation workflows connect production evidence with repeatable quality checks. Teams can examine the trace behind a failed interaction, build a representative dataset and compare candidate fixes against the baseline. Pydantic AI is one supported integration, not a prerequisite for adopting Logfire.
Correlated Traces for Production Investigations
An unexpected answer may originate in a model call, an unsuccessful tool operation, a retrieval step or a downstream API. Pydantic Logfire connects instrumented agent activity with the wider application trace so engineers can inspect that sequence. Model inputs, outputs and retries can provide useful context when the integration records them. Trace coverage depends on instrumentation, configuration and context propagation across the services involved.
OpenTelemetry provides the foundation for that instrumentation. Teams can collect compatible telemetry from different frameworks and languages and route it to Pydantic Logfire or another compatible backend. This helps preserve instrumentation portability, although moving saved queries, dashboards and evaluation workflows between platforms may still require work. Pydantic AI and Pydantic Evals are optional open-source products; their MIT licenses should not be confused with the commercial platform’s terms.
- Framework-independent observability and evaluation
- AI observability, application telemetry and evaluation in one platform
- Instrumented model calls, tools and retries connected to application context
- OpenTelemetry-native instrumentation across compatible languages and frameworks
How Langfuse, LangSmith, Arize Phoenix and Braintrust Approach the Problem
Langfuse and LangSmith
Langfuse is an open-source LLM engineering platform for traces, prompt management, datasets and evaluations. Organizations can use the hosted cloud or self-host, while accounting for infrastructure, upgrades and availability. LangSmith comes from LangChain and integrates closely with LangChain and LangGraph, while also supporting other agent stacks. It covers observability, evaluation and agent deployment and accepts OpenTelemetry data. Teams considering it should assess both usage and the access allowances of the selected plan. For organizations already using LangChain or LangGraph, those integrations can simplify adoption, but framework familiarity should be weighed alongside evaluation workflows, operational coverage and cost.
Arize Phoenix and Braintrust
Arize Phoenix builds on OpenTelemetry and OpenInference for AI tracing, evaluation, datasets and experiments. It can run locally or in a self-hosted environment and supports inspection of retrieval and agent workflows. Braintrust combines tracing with experiments, scoring functions, datasets and prompt tooling, using production evidence to inform quality improvement. Both can support development and production investigation without requiring a particular agent framework. Compare the context captured by their integrations, how evaluation results link to runs, and whether their deployment and collaboration models suit your team.
- Langfuse: open source, hosted or self-hosted, with prompt management included
- LangSmith: integrations for LangChain, LangGraph and other agent stacks
- Arize Phoenix: OpenTelemetry and OpenInference tracing with evaluation workflows
- Braintrust: tracing, datasets, scoring and experiment comparison
Tracing That Speaks the Language of Your Code
Instrumentation That Comes Built In
Good traces start with good instrumentation. Pydantic Logfire supports integrations for Pydantic AI, LangChain, LangGraph, model SDKs and other OpenTelemetry-instrumented applications. Recorded spans can connect agent runs, model calls, tool executions and retries with surrounding services. The detail available depends on what each integration emits and the metadata configured by the team.
That context matters during an incident. Engineers can inspect the recorded inputs, outputs, tool operations and supporting service calls before deciding whether to change a prompt or fix a dependency. A production pilot should include both an AI failure and an application failure, such as a slow database query, to test whether the trace explains the complete request.
Open Standards Without the Integration Tax
Pydantic Logfire is built on OpenTelemetry and accepts telemetry from compatible languages and frameworks. Applications using the Vercel AI SDK or other supported integrations can send traces without adopting Pydantic AI. Mixed stacks can bring agent and service telemetry into a shared view, provided the required operations are instrumented and context is propagated correctly.
The other platforms also support open instrumentation through their SDKs, integrations or OpenTelemetry ingestion. Phoenix uses OpenInference conventions, and LangSmith accepts OpenTelemetry data. The practical difference should be established with your workload: check coverage across models, tools, retrieval, APIs and databases, then assess how easily engineers can investigate that context. Integration depth is not determined solely by whether a platform shares a vendor with the agent framework.
- Instrumented spans for agent runs, tools and retries
- Structured inputs, outputs and metadata where recorded by the integration
- OpenTelemetry telemetry routed to Pydantic Logfire or another compatible backend
- A shared view across compatible services and OpenTelemetry-enabled applications
Evaluation That Lives Next to Your Agents
Pydantic Evals in Everyday Development
Pydantic Evals lets teams define datasets, cases and evaluators in code and keep them under version control with the project. It can evaluate callable application behavior without requiring Pydantic AI. Connected to Pydantic Logfire, evaluation results can be inspected alongside the traces behind them. The platform also supports datasets, experiments and online evaluation workflows, helping teams test changes before release and measure behavior on production traffic. A useful cycle is to preserve a failed run as a case, apply a targeted change, and compare the result against a baseline. Teams still need to maintain representative datasets and confirm that their scoring criteria reflect real user needs.
How Hosted Evaluation Platforms Compare
Braintrust provides experiments and scoring alongside production tracing. Langfuse and LangSmith offer datasets and automated evaluation workflows, while Phoenix combines tracing with evaluation and experimentation. These platforms support different combinations of code-based and interface-based workflows, so hosted evaluation should not automatically be treated as disconnected from application development. Compare how each links scores to execution, incorporates human review, runs representative tests and checks regressions. Pydantic Logfire offers a connected tracing and evaluation workflow within its wider observability platform, while Pydantic Evals provides an optional route for code-defined tests.
- Datasets, cases and evaluators defined in code through Pydantic Evals
- Evaluation definitions versioned alongside application code
- Representative cases and scoring criteria maintained as application behavior evolves
- Evaluation results linked to the traces behind them in Pydantic Logfire
Full-Stack Observability Across Languages and Frameworks
OpenTelemetry Instrumentation Across the Stack
Logfire supports compatible OpenTelemetry instrumentation from different languages, frameworks and model providers. Teams can collect agent spans and surrounding application telemetry in the same platform, including services that are not themselves AI applications.
When a team changes models, it can keep its monitoring and evaluation strategy in place, provided the required telemetry is collected consistently. The AI Gateway can centralise model access and help track spending. The AI Gateway is included on Personal, Team, and Growth with 3, 5, and 20 bring-your-own provider keys, respectively, at 0% markup. Full gateway access is an Enterprise add-on.
Investigation Workflows Production Teams Need
SQL-based investigation helps engineers examine patterns in traces, logs, metrics and evaluation results. For example, a team can identify interactions associated with a latency regression, inspect their supporting service calls and use representative examples to test a fix.
Langfuse, LangSmith, Arize Phoenix and Braintrust also provide AI tracing and evaluation workflows. Logfire is particularly relevant when the same engineers need to investigate model behaviour, application performance and infrastructure telemetry together. Compare the observability platforms using the same instrumented workload, not the development frameworks used to build the agents.
- OpenTelemetry-compatible instrumentation across languages and frameworks
- SQL-based investigation of correlated telemetry
- Evaluation datasets and production quality monitoring
- One view of instrumented agents, services and infrastructure
Pricing, Licensing and Long-Term Value
What You Pay With Pydantic Logfire
Pydantic Logfire is a standalone commercial observability and evaluation platform with a free Personal plan and paid plans for engineering teams. Pricing is based on telemetry records, rather than requiring a separate subscription for an agent development framework. Compare the selected plan's usage allowances, retention, evaluation requirements and team access against your production workload. Pydantic AI is optional, and compatible OpenTelemetry telemetry can be routed to another backend if your architecture requires it.
How the Alternatives Structure Their Costs
LangSmith, Langfuse, Arize and Braintrust each offer different pricing and deployment arrangements. Langfuse and Arize Phoenix provide self-managed options, which require infrastructure and maintenance. Hosted plans vary by usage, evaluation activity and team access. Compare those costs with Logfire's telemetry-based model using the same representative workload, rather than treating an agent framework as part of the price comparison.
- Logfire: free Personal plan and paid team plans
- Usage-based telemetry pricing; review plan allowances and retention
- LangSmith: hosted plans with usage and access allowances
- Langfuse, Phoenix and Braintrust: free entry points with hosted or commercial upgrades
Choosing the Right Partner for Production AI
Langfuse, LangSmith, Arize Phoenix and Braintrust each bring strengths in tracing and evaluation, from prompt management to experiment comparison. Pydantic Logfire stands out for teams that want AI and LLM observability, OpenTelemetry and evaluations alongside application and infrastructure monitoring in one platform. Test the shortlisted tools on a production incident and a quality regression, and assess how easily engineers can follow the complete request and demonstrate that a fix improves the outcome. Logfire belongs on that shortlist independently of the language or framework used to build the application.