Skip to main content
OpenLIT auto-instruments every supported LLM provider you have installed. Install the OpenLIT SDK, call openlit.init() once at startup, and all LLM calls your application makes are automatically traced with token counts, latency, cost, and model metadata.

Get started

1

Install OpenLIT

2

Install your LLM provider SDK

Install the SDK for the provider you use. OpenLIT detects it automatically.
3

Initialize OpenLIT in your application

Add openlit.init() once at the top of your application entry point.

Supported LLM providers

Span attributes captured

Every LLM call trace includes the following attributes:

Disabling specific providers

Pass a list of instrumentor keys to skip specific providers:
You can also use the environment variable:

AI framework integrations

Trace agent execution, tool calls, and chains in LangChain, CrewAI, and more

Configuration

Full reference for all openlit.init() parameters

Destinations

Send telemetry to Datadog, Grafana, New Relic, and other observability stacks