7 open-source tools for LLM observability
Seven verified tools to trace, evaluate and cost-track your LLM app — eval CLIs, AI gateways and self-hosted dashboards.
7 tools · Last checked
An LLM app ships on vibes and breaks in production. Traces, evals and cost dashboards make it debuggable again, without a SaaS subscription.
Every pick pushed a commit in the last 90 days (checked 2026-11-11) and installs from its own docs. All are open source except one source-available pick, flagged. Ordered from a CLI to code you wire in.
The 7 tools at a glance #
| Tool | What it does | Price | Install |
|---|---|---|---|
| promptfoo | Evals and red teaming for prompts | Free · OSS (MIT) | npx promptfoo@latest |
| Helicone | AI gateway with logs, routing, costs | Free · OSS (Apache-2.0) | clone + helicone-compose.sh |
| Langfuse | Traces and evals, self-hosted in minutes | Free · OSS (MIT core + EE) | clone + docker compose up |
| OpenLLMetry | OpenTelemetry wiring for any LLM app | Free · OSS (Apache-2.0) | pip install traceloop-sdk |
| Phoenix | Tracing and evals for troubleshooting | Free · source-available (ELv2) | pip install arize-phoenix |
| Opik | Agent tracing, evals, prompt optimization | Free · OSS (Apache-2.0) | pip install opik |
| LiteLLM | One proxy for 100+ providers, with spend logs | Free · OSS (MIT core + EE) | uv tool install 'litellm[proxy]' |
1. promptfoo: prove the prompt works before shipping it #
promptfoo runs LLM evals (automated quality tests) and red teaming: score prompts against test cases, compare models side by side, and attack your app before someone else does.
What: A CLI that runs eval matrices (promptfoo eval) and a local viewer for results, plus automated red-team probing.
Why: Prompt regressions become tests you run in CI, not surprises in production.
Use when: You are changing prompts or swapping models and need proof nothing broke.
Install:
npx promptfoo@latestCatch: Evals need provider API keys set as environment variables — and writing good test cases is your job.
2. Helicone: the gateway that logs while it routes #
Helicone is an AI gateway (a proxy between your app and model providers) with an observability dashboard. One API key and one base-URL swap give you logging, routing, fallbacks and cost tracking across 100+ models.

What: Traces, sessions, prompts and a playground. The hosted version has a free tier of 10k requests a month.
Why: You point your existing OpenAI-style client at it; no instrumentation code.
Use when: You want production visibility today and self-hosting as an option.
Install:
git clone https://github.com/Helicone/helicone.git && cd helicone/docker && cp .env.example .env
./helicone-compose.sh helicone upCatch: Every call takes one more network hop, so its latency and uptime become yours. The Helm chart for production is enterprise-only.
3. Langfuse: the full self-hosted trace platform #
Langfuse is an open-source platform for tracing and evaluating AI agents and tracking usage and cost. It is built on OpenTelemetry, the standard tracing format.
What: Traces for every LLM call, retrieval and agent action; sessions, datasets, evals and dashboards; cloud or self-host.
Why: It self-hosts in about 5 minutes with Docker Compose and also covers prompt management.
Use when: You need one place where every AI call your product makes is inspectable.
Install:
git clone --depth=1 https://github.com/langfuse/langfuse.git && cd langfuse && docker compose upCatch: The core is MIT, but ee/ directories carry a separate enterprise license, so not every feature is free.
4. OpenLLMetry: telemetry that goes to your stack #
OpenLLMetry is a set of OpenTelemetry extensions for LLM apps. It sends traces to Datadog, Honeycomb or wherever your telemetry already lives.
What: Standard OTel instrumentations for LLM providers and vector DBs, plus a Traceloop SDK to start fast.
Why: Traces land in the dashboards your team already runs, not a new platform.
Use when: You must not add another vendor dashboard to the company stack.
Install:
pip install traceloop-sdkCatch: You still need somewhere to send traces — this is wiring, not a UI.
5. Phoenix: tracing plus evals for debugging #
Phoenix is Arize's observability platform for experiments, evals and troubleshooting. It pairs OpenTelemetry tracing with LLM-as-judge evals, where a model grades responses and retrieval.
What: A local UI (phoenix serve) that ingests traces and runs retrieval and response evals against them.
Why: When RAG answers go wrong, Phoenix shows which retrieval or generation step failed.
Use when: You are debugging quality, not just collecting logs.
Install:
pip install arize-phoenix && phoenix serveCatch: Elastic License 2.0: free to use and self-host, but source-available, not OSI open source.
6. Opik: evals with an optimizer attached #
Opik is Comet's open-source platform for tracing and evaluating LLM apps and agents, with prompt optimization built in.

What: pip install opik, wrap functions with @track, and run optimization experiments that rewrite prompts against your metrics.
Why: Evals and prompt improvement in one loop, fully self-hostable under Apache-2.0.
Use when: You want the eval platform to also try to make the prompt better.
Install:
pip install opik && opik configureCatch: Optimization runs spend LLM API calls scoring your prompts — watch the bill while it iterates.
7. LiteLLM: one proxy, every provider, all metered #
LiteLLM is an AI gateway with 63,000+ GitHub stars that calls 100+ providers through the OpenAI API format, with budgets, fallbacks and spend logs.
What: litellm --model gpt-4o starts a local proxy; your code points at port 4000 instead of a vendor SDK.
Why: Provider switching, retries and cost ceilings become config, not rewrites.
Use when: Many models, many teams, one place to control spend.
Install:
uv tool install 'litellm[proxy]'Catch: MIT core with an enterprise/ directory under a separate license — SSO and some controls sit behind it.
Which one to try first #
Testing prompts and models → #1. Logging production calls without writing code → #2. A full self-hosted trace platform → #3. Traces into Datadog instead of a new dashboard → #4. Debugging RAG quality → #5. Eval plus prompt optimization in one loop → #6. Many models, one spend meter → #7.
FAQ
- What is LLM observability?
- Recording every AI call your app makes — prompt, model, latency, cost, output — then tracing multi-step agent runs, evaluating quality with automated checks, and replaying sessions to debug failures.
- Langfuse or Phoenix?
- Langfuse is an MIT-licensed platform focused on tracing, production analytics and evals, self-hosted with Docker Compose. Phoenix (Arize) is strong at tracing plus LLM-as-judge evals for debugging RAG — but it is licensed under the Elastic License 2.0, so it is source-available rather than OSI open source.
- Do I need an AI gateway?
- Not always. A gateway (Helicone, LiteLLM) adds logging, fallbacks and cost control at the provider boundary without touching app code — useful once several models or teams share one bill. For pure tracing, SDKs like OpenLLMetry or Langfuse are enough.