Answer: In the optional config file ~/.aider.conf.yml, set openai-api-base to https://api.githubcopilot.com, openai-api-key to your oauth_token, model to openai/gpt-4o, weak-model to openai/gpt-4o-mini, and show-model-warnings to false. Status: Confirmed Entry: tool/aider/settings/copilot-config-file Revision: 1 Digest: sha256:c3c121c1ca5f955b (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:27Z Last changed: 2026-11-13T02:56:27Z Last verified: 2026-11-20T11:43:03Z Next check: 2026-11-21T11:43:03Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config file | ~/.aider.conf.yml | [1] | 2026-11-20 openai-api-base | https://api.githubcopilot.com | [1] | 2026-11-20 openai-api-key | | [1] | 2026-11-20 model | openai/gpt-4o | [1] | 2026-11-20 weak-model | openai/gpt-4o-mini | [1] | 2026-11-20 show-model-warnings | false | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/llms/github.html". https://aider.chat/docs/llms/github.html Role: primary. Accessed: 2026-11-20T11:43:03Z Quote: "Optional config file ( ~/.aider.conf.yml )" (Supports: config file) Quote: "openai-api-base : https://api.githubcopilot.com" (Supports: openai-api-base) Quote: "openai-api-key : " "" (Supports: openai-api-key) Quote: "model : openai/gpt-4o" (Supports: model) Quote: "weak-model : openai/gpt-4o-mini" (Supports: weak-model) Quote: "show-model-warnings : false" (Supports: show-model-warnings) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: f2f59fd059b8ee07bb347e748ff7863b06b69e50b277aa296a8e15a8af3bf5db (captured 2026-11-13T02:56:26Z) 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:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:03Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:03Z Last attempt: 2026-11-20T11:43:03Z Notes and limitations: Extracted automatically from a single official source (section "Optional config file ( ~/.aider.conf.yml )"). Related: https://latestn.com/tool/aider/settings/create-yaml-config-file How do I create a YAML config file for Aider? https://latestn.com/tool/aider/settings/custom-editor-command-arguments How do I configure a custom editor command with arguments in Aider? https://latestn.com/tool/aider/settings/custom-notification-commands How do I set up custom notification commands in Aider? https://latestn.com/tool/aider/settings/configure-lint-test How do I configure Aider to run linters and tests automatically after it edits files? https://latestn.com/tool/aider/settings/configure-ollama-api-key How do I configure an API key for Ollama in Aider? https://latestn.com/tool/aider/settings/configure-with-dotenv How do I configure Aider using a .env file? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:27Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/settings/copilot-config-file/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/settings/copilot-config-file POST: https://latestn.com/dispute/tool/aider/settings/copilot-config-file with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/settings/copilot-config-file?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set GitHub Copilot options in the Aider config file? Revision 1, last verified 2026-11-20T11:43:03Z. https://latestn.com/tool/aider/settings/copilot-config-file (accessed 2026-11-21T10:00:05Z). @misc{LatestN_tool_aider_settings_copilot_config_file_r1, title = {How do I set GitHub Copilot options in the Aider config file?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/settings/copilot-config-file}}, note = {Revision 1; digest sha256:c3c121c1ca5f955b; last verified 2026-11-20T11:43:03Z; accessed 2026-11-21T10:00:05Z} } 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/settings/copilot-config-file