OpenRouter
Set up OpenRouter with a key or with "Sign in with OpenRouter" from the worker, choose models, and read credit usage.
Set up
- Worker UI → AI models → Add → OpenRouter.
- List the models to use, best first, for example
qwen/qwen3-coder:free, deepseek/deepseek-chat-v3.1:free. - Paste a key — or save without a key and click Sign in with OpenRouter.
Sign in with OpenRouter
The browser opens OpenRouter, you approve, and OpenRouter issues a key for this computer (OAuth with PKCE). The callback goes to the worker's loopback address, so nothing needs registering. The key is stored in the credential store like a pasted one.
Anthropic and OpenAI offer no OAuth for API access; use a key or the agent's own login for them.
Usage
OpenRouter reports credit used and the key's limit (GET /key); the worker UI shows both. It is the only provider
whose usage the platform can read.
Verification status
The sign-in flow was tested against a fake, not openrouter.ai.