$npx skillfedfor your agent

openinference-instrumentation-litellm

OpenInference liteLLM Instrumentation

With conditionsPyPI MonitoringReleased Aug 2026468.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openinference_instrumentation_litellm-0.1.37-py3-none-any.whl
v0.1.37 · released 2026-08-12 · Python <3.15,>=3.10 · 7 runtime deps: openinference-instrumentation, openinference-semantic-conventions, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-sdk, setuptools, wrapt

Yes, if you use LiteLLM and need observability. The package is actively maintained, has no known vulnerabilities, installs cleanly with low friction, and is Apache-licensed. It solves a real problem—seeing what your LLM calls are actually doing—with minimal code changes. Install it alongside an OpenTelemetry collector (Phoenix, AX, or your own) to get immediate tracing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; LiteLLM and an OpenTelemetry exporter (e.g., Arize Phoenix) must be installed separately to actually collect and view traces.
  • Low friction: pure Python wheel with seven runtime dependencies, all standard observability libraries (opentelemetry-sdk, opentelemetry-instrumentation, openinference packages).
  • Active maintenance with a release 2 days old and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 1,147 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 468,654 downloads/mo, #6,492 on PyPI

Verify before relying

pip install openinference-instrumentation-litellm

from openinference.instrumentation.litellm import LiteLLMInstrumentor
from opentelemetry.sdk.trace import TracerProvider

tracer_provider = TracerProvider()
LiteLLMInstrumentor().instrument(tracer_provider=tracer_provider)
  • Whether instrumentation overhead is negligible for high-volume LLM call scenarios.
  • Support status for LiteLLM Proxy beyond the documented 100+ LLMs.
  • Compatibility with custom LiteLLM provider implementations.
Same gist for agents: .md · .json

What it is and what it does

This package wraps LiteLLM's core functions—completion, embedding, image generation, and Anthropic API calls—to automatically emit structured OpenTelemetry spans. It lets you see detailed traces of every LLM API call your application makes, including inputs, outputs, latency, and errors, without modifying your LiteLLM code.

You install it, instantiate LiteLLMInstrumentor, point it at a TracerProvider connected to an OpenTelemetry collector (like Arize Phoenix), and call instrument(). From that moment on, all instrumented LiteLLM functions emit traces. The package depends on opentelemetry-sdk, opentelemetry-instrumentation, and openinference-instrumentation to handle the tracing plumbing, and uses wrapt to hook into LiteLLM's function calls.

Use it for

  • Debug LLM application behavior by viewing detailed traces of completion calls, embeddings, and image generation in Arize Phoenix or similar collectors.
  • Monitor production LLM services to track latency, error rates, and API usage across multiple LLM providers via OpenTelemetry exporters.
  • Correlate LLM calls with application-level traces to understand end-to-end request flow in complex systems.
  • Audit and log all LLM API interactions for compliance or troubleshooting without modifying existing LiteLLM code.
  • Analyze Anthropic API call patterns and performance when using LiteLLM's Anthropic wrapper methods.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use LiteLLM and need observability.

The package is actively maintained, has no known vulnerabilities, installs cleanly with low friction, and is Apache-licensed. It solves a real problem—seeing what your LLM calls are actually doing—with minimal code changes. Install it alongside an OpenTelemetry collector (Phoenix, AX, or your own) to get immediate tracing.

Install

openinference-instrumentation-litellm on PyPI

Before you install

Low friction: pure Python wheel with seven runtime dependencies, all standard observability libraries (opentelemetry-sdk, opentelemetry-instrumentation, openinference packages). Active maintenance with a release 2 days old and no known vulnerabilities.

Requires Python 3.10 or later; LiteLLM and an OpenTelemetry exporter (e.g., Arize Phoenix) must be installed separately to actually collect and view traces.

License in practice

Apache-2.0 permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install openinference-instrumentation-litellm

from openinference.instrumentation.litellm import LiteLLMInstrumentor
from opentelemetry.sdk.trace import TracerProvider

tracer_provider = TracerProvider()
LiteLLMInstrumentor().instrument(tracer_provider=tracer_provider)

Verify before relying

  • Whether instrumentation overhead is negligible for high-volume LLM call scenarios.
  • Support status for LiteLLM Proxy beyond the documented 100+ LLMs.
  • Compatibility with custom LiteLLM provider implementations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
openinference-instrumentationopeninference-semantic-conventionsopentelemetry-apiopentelemetry-instrumentationopentelemetry-sdksetuptoolswrapt
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads468,654 / month, #6,492 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: openinference_instrumentation_litellm-0.1.37-py3-none-any.whl

Tags

Capabilities
litellm tracing instrumentationopentelemetry litellm monitoringllm api call tracingopeninference litellmarize phoenix litellm tracesllm observability instrumentationopenai format api tracing
Topics
observabilityllm-tracingopentelemetry

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “litellm tracing instrumentation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also openinference-instrumentation-google-genai · openinference-instrumentation-llama-index · arize · openinference-instrumentation-anthropic · openinference-instrumentation-haystack · openinference-instrumentation-openai · openinference-semantic-conventions · arize-otel · arize-phoenix · openinference-instrumentation-agno