LLM Observability Tools: What They Do and How to Choose One

LLM Observability Tools: What They Do and How to Choose One

LLM observability tools record what happens inside a language model application, from the prompt that went in to the answer that came out, along with the cost, latency and errors along the way. They answer the question every team asks once its first AI feature reaches real users: why did the model say that, and how do we know it will not do it again? The short answer is a trace of every model call, a way to score output quality over time, and alerts that fire when quality or cost drifts.

Without that visibility, debugging is guesswork: a user reports a wrong answer, and nobody can say which prompt version, model or retrieval step produced it.

Key takeaways

  • These tools trace prompts, responses, tokens, costs, latency and tool calls.
  • Traditional monitoring cannot catch the failures that matter: wrong or unsafe output.
  • Traces are for debugging, evaluations for quality, alerts for production drift.
  • Langfuse suits self-hosting teams; LangSmith suits LangChain teams.
  • Start with tracing on your highest-traffic flow, then add evaluations and alerts.

What are LLM observability tools?

An LLM observability tool captures telemetry from language model applications and turns it into something a team can inspect, search and act on. The core unit is the trace: a tree of spans recording a single user request, each model call inside it, each retrieval lookup, each tool invocation and the final response. Every span carries timing, token counts and cost, and many tools also store the prompt and completion text.

That is a different job from ordinary monitoring, which tells you a request took 800 milliseconds and returned a 200 status code. It cannot tell you the model answered confidently with a fabricated citation, or that retrieval returned irrelevant documents. LLM observability tools exist because the failure modes of language models are semantic, not just operational.

Why traditional monitoring falls short for LLMs

Language models fail quietly. A model that returns a plausible but incorrect answer produces no error, no exception and no failed status code, so your uptime dashboard stays green while users lose trust. This is the main reason teams adopt LLM observability tools: without traces, the evidence of a bad answer disappears the moment the request ends.

Non-determinism makes it worse: the same prompt can produce different answers on different runs, and a small prompt change can shift behaviour across thousands of requests. Without versioned prompts tied to traces, you cannot tell whether a quality drop came from the prompt, the model or the retrieval data. Our guide to LLM evaluation metrics explains which signals actually measure quality.

Cost is the third blind spot. Token usage is invisible to ordinary monitoring, and a runaway agent loop or a verbose model can multiply a bill overnight. Observability tools attribute tokens and cost to each prompt, model, feature and user, which is the only reliable way to find the expensive requests. See our guide to LLM service level objectives for the measurement side.

The capabilities that matter most

Not every tool covers every capability, so decide which you need before comparing vendors.

Tracing and debugging

Tracing is the foundation. A good trace viewer shows the full request tree, filters by model, prompt version, user or error type, and replays multi-turn conversations, which matters because single-turn traces rarely diagnose an agent that went wrong on step six of ten. Best for: any team shipping its first production LLM feature, where debugging speed matters most.

Evaluation and scoring

Evaluation turns traces into evidence. The tool should run scorers over production traffic or a fixed dataset, whether those scorers are rules, human annotations or LLM-as-a-judge prompts, with results comparable across prompt versions. Without this, prompt tuning is opinion dressed up as engineering.

Cost and latency tracking

Every trace should carry token counts and cost per span, aggregated by model, feature and user, with latency broken down per span too, because a slow agent is usually slow in one specific step. Best for: teams whose LLM bill is already large enough that someone in finance has started asking questions.

Prompt management, alerts and drift

Prompts are code and deserve version control: tools that version prompts and link each version to its traces make regressions diagnosable instead of mysterious. Alerts turn observability into protection, covering error rates, latency, cost spikes and quality scores falling below a threshold, while drift detection flags when the distribution of inputs or outputs shifts over time.

The leading LLM observability tools compared

The market has consolidated around a handful of serious options, plus general-purpose monitoring vendors that have added LLM features. The descriptions below reflect what each tool is built around, not a full feature list.

Langfuse

Langfuse is an open-source LLM observability platform covering tracing, evaluation and prompt management, and it works with any framework. Its core is MIT-licensed and self-hostable, which makes it the usual choice when a security review rules out sending prompts to a third-party cloud. It offers session replays, evaluator templates for hallucination and relevance, and cost tracking. Best for: teams that need self-hosting, framework neutrality, or full control over their trace data.

LangSmith

LangSmith is LangChain’s own platform for tracing, evaluation, prompt management and deployment, with the deepest integration with LangChain and LangGraph applications. If your agent is built on LangChain, it captures prompts, chains, retrieval steps and tool calls with minimal extra instrumentation. The trade-off is that it is a proprietary hosted platform, and the tight coupling becomes a lock-in risk if you later switch frameworks. Best for: teams already building on LangChain or LangGraph who want the least instrumentation effort.

Arize Phoenix

Arize Phoenix is a self-hostable tracing and evaluation library with a strong emphasis on measuring output quality, including pre-built evaluation templates and visualisations for retrieval pipeline quality. It is source-available under the Elastic License 2.0 and runs entirely inside your own infrastructure. Best for: evaluation-heavy work and teams that already use Arize for machine learning monitoring.

Helicone

Helicone sits as a proxy in front of your model provider, so integration means changing the base URL in your client configuration. It logs every request with cost tracking across major providers, making it the fastest option to set up. The proxy adds a network hop, and its future roadmap has been unclear since its acquisition. Best for: teams that want logging and cost tracking running within minutes, with no SDK to install.

Weights & Biases Weave

Weave is the open-source tracing and evaluation toolkit from Weights & Biases. A single decorator traces any Python function, capturing inputs, outputs, latency and nested call trees, and the platform adds evaluation pipelines with custom scorers and versioned datasets and prompts. Best for: teams with a strong machine learning experiment culture, or existing Weights & Biases users.

OpenTelemetry and general-purpose platforms

OpenTelemetry is not a product but a standard, and it matters because it is becoming the common language for LLM telemetry. Its GenAI semantic conventions, developed by the GenAI special interest group since April 2024, standardise attribute names such as the model, token counts and operation type, so a trace emitted by one library can be read by any compatible backend. The conventions are still marked experimental, but most major vendors now ingest them. Best for: teams that already run a mature observability stack and want one backend for everything.

Tool Licence and hosting Strongest area Main trade-off
Langfuse Open-source core, self-host or cloud Framework-neutral tracing, evals More setup than a hosted-only tool
LangSmith Proprietary, hosted Deepest LangChain integration Lock-in if you leave LangChain
Arize Phoenix Source-available, self-hostable Evaluation and drift visuals Smaller ecosystem than the leaders
Helicone Proprietary, proxy-based Fastest setup, cost tracking Extra network hop; roadmap unclear
W&B Weave Open-source toolkit, hosted backend Tracing plus ML lineage Best value inside the W&B world
OpenTelemetry stack Open standard, any backend Vendor-neutral telemetry You assemble the platform yourself
A laptop showing a monitoring dashboard with trace timelines and metric charts
A trace waterfall shows where time and tokens went in a single request.

How to choose the right tool

The right choice follows from your constraints, not from a feature table. Work through the questions below in order: the first two eliminate most options.

First, where can your data go? If prompts or completions contain personal data or client-confidential material, a self-hostable option such as Langfuse or Phoenix may be the only answer that passes review. If your data already goes to a hosted model provider, a hosted platform adds no new exposure.

Second, what is your stack? A LangChain shop gets the most from LangSmith, a team with existing Weights & Biases usage gets the most from Weave, and a team running OpenTelemetry everywhere gets the most from a standard-based setup. Also consider total cost: self-hosted is free to download and expensive to operate, while hosted charges per seat or per trace. Estimate trace volume honestly, since an agent making ten model calls per request generates ten times the traces of a single-call chatbot.

Third, what is the actual problem? Debugging bad answers calls for the trace viewer and session replay; proving quality calls for evaluation and reporting; controlling the bill calls for cost attribution. Our guide to building an LLM evaluation framework helps with the evaluation side.

Getting started without over-engineering

The most common mistake is instrumenting everything at once and drowning in traces nobody reads. Start with one high-traffic flow, instrument the entry point, model calls and retrieval steps, and leave fine-grained spans for later.

Set a sampling policy before your first production day: keep every error and slow request plus a sample of normal traffic, and decide the retention window, since keeping everything forever is how observability bills explode. Watch four metrics to start: token cost per request, error rate, latency at the 95th percentile and one quality score. The LLM latency monitoring guide explains which latency figures users actually feel.

Observability checklist

  • Every model call is traced, with prompt version, model, tokens and cost attached.
  • Traces link to the retrieval and tool calls that shaped the answer.
  • Prompts are versioned, and each trace records its version.
  • At least one quality scorer runs over production traffic or a dataset.
  • Alerts exist for errors, latency, cost spikes and quality drops.
  • Sampling and retention policies are set before traffic grows.
  • Personal data in traces is redacted or excluded, with access limited.
  • Someone reviews traces weekly, not only after incidents.
  • Trace volume and cost are reviewed monthly against the budget.

Frequently asked questions

What is the difference between LLM observability and LLM evaluation?

Observability is the continuous record of what your application does in production: traces, logs, metrics and alerts. Evaluation is the systematic scoring of output quality against a dataset or criteria. Observability tells you something went wrong; evaluation tells you how wrong it was.

Do I need an LLM observability tool for a small application?

Not necessarily at first: an application with one model call per request can often be debugged from structured logs. Once you add retrieval, tool use or multiple model calls, traces show the whole chain in one place, which logs cannot.

Can I use OpenTelemetry instead of a dedicated LLM tool?

Yes, for the telemetry layer. OpenTelemetry with the GenAI semantic conventions gives you standardised spans and metrics that any compatible backend can store. Dedicated tools add the LLM-specific interface on top. Many teams use both, with OpenTelemetry as the transport and a dedicated tool as the interface.

Should traces store full prompts and responses?

Storing them makes debugging far easier, but it also stores whatever personal data users typed. Many teams store full content in development and redact or sample it in production. Decide deliberately, document it, and limit trace access to people who need it.

Which tool should I start with?

Start with the one that fits your stack and data rules with the least setup: LangSmith for LangChain teams, Langfuse for self-hosting or framework neutrality, Helicone for the fastest start, and an OpenTelemetry-based setup if you already run a mature observability platform. Switching later is easier if your instrumentation follows the OpenTelemetry conventions from the start.

Latest articles

Scroll to Top