OpenRouter
OpenRouter offers models from many providers through one unified API, which makes it easy to switch between and compare models.
Website: openrouter.ai
Get an API key
Section titled “Get an API key”-
Go to OpenRouter and sign in with your Google or GitHub account.
-
Open the Keys page and copy an existing key or create a new one.
You can also click Get OpenRouter API Key in Dline settings. After you authorize in the browser, Dline receives the key automatically.
Configure Dline
Section titled “Configure Dline”See Model configuration for the general flow.
-
Click the Settings button in the Dline panel title bar.
-
Set Provider to OpenRouter.
-
Paste the key into the OpenRouter API Key field. Once it is filled in, your account balance appears next to the field.
-
Search for and select a model under Model.
The key is stored locally and only used to make API requests from this extension.
- Pricing: OpenRouter bills at the underlying model’s price. See OpenRouter Models for details.
- Prompt caching: OpenRouter forwards caching requests to underlying models that support caching. See OpenRouter Models for which models offer it.
- Routing: The model information area offers provider sorting options that control which underlying providers OpenRouter routes requests to.