Discord

Fields

HTTP-Refererrequest headeryour app's URL, truncated to 500 chars (falls back to the standard Referer header)
X-Titlerequest headeryour app's display name, truncated to 200 chars (also accepts X-OpenRouter-Title)
userrequest bodyyour own opaque end-user id, truncated to 64 chars — the same field name the OpenAI API uses

All three are advisory only — client-set, spoofable, and never used as an auth signal or a billing boundary. They exist purely so usage rolls up the way you actually think about your traffic.

Where it shows up

Every trace stores app_name, app_referer, and end_user alongside the usual cost and routing fields — browsable per-request at /logs, and aggregated per day, per key, per end-user and per app by the management API's usage report (GET /api/v1/usage) that you can call with a management key. The tags are recorded on every model endpoint — chat, images, video, audio and the rest.