OpenRouter Management API Key Explained
Usage tracking needs a Management API key — not your standard inference key.
Management vs. inference key
Inference keys call models. Management keys read account data — credits, activity, analytics. OpenRouter Widget only needs the latter.
Setup
Create a Management API key in your OpenRouter account settings. Paste it into OpenRouter Widget. It stays in iOS secure storage and is sent only to OpenRouter over HTTPS.
- Use a dedicated key for the widget
- Rotate if you think it was exposed
- We never receive your key on our servers