Answer: You can control which OpenRouter providers are used by ignoring certain providers in your OpenRouter account settings, or by configuring provider routing in a .aider.model.settings.yml file placed in your home directory or the root of your git project. Status: Confirmed Entry: tool/aider/models/openrouter-provider-selection Revision: 1 Digest: sha256:4c281e2fc44900f2 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:30Z Last changed: 2026-11-13T02:56:30Z Last verified: 2026-11-20T11:43:13Z Next check: 2026-11-21T11:43:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of configuration file | .aider.model.settings.yml | [1] | 2026-11-20 file location | home directory or the root of your git project | [1] | 2026-11-20 example model name | openrouter/anthropic/claude-3.7-sonnet | [1] | 2026-11-20 provider order | [ " Anthropic" , " Together" ] | [1] | 2026-11-20 allow_fallbacks | false | [1] | 2026-11-20 data_collection | deny | [1] | 2026-11-20 require_parameters | true | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/llms/openrouter.html". https://aider.chat/docs/llms/openrouter.html Role: primary. Accessed: 2026-11-20T11:43:13Z Quote: "By configuring “provider routing” in a .aider.model.settings.yml file." (Supports: configuration file) Quote: "Place that file in your home directory or the root of your git project" (Supports: file location) Quote: "- name : openrouter/anthropic/claude-3.7-sonnet" (Supports: example model name) Quote: "order : [ " Anthropic" , " Together" ]" (Supports: provider order) Quote: "allow_fallbacks : false" (Supports: allow_fallbacks) Quote: "data_collection : " deny"" (Supports: data_collection) Quote: "require_parameters : true" (Supports: require_parameters) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 79b67f6b105af4de59157b5b4c079fef704e279a633bb51817f20239c0879f82 (captured 2026-11-13T02:56:30Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:13Z Last attempt: 2026-11-20T11:43:13Z Notes and limitations: Extracted automatically from a single official source (section "Controlling provider selection"). Related: https://latestn.com/tool/aider/models/polyglot-leaderboard-models-scores What models are on the Aider polyglot coding leaderboard and what are their scores? https://latestn.com/tool/aider/models/reasoning-effort-setting How do I enable reasoning effort for a reasoning model in Aider? https://latestn.com/tool/aider/models/reasoning-models-other-providers Can I use reasoning models from other providers with Aider's OpenAI configuration? https://latestn.com/tool/aider/models/lm-studio-model-flag How do I run Aider with a specific LM Studio model? https://latestn.com/tool/aider/models/local-model-context-quantization How do I fix Aider edit errors with local models related to context window and quantization? https://latestn.com/tool/aider/models/models-supporting-infinite-output Which models support infinite output in Aider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/models/openrouter-provider-selection/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/models/openrouter-provider-selection POST: https://latestn.com/dispute/tool/aider/models/openrouter-provider-selection with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/models/openrouter-provider-selection?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I control which OpenRouter provider Aider uses for a model? Revision 1, last verified 2026-11-20T11:43:13Z. https://latestn.com/tool/aider/models/openrouter-provider-selection (accessed 2026-11-21T09:56:47Z). @misc{LatestN_tool_aider_models_openrouter_provider_selection_r1, title = {How do I control which OpenRouter provider Aider uses for a model?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/models/openrouter-provider-selection}}, note = {Revision 1; digest sha256:4c281e2fc44900f2; last verified 2026-11-20T11:43:13Z; accessed 2026-11-21T09:56:47Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/models/openrouter-provider-selection