diff --git a/aider/website/docs/llms/openrouter.md b/aider/website/docs/llms/openrouter.md index 22932985f..cd994f8bc 100644 --- a/aider/website/docs/llms/openrouter.md +++ b/aider/website/docs/llms/openrouter.md @@ -41,9 +41,17 @@ to allow use of all models. ## Controlling provider selection -You can control which OpenRouter providers are used by creating a `.aider.model.settings.yml` file in your home directory or project root. -See [Advanced model settings](https://aider.chat/docs/config/adv-model-settings.html#model-settings) -for more details about model settings files. For example: +OpenRouter often has multiple providers serving each model. +You can control which OpenRouter providers are used for your requests in two ways: + +1. By "ignoring" certain providers in your +[OpenRouter account settings](). +This disables those named providers across all the models that you access via OpenRouter. + +2. By configuring "provider routing" in a `.aider.model.settings.yml` file. + +Place that file in your home directory or the root if your git project, with +entries like this: ```yaml - name: openrouter/anthropic/claude-3.5-sonnet @@ -61,4 +69,8 @@ for more details about model settings files. For example: See [OpenRouter's provider routing docs](https://openrouter.ai/docs/provider-routing) for full details on these settings. +See [Advanced model settings](https://aider.chat/docs/config/adv-model-settings.html#model-settings) +for more details about model settings files. + +