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:| Field | Value |
|---|---|
| Api Key | Your Arize API Key |
| Space Key | Your Arize Space ID |
| Model Id | The 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 Url | Optional — defaults to https://otlp.arize.com |

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
tracefield on an OpenRouter request maps to span attributes in Arize. Supported keys includetrace_id,trace_name,span_name,generation_name, andparent_span_id. - Privacy mode: enable it to exclude prompt and completion content from broadcast traces; metadata and usage data are still sent.