Answer: You can specify which model and API key Aider should use with the --model and --api-key command line arguments, for example: aider --model deepseek --api-key deepseek=your-key-goes-here. Status: Confirmed Entry: tool/aider/models/specify-model-and-api-key Revision: 1 Digest: sha256:32d62ea3110c8b14 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:39Z Last changed: 2026-11-13T02:56:39Z Last verified: 2026-11-20T11:43:42Z Next check: 2026-11-21T11:43:42Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | --model and --api-key command line arguments | [1] | 2026-11-20 example model | deepseek | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/troubleshooting/models-and-keys.html". https://aider.chat/docs/troubleshooting/models-and-keys.html Role: primary. Accessed: 2026-11-20T11:43:42Z Quote: "The easiest way is to use the --model and --api-key command line arguments" (Supports: method) Quote: "aider --model deepseek --api-key deepseek=your-key-goes-here" (Supports: example model) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 93b68126d48af74c11f1c6b26c02e4d10cfa265a477e2cd557f1be5b519cba49 (captured 2026-11-15T11:45:49Z) 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:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:42Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:42Z Last attempt: 2026-11-20T11:43:42Z Notes and limitations: Extracted automatically from a single official source (section "Specifying model & key"). Related: https://latestn.com/tool/aider/models/speed-benchmark-updates What updates does Aider report about its speed benchmarks for GPT-4 Turbo and gpt-3.5-turbo-1106? https://latestn.com/tool/aider/models/thinking-tokens-setting How do I configure thinking tokens for reasoning models in Aider? https://latestn.com/tool/aider/models/unified-diffs-reduce-laziness How do I make GPT-4 Turbo less lazy when editing files with Aider? 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/select-bedrock-model How do I select an Amazon Bedrock model in Aider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:39Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/models/specify-model-and-api-key/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/specify-model-and-api-key POST: https://latestn.com/dispute/tool/aider/models/specify-model-and-api-key with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/models/specify-model-and-api-key?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I specify which model and API key Aider should use? Revision 1, last verified 2026-11-20T11:43:42Z. https://latestn.com/tool/aider/models/specify-model-and-api-key (accessed 2026-11-21T09:59:22Z). @misc{LatestN_tool_aider_models_specify_model_and_api_key_r1, title = {How do I specify which model and API key Aider should use?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/models/specify-model-and-api-key}}, note = {Revision 1; digest sha256:32d62ea3110c8b14; last verified 2026-11-20T11:43:42Z; accessed 2026-11-21T09:59:22Z} } 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/specify-model-and-api-key