Last updated November 1, 2026. Versions, instrumentation counts, repo activity, and prices were checked against each project’s docs, GitHub, and PyPI on that date, and all three SDKs were installed and run against the same test app.
In the OpenLLMetry vs OpenInference vs OpenLIT choice, OpenLLMetry is the best pick for sending standard OpenTelemetry GenAI spans to an APM you already run, OpenInference is the best pick for Phoenix, Arize, or Dynatrace users who want the leanest install, and OpenLIT is the best pick for an all-in-one self-hosted stack with cost and GPU data. All three are Apache 2.0 and free.
Each one turns LLM, tool, and vector database calls into OpenTelemetry traces, but they disagree on attribute names, packaging, and how much they collect. This comparison sits in our AgentOps hub and the agent observability section, next to our wider open source LLM observability guide.
We installed each SDK on November 1, 2026, sent the same five OpenAI calls through each one to a local OTLP receiver, counted every span, attribute, metric, and log, tested the privacy switches, logged every host each SDK looked up, and timed 1,000 calls per SDK. No vendor paid for placement or reviewed this page, per our editorial standards and disclosure policy.
TL;DR
- OpenLLMetry is the safest default for existing backends. It emits the OpenTelemetry
gen_ai.*names plus six GenAI metrics, and its README lists 24 tested destinations from Datadog to Grafana. - OpenInference was the lightest and fastest in our test. It added 2 MB over a bare app and 0.63 ms per call, but it uses its own
llm.*attribute names and sends no metrics. - OpenLIT collects the most by default. It sent 43 attribute keys, nine metrics, log events, and a cost figure on every span, at the price of a 94 MB install and a GitHub fetch at startup.
- All three record prompt text by default. Our test email address showed up in every trace until we flipped each SDK’s content switch.
- Ownership changed in 2026. Traceloop joined ServiceNow and Dynatrace closed its Arize purchase on October 1, 2026; both projects say they stay open source.
OpenLLMetry vs OpenInference vs OpenLIT at a Glance
OpenInference ships the most often, OpenLLMetry has the most GitHub stars, and OpenLIT covers the most libraries. OpenInference merged 150 commits in the last 30 days against 37 for OpenLIT and 11 for OpenLLMetry, while OpenLIT lists 56 Python instrumentation modules against 38 for OpenInference and 32 for OpenLLMetry.
| OpenLLMetry | OpenInference | OpenLIT | |
|---|---|---|---|
| Latest Python release | traceloop-sdk 0.62.4, Sep 29, 2026 | openai instrumentor 0.1.69, Oct 31, 2026 | openlit 1.45.0, Aug 3, 2026 |
| License | Apache 2.0 | Apache 2.0 | Apache 2.0 |
| Attribute names | OTel gen_ai.* | OpenInference llm.* | OTel gen_ai.* |
| Python instrumentations | 32 | 38 | 56 |
| JS or TS instrumentations | 13 | About 13 | 41 |
| GitHub stars | 7,514 | 1,298 | 2,895 |
| Commits, last 30 days | 11 | 150 | 37 |
| Owner | Traceloop, part of ServiceNow | Arize, part of Dynatrace | OpenLIT |
| Own UI | Traceloop cloud | Phoenix, Arize AX | OpenLIT platform |
Decision kernel: pick the SDK whose attribute names your backend already reads, then check what it collects by default before it touches production. An APM with GenAI views points to OpenLLMetry or OpenLIT, a Phoenix or Arize stack points to OpenInference, and a team with no backend yet points to OpenLIT’s self-hosted platform. Teams leaving Arize after standardizing on OpenTelemetry can compare options in our Arize alternatives guide.
How We Tested the Three SDKs
We wrote one small order support app and ran it under each SDK: a chat call with a customer email in the prompt, a tool call, a tool result, a streamed reply, and an embedding. A local OpenAI mock answered, and a local OTLP receiver saved every span, metric, and log.
Each SDK ran in its own clean Python 3.13 environment with openai 2.54.0 and the OpenTelemetry SDK 1.45.2, installed with uv and no cache. We used Traceloop.init(), OpenInference’s OpenAIInstrumentor on a standard tracer provider, and openlit.init(). A getaddrinfo hook logged every hostname each process resolved.

Every SDK traced all five calls, including the streamed reply and the embedding. The differences were in shape: OpenLIT added an HTTP child span under each model call, OpenInference used its own flattened message keys, and OpenLLMetry sent the leanest spans with the newer OpenTelemetry message format.
OpenLLMetry: Best for Existing Observability Backends

OpenLLMetry is the strongest choice when traces must land in Datadog, Grafana, Honeycomb, New Relic, Splunk, or another backend you already pay for. The OpenLLMetry project from Traceloop says its semantic conventions are now part of OpenTelemetry, and its README lists 24 tested destinations with setup docs for each.
from traceloop.sdk import Traceloop
Traceloop.init(
app_name="orders-agent",
api_endpoint="http://localhost:4318", # any OTLP endpoint
)
In our test it sent one openai.chat or openai.embeddings span per call with 17 distinct attribute keys, all under gen_ai.*, including the newer gen_ai.input.messages format, tool definitions, and a streaming flag. It also sent six metrics: operation duration, token usage, choices, time to first token, streaming time to generate, and embedding vector size.
The install is heavier than it needs to be. traceloop-sdk pulled about 30 vendor instrumentation packages plus Redis, SQLAlchemy, and HTTP instrumentors, for 90 packages and 66 MB in total. Activity has also slowed, with 11 commits in 30 days and 820 open issues, after Traceloop joined ServiceNow in a deal announced March 2, 2026.
- Best for: Teams sending LLM traces to an existing APM or OpenTelemetry Collector
- Runs as: Python and JS SDK with one init call; per-library packages also install alone
- Pricing (November 2026): Free; Traceloop Free Forever tier up to 50,000 spans a month, Enterprise custom
- Watch out for: A bundled install, slower upstream activity, and prompt capture on by default
OpenInference: Best for Phoenix, Arize, and Dynatrace

OpenInference is the best fit when traces go to Arize Phoenix, Arize AX, or Dynatrace, and it had the smallest install and lowest overhead in our test. The OpenInference project ships one package per library, so our OpenAI-only app grew from 30 MB to 32 MB and from 29 to 35 packages.
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from openinference.instrumentation.openai import OpenAIInstrumentor
provider = TracerProvider()
provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter("http://localhost:4318/v1/traces")))
OpenAIInstrumentor().instrument(tracer_provider=provider)
Its spec uses its own names: openinference.span.kind values such as LLM, TOOL, RETRIEVER, and EMBEDDING, flattened keys like llm.input_messages.0.message.content, and llm.token_count.*. We saw 32 distinct keys across five spans, the richest message detail of the three, but no OpenTelemetry metrics at all.
The project is the busiest of the three, with 150 commits in 30 days and new instrumentor releases on October 31. Dynatrace completed its acquisition of Arize on October 1, 2026, and Phoenix stays open source. OpenInference also has bridge packages that convert OpenLLMetry and OpenLIT spans into its format.
- Best for: Phoenix, Arize AX, and Dynatrace users, and teams that want minimal dependencies
- Runs as: Per-library Python and JS instrumentors on a standard OpenTelemetry tracer provider
- Pricing (November 2026): Free; Phoenix is free to self-host; Arize AX Free tier with 25,000 spans a month, Pro $50 a month, Enterprise custom
- Watch out for: Non-standard attribute names that generic APM GenAI views may not parse, and no metrics
OpenLIT: Best All-in-One Self-Hosted Stack

OpenLIT is the best pick when you want traces, metrics, cost, GPU data, and a UI in one self-hosted stack you control. The OpenLIT SDK sends standard gen_ai.* telemetry to any OTLP endpoint, and the OpenLIT platform adds dashboards, evaluations, guardrails, a prompt hub, and a secrets vault on ClickHouse.
import openlit
openlit.init(
application_name="orders-agent",
otlp_endpoint="http://localhost:4318",
)
It collected the most of the three: 43 distinct attribute keys, nine metrics including time to first chunk and gen_ai.usage.cost, and five log events. Each chat span carried a cost of $0.0000344, which matches gpt-4.1-mini list prices for 42 input and 11 output tokens. Tool names, arguments, and call IDs were all on the span.
That depth has a cost. openlit pulled 62 packages and 94 MB, including 14 web framework instrumentors, and added an HTTP child span under every model call. On each start it fetched a pricing file from raw.githubusercontent.com, which you can point elsewhere with OPENLIT_PRICING_JSON, per the SDK configuration docs.
- Best for: Teams that want a free, self-hosted LLM observability stack with cost and GPU views
- Runs as: Python and TypeScript SDK; platform runs with Docker Compose or Helm on ClickHouse
- Pricing (November 2026): Free self-hosted under Apache 2.0; Enterprise self-hosted pricing on request; Cloud not yet launched
- Watch out for: The largest install, extra HTTP spans, and a network fetch at startup
Attributes and Semantic Conventions Compared
OpenLLMetry and OpenLIT follow the OpenTelemetry GenAI conventions, and OpenInference keeps its own spec, which matters most for which dashboards light up. The GenAI conventions are still at Development status, and in release v1.42.0 on June 12, 2026 OpenTelemetry moved them into a separate GenAI repo that has no tagged release yet.
| Signal | OpenLLMetry | OpenInference | OpenLIT |
|---|---|---|---|
| Span name for chat | openai.chat | ChatCompletion | chat gpt-4.1-mini |
| Messages | gen_ai.input.messages JSON | llm.input_messages.N.* keys | gen_ai.input.messages JSON |
| Token counts | gen_ai.usage.* | llm.token_count.* | gen_ai.usage.* |
| Span kind | Not set | LLM, TOOL, RETRIEVER, and more | Not set |
| Cost | No | No | gen_ai.usage.cost |
| Metrics | 6 | 0 | 9 |
| Logs | 0 | 0 | 5 inference events |
Mixing them is possible. OpenInference publishes openinference-instrumentation-openllmetry and openinference-instrumentation-openlit bridges, and Phoenix reads both, while OpenTelemetry GenAI semantic conventions keep moving. Pin your SDK versions and test your dashboards after each upgrade.
Install Size and Overhead
OpenInference added the least: 2 MB, 6 packages, and 0.63 ms per call, while OpenLIT added the most at 64 MB, 33 packages, and 1.12 ms. OpenLLMetry sat in between at 36 MB, 61 packages, and 0.98 ms. Installs took 0.6, 1.5, and 1.0 seconds with uv, median of three runs.

For overhead we ran 1,000 calls per SDK against the local mock with batch export, three times each, after a warmup. The baseline was 1.64 ms per call. Startup also differed: OpenInference initialized in 0.49 seconds, OpenLLMetry in 1.05, and OpenLIT in 1.32 including its pricing fetch.

Against a real model call of several hundred milliseconds, about a millisecond is noise for all three. Startup time matters more for serverless functions and short CLI jobs, where OpenInference’s half second beats OpenLIT’s 1.3 seconds on every cold start.
Pricing and Hosted Options
All three SDKs are free, so the real cost is the backend that stores your spans. Each project has a paid home: Traceloop’s cloud for OpenLLMetry, Arize AX for OpenInference, and OpenLIT Enterprise for self-hosted teams, while Phoenix and the OpenLIT platform are free to run yourself.
| Free option | First paid step | Top tier | |
|---|---|---|---|
| OpenLLMetry / Traceloop | SDK free; cloud up to 50,000 spans a month, 24 hours retention | Enterprise, custom | On-premise, custom |
| OpenInference / Arize | SDK and Phoenix free; AX Free 25,000 spans a month, 15 days retention | AX Pro, $50 a month | AX Enterprise, custom |
| OpenLIT | SDK and platform free to self-host, unlimited usage | Enterprise self-hosted, on request | Cloud, not yet priced |
Span volume adds up fast. Our five-call workload made five spans per run in two SDKs and ten in OpenLIT, so an agent doing 20 model calls per task at 10,000 tasks a day sends 200,000 to 400,000 spans daily. Compare that against free tiers and our LLM cost monitoring tools guide.
Privacy Defaults and Redaction
Every SDK captured our full prompt, including the customer email address, until we turned content capture off, and two of the three still leaked something after the switch. Set these variables before you send traces from production, and check a sample trace by hand after you do.
| Default | Switch we used | Left behind after the switch | |
|---|---|---|---|
| OpenLLMetry | Prompts and completions recorded | TRACELOOP_TRACE_CONTENT=false | Nothing in our test |
| OpenInference | Inputs and outputs recorded | OPENINFERENCE_HIDE_INPUTS and _OUTPUTS=true | Embedding input text, until OPENINFERENCE_HIDE_EMBEDDINGS_TEXT is also set |
| OpenLIT | Messages and tool arguments recorded | OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=false | Tool call arguments, such as the order ID |
OpenLLMetry and OpenInference made no outbound lookups beyond our receiver. OpenLIT’s only external call was the pricing file. See the OpenLLMetry privacy docs and the OpenInference configuration spec for the full list of masking options.
Which One Should You Pick?
Choose OpenLLMetry for an existing APM, OpenInference for Phoenix, Arize, or Dynatrace and lean installs, and OpenLIT for a free self-hosted stack with cost and GPU views. You can switch later, since all three speak OTLP, but dashboards and alerts built on one set of attribute names will need rework.

You already run Datadog, Grafana, or New Relic
Start with OpenLLMetry, since those backends read gen_ai.* names, or OpenLIT if you want cost on every span. Our Datadog vs Dynatrace vs New Relic comparison covers how each APM handles LLM traces.
You debug agents in Phoenix or Arize
Use OpenInference. Its span kinds drive Phoenix’s agent views, and its per-library packages keep containers small. Our Arize Phoenix vs Langfuse vs Helicone comparison helps if you are still choosing the UI.
You have no backend yet and want to self-host
Deploy the OpenLIT platform with Docker Compose and point openlit.init() at it. Set OPENLIT_PRICING_JSON to a local file in locked-down networks, and see our Langfuse alternatives list for other self-hosted options.
You run Claude agents on Anthropic’s platform
Check native exports first. Our Claude Platform OpenTelemetry traces guide shows what Anthropic’s own OpenTelemetry export covers, then add one of these SDKs only for the calls it misses.
Frequently Asked Questions
What is the difference between OpenLLMetry and OpenInference?
Both are open-source OpenTelemetry instrumentations for LLM apps. OpenLLMetry, from Traceloop, emits the standard OpenTelemetry gen_ai attribute names plus GenAI metrics. OpenInference, from Arize, uses its own llm attribute names and span kinds built for Phoenix and Arize. In our test OpenInference had the smaller install and lower overhead.
Is OpenLIT better than OpenLLMetry?
OpenLIT collects more by default: in our test it sent 43 attribute keys, nine metrics, log events, and a cost figure per span, against 17 keys and six metrics for OpenLLMetry. OpenLLMetry sends leaner spans and lists 24 tested destinations. Pick OpenLIT for a self-hosted all-in-one stack.
Do these SDKs send prompts to a vendor?
No. All three send telemetry only to the OTLP endpoint you configure, and OpenLLMetry and OpenInference made no other lookups in our test. They do record prompt text by default, so set TRACELOOP_TRACE_CONTENT, the OPENINFERENCE_HIDE variables, or the OpenTelemetry content capture switch to false before production use.
Can I send OpenInference traces to Datadog or Grafana?
Yes, because OpenInference exports standard OTLP, so any OpenTelemetry backend will store the spans. The catch is naming: it uses llm attribute names rather than the gen_ai names that many APM GenAI dashboards expect, so prebuilt LLM views may stay empty. Phoenix, Arize AX, and Dynatrace read OpenInference natively.
Are OpenLLMetry and OpenInference still open source after the 2026 acquisitions?
Yes. Traceloop joined ServiceNow in 2026 and says OpenLLMetry stays open source under Apache 2.0. Dynatrace completed its acquisition of Arize on October 1, 2026, and Phoenix and OpenInference remain open source. OpenInference shipped new releases on October 31, 2026, while OpenLLMetry last released on September 29, 2026.
Related Guides
Keep going with the agent observability section, our best AI agent observability tools roundup, the open source LLM observability guide, and the Arize Phoenix vs Langfuse vs Helicone comparison. For tracing at the network edge, see our LLM gateways list.
More context sits in our LLM cost monitoring tools guide, the AgentOps tools overview, and the AgentOps hub.
The Bottom Line
Pick OpenLLMetry if your traces belong in an APM you already run, OpenInference if you live in Phoenix, Arize, or Dynatrace and want the leanest SDK, and OpenLIT if you want everything, including cost, in a stack you host. All three traced every call in our test, so attribute names, defaults, and footprint should decide.
Whichever you pick, turn off content capture before production and inspect one real trace by hand. Send corrections or your own results through our contact page.

