Answer: You can choose the model with the --model command line option, or set the COPILOT_MODEL environment variable, or persist a selection by setting the model key in the CLI configuration file at ~/.copilot/settings.json (or $COPILOT_HOME/settings.json). The easiest way to set a model persistently is with the /model slash command in an interactive session. Status: Confirmed Entry: tool/github-copilot/models/choose-model-2 Revision: 3 Digest: sha256:743ae3cef87838a1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:31:49Z Last changed: 2026-11-19T13:06:59Z (example model string: — → claude-haiku-4.5) Last verified: 2026-11-20T13:13:19Z Next check: 2026-11-21T13:13:19Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command line option | --model | [1] | 2026-11-20 environment variable | COPILOT_MODEL | [1] | 2026-11-20 configuration file | ~/.copilot/settings.json | [1] | 2026-11-20 alternate configuration file | $COPILOT_HOME/settings.json | [1] | 2026-11-20 easiest persistent method | /model | [1] | 2026-11-20 example model string | claude-haiku-4.5 | [1] | 2026-11-20 Sources: [1] GitHub. "GitHub Copilot CLI programmatic reference - GitHub Docs". https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-programmatic-reference Role: primary. Accessed: 2026-11-20T13:13:19Z Quote: "You can use the --model option to specify which AI model the CLI should use." (Supports: command line option) Quote: "you can set the COPILOT_MODEL environment variable to specify a model for the duration of the shell session" (Supports: environment variable) Quote: "you can set the model key in the CLI configuration file. This file is located at ~/.copilot/settings.json" (Supports: configuration file) Quote: "(or $COPILOT_HOME/settings.json if you have set the COPILOT_HOME environment variable)" (Supports: alternate configuration file) Quote: "The easiest way to set a model persistently in the configuration file is with the /model slash command in an interactive session." (Supports: easiest persistent method) Quote: "--model claude-haiku-4.5" (Supports: example model string) Snapshot SHA-256: b602b79754b43eac1a94d06d2449530ec8c83c8b0e37ab167e33ac5d861f6624 (captured 2026-11-18T13:09:20Z) 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-18T13:09:21Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:13:19Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:13:19Z Last attempt: 2026-11-20T13:13:19Z Notes and limitations: Extracted automatically from a single official source (section "Choosing a model"). Related: https://latestn.com/tool/github-copilot/models/choose-model-command-line How do I choose a model from the command line in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/models/choose-model-in-copilot-app How do I choose a model in the GitHub Copilot app? https://latestn.com/tool/github-copilot/models/choose-model-in-slack How do I choose which model GitHub Copilot uses in Slack? https://latestn.com/tool/github-copilot/models/chat-byok How do I use Bring Your Own Key (BYOK) with GitHub Copilot Chat? https://latestn.com/tool/github-copilot/models/check-inline-suggestion-model How can I check which AI model GitHub Copilot is currently using for inline suggestions? https://latestn.com/tool/github-copilot/models/choose-model How do I choose a model in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:06:59Z | changed | example model string: — → claude-haiku-4.5 | [1] 2026-11-19T13:06:59Z | changed | easiest persistent method: — → /model | [1] 2026-11-19T13:06:59Z | changed | alternate configuration file: — → $COPILOT_HOME/settings.json | [1] 2026-11-19T13:06:59Z | changed | slash command: /model → — | [1] 2026-11-19T13:06:59Z | changed | example model: gpt-5.3-codex → — | [1] 2026-11-19T13:06:59Z | changed | configuration key: model → — | [1] 2026-11-17T13:32:45Z | changed | configuration key: — → model | [1] 2026-11-17T13:32:45Z | changed | configuration file: — → ~/.copilot/settings.json | [1] 2026-11-17T13:32:45Z | changed | reasoning effort key: effortLevel → — | [1] 2026-11-17T13:32:45Z | changed | config key: model → — | [1] 2026-11-17T13:32:45Z | changed | config file: ~/.copilot/settings.json → — | [1] 2026-11-13T03:31:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/models/choose-model-2/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/github-copilot/models/choose-model-2 POST: https://latestn.com/dispute/tool/github-copilot/models/choose-model-2 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/models/choose-model-2?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I choose or pin the model used by GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:13:19Z. https://latestn.com/tool/github-copilot/models/choose-model-2 (accessed 2026-11-21T09:52:51Z). @misc{LatestN_tool_github_copilot_models_choose_model_2_r3, title = {How do I choose or pin the model used by GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/models/choose-model-2}}, note = {Revision 3; digest sha256:743ae3cef87838a1; last verified 2026-11-20T13:13:19Z; accessed 2026-11-21T09:52:51Z} } 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/github-copilot/models/choose-model-2