Answer: To manually add a model provider configuration, open or create the providers.json file in your CLI configuration directory (normally ~/.copilot) and add your provider and model details, then save the file and restart the CLI. Status: Confirmed Entry: tool/github-copilot/models/manual-provider-config Revision: 3 Digest: sha256:5d272dd4a41cbd6e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:54Z Last changed: 2026-11-20T13:02:09Z (environment variable override: — → COPILOT_PROVIDERS_CONFIG) Last verified: 2026-11-20T13:02:09Z Next check: 2026-11-21T13:02:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config file | providers.json | [1] | 2026-11-20 config directory | ~/.copilot | [1] | 2026-11-20 environment variable override | COPILOT_PROVIDERS_CONFIG | [1] | 2026-11-20 default provider type | openai | [1] | 2026-11-20 example baseUrl | https://api.openai.com/v1 | [1] | 2026-11-20 final step | Save the file and restart the CLI. | [1] | 2026-11-20 Sources: [1] GitHub. "Adding LLM models to GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-llm-models Role: primary. Accessed: 2026-11-20T13:02:09Z Quote: "you need to manually add the provider details to the providers.json file" (Supports: config file) Quote: "It's located in your CLI configuration directory, normally ~/.copilot ." (Supports: config directory) Quote: "You can use another file by setting COPILOT_PROVIDERS_CONFIG to its path before starting the CLI." (Supports: environment variable override) Quote: "openai OpenAI and services with an OpenAI-compatible API, such as Ollama, vLLM, and Foundry Local. This is the default provider type." (Supports: default provider type) Quote: ""baseUrl" : "https://api.openai.com/v1"" (Supports: example baseUrl) Quote: "Save the file and restart the CLI." (Supports: final step) Snapshot SHA-256: 374f3e172a965fc1265573badeadebe788c463cf9524f40e64412c0a46488827 (captured 2026-11-19T12:55:54Z) 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-19T12:55:54Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:09Z Last attempt: 2026-11-20T13:02:09Z Notes and limitations: Extracted automatically from a single official source (section "Manually adding a model provider configuration"). Related: https://latestn.com/tool/github-copilot/models/model-availability-factors What determines which models are available to me in GitHub Copilot? https://latestn.com/tool/github-copilot/models/model-hosting-providers Which AI model providers host the models available in GitHub Copilot? https://latestn.com/tool/github-copilot/models/model-requirements What are the model requirements for adding LLM models to GitHub Copilot CLI? https://latestn.com/tool/github-copilot/models/lts-models-overview What are long-term support (LTS) models in GitHub Copilot and how do they differ from base models? https://latestn.com/tool/github-copilot/models/manage-model-availability-enterprise How do I control which GitHub Copilot models are available in my enterprise? https://latestn.com/tool/github-copilot/models/manage-model-availability-organization How do I manage the availability of models for GitHub Copilot in my organization? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:02:09Z | changed | environment variable override: — → COPILOT_PROVIDERS_CONFIG | [1] 2026-11-20T13:02:09Z | changed | environment variable for alternate file: COPILOT_PROVIDERS_CONFIG → — | [1] 2026-11-17T13:18:15Z | changed | final step: — → Save the file and restart the CLI. | [1] 2026-11-17T13:18:15Z | changed | config directory: — → ~/.copilot | [1] 2026-11-17T13:18:15Z | changed | supported provider types: openai → — | [1] 2026-11-17T13:18:15Z | changed | example model id placeholder: YOUR-MODEL-NAME → — | [1] 2026-11-17T13:18:15Z | changed | example apiKey placeholder: YOUR-API-KEY → — | [1] 2026-11-13T03:23:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/models/manual-provider-config/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/manual-provider-config POST: https://latestn.com/dispute/tool/github-copilot/models/manual-provider-config with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/models/manual-provider-config?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I manually add a model provider configuration to GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:02:09Z. https://latestn.com/tool/github-copilot/models/manual-provider-config (accessed 2026-11-21T09:54:28Z). @misc{LatestN_tool_github_copilot_models_manual_provider_config_r3, title = {How do I manually add a model provider configuration to GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/models/manual-provider-config}}, note = {Revision 3; digest sha256:5d272dd4a41cbd6e; last verified 2026-11-20T13:02:09Z; accessed 2026-11-21T09:54:28Z} } 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/manual-provider-config