openlit
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects
Decision gist · record as of 2026-08-14
Yes. OpenLIT is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem—observability for LLM applications—with minimal code changes. The broad instrumentation coverage and OpenTelemetry-native design make it a practical choice for production GenAI monitoring. No known vulnerabilities as of 2026-08-14. Install if you need LLM observability and already use or plan to adopt OpenTelemetry.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an OpenTelemetry collector endpoint to send traces and metrics; without one, instrumentation runs but data is not exported.
- Low friction installation with a pure Python wheel.
- Active maintenance (last commit 2026-08-14) and 2688 GitHub stars indicate ongoing development.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production deployments in most organizational contexts.
last release 2026-08-03 (11 days) · last repo commit 2026-08-14 · 2,688 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 412,347 downloads/mo, #6,848 on PyPI
Alternatives
Verify before relying
pip install openlit
import openlit
openlit.init()
# Your LLM code now auto-instrumented
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(model="gpt-4", messages=[...])- Exact number of supported LLM providers, vector databases, and frameworks beyond those listed in the description.
- Whether custom pricing file support for fine-tuned models is fully documented and production-ready.
- Performance overhead of auto-instrumentation on latency-sensitive LLM applications.
- Compatibility with all listed OpenTelemetry instrumentation packages across different framework versions.
- Specific OTLP endpoint configuration and authentication requirements for different observability backends.
What it is and what it does
OpenLIT is an OpenTelemetry-native SDK that automatically instruments LLM applications, vector databases, and GPU operations to generate traces and metrics without code changes. It works by wrapping calls to LLM providers (OpenAI, Anthropic, Cohere, etc.), vector databases (ChromaDB, Pinecone, Qdrant, etc.), and AI frameworks (LangChain, LlamaIndex, Haystack, etc.), capturing request/response data, latency, token usage, and costs. The generated telemetry follows OpenTelemetry semantic conventions and can be exported to any OTLP-compatible backend.
The package is designed for developers building GenAI applications who need observability without modifying their application logic. It handles the complexity of instrumenting multiple LLM providers and frameworks through a single initialization call. The 26 runtime dependencies include the OpenTelemetry SDK, instrumentation modules for common web frameworks (FastAPI, Flask, Django, etc.), and client SDKs for major LLM and cloud providers (OpenAI, Anthropic, boto3). This breadth of dependencies means the package pulls in significant infrastructure but also ensures broad compatibility out of the box.
Use it for
- Monitor token usage and costs across multiple LLM providers in a single application to track GenAI spending.
- Trace LLM request latency and errors through LangChain or LlamaIndex pipelines to debug slow or failing AI workflows.
- Instrument vector database queries (ChromaDB, Pinecone) to correlate retrieval performance with LLM response quality.
- Export GPU metrics (NVIDIA, AMD) alongside LLM traces to correlate compute resource usage with inference performance.
- Send LLM observability data to existing monitoring tools for unified monitoring of AI and traditional infrastructure.
- Track custom and fine-tuned model costs using custom pricing files for accurate budget forecasting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
OpenLIT is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem—observability for LLM applications—with minimal code changes. The broad instrumentation coverage and OpenTelemetry-native design make it a practical choice for production GenAI monitoring. No known vulnerabilities as of 2026-08-14. Install if you need LLM observability and already use or plan to adopt OpenTelemetry.
Install
openlit on PyPI
Before you install
Low friction installation with a pure Python wheel. Active maintenance (last commit 2026-08-14) and 2688 GitHub stars indicate ongoing development. The package carries 26 runtime dependencies spanning OpenTelemetry components, LLM SDKs, and web framework instrumentation, which are installed automatically.
Requires an OpenTelemetry collector endpoint to send traces and metrics; without one, instrumentation runs but data is not exported.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production deployments in most organizational contexts.
Quickstart
pip install openlit
import openlit
openlit.init()
# Your LLM code now auto-instrumented
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(model="gpt-4", messages=[...])
Verify before relying
- Exact number of supported LLM providers, vector databases, and frameworks beyond those listed in the description.
- Whether custom pricing file support for fine-tuned models is fully documented and production-ready.
- Performance overhead of auto-instrumentation on latency-sensitive LLM applications.
- Compatibility with all listed OpenTelemetry instrumentation packages across different framework versions.
- Specific OTLP endpoint configuration and authentication requirements for different observability backends.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0.0,>=3.9.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 26 packagesanthropicboto3botocoreopenaiopentelemetry-apiopentelemetry-exporter-otlpopentelemetry-instrumentationopentelemetry-instrumentation-aiohttp-clientopentelemetry-instrumentation-asgiopentelemetry-instrumentation-djangoopentelemetry-instrumentation-falconopentelemetry-instrumentation-fastapiopentelemetry-instrumentation-flaskopentelemetry-instrumentation-httpxopentelemetry-instrumentation-pyramidopentelemetry-instrumentation-requestsopentelemetry-instrumentation-starletteopentelemetry-instrumentation-tornadoopentelemetry-instrumentation-urllibopentelemetry-instrumentation-urllib3opentelemetry-sdkopentelemetry-semantic-conventionspydanticrequestsschedulexmltodict |
| Maintenance | Actively maintained 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 412,347 / month, #6,848 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9 |
Evidence: openlit-1.45.0-py3-none-any.whl
Tags
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 › “llm tracing and metrics”
- openlitOpenLIT provides OpenTelemetry-native auto-instrumentation for…
- opentelemetry-instrumentation-openai-v2Automatically traces and logs OpenAI API calls (and compatible…
- opentelemetry-instrumentation-litellmAdds OpenTelemetry tracing to LiteLLM, capturing LLM prompts,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
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.
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.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
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.
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.
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.
See also aliyun-trace · opentelemetry-instrumentation-vertexai · opentelemetry-instrumentation-llamaindex · opentelemetry-instrumentation-openai · opentelemetry-semantic-conventions-ai · opentelemetry-instrumentation-litellm · opentelemetry-instrumentation-chromadb · opentelemetry-instrumentation-groq · agentops · mlflow-skinny