Skip to main content
Any provider that speaks the OpenAI API can be traced through TraceRoot’s OpenAI integration. Use the standard openai SDK and point the client at the provider’s base URL — no provider-specific instrumentor or enum is required.

Base URLs

Any other OpenAI-compatible endpoint works the same way, including self-hosted servers such as vLLM or a LiteLLM proxy: pass its URL as the base URL. OpenRouter follows the same pattern.

Setup

Usage

To use Moonshot or Z.AI instead, swap the API key and base URL from the table above and pass one of that provider’s model ids, such as kimi-k2.6 or glm-5.1.

What Gets Captured

Cost

Cost is calculated only for model ids listed in TraceRoot’s pricing table (standard-model-prices.json). Calls to other models are still traced with their messages, tokens and latency, but without a cost. See Cost Tracking for details.