Skip to main content
OpenRouter is a multi-provider LLM gateway — one API key and an OpenAI-compatible endpoint for 100+ models. OpenRouter’s broadcast feature is OpenTelemetry-native: with a one-time configuration in the OpenRouter dashboard, every request routed through OpenRouter is exported to Arize AX as a trace — no application code or instrumentation required.
This page configures OpenRouter to broadcast traces for all of its traffic. To instead instrument your own application’s calls to OpenRouter from Python, see the OpenRouter LLM provider integration.

Launch Arize AX

To get started, sign up for a free Arize AX account. Then, from Settings → API Keys, create an API key, and from Space Settings copy your Space ID. You will need your:
  • API Key — from the Arize API Keys section
  • Space Key — your Space ID, from Space Settings

Configure broadcast in OpenRouter

In the OpenRouter dashboard, navigate to Settings → Observability and toggle Enable Broadcast. Then click the edit icon next to Arize AI and enter:
FieldValue
Api KeyYour Arize API Key
Space KeyYour Arize Space ID
Model IdThe Arize project name to send these traces to. (OpenRouter labels this field “Model Id,” but it maps to the project your traces appear under in Arize.)
Base UrlOptional — defaults to https://otlp.arize.com
Click Test Connection to verify the setup, then save.
The OpenRouter broadcast-to-Arize configuration screen
OpenRouter’s Model Id field is the Arize project name — not a model identifier. Set it to whatever you want the project called in Arize.
  • Custom metadata: the trace field on an OpenRouter request maps to span attributes in Arize. Supported keys include trace_id, trace_name, span_name, generation_name, and parent_span_id.
  • Privacy mode: enable it to exclude prompt and completion content from broadcast traces; metadata and usage data are still sent.

Observe

Once broadcast is enabled, every request through OpenRouter is exported to Arize AX. In your Arize AX space, open the project matching the Model Id you configured to see traces appear within ~30 seconds of activity. Each trace includes the model, prompt, response, token usage, and latency for the request.

Resources

OpenRouter Broadcast to Arize Docs

OpenRouter Documentation