Answer: In an interactive session, enter /model, look for Ollama-provided models under "Local and self-hosted," select a discovered model and press Enter, then choose Add and use for this session or Add without switching. The CLI saves the model details to the providers.json file so it is available in later sessions. Status: Confirmed Entry: tool/github-copilot/models/add-ollama-model Revision: 3 Digest: sha256:53eee69c829e283b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:54Z Last changed: 2026-11-20T13:02:08Z (environment variable: — → OLLAMA_HOST) Last verified: 2026-11-20T13:02:08Z Next check: 2026-11-21T13:02:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | /model | [1] | 2026-11-20 model location | Local and self-hosted | [1] | 2026-11-20 discovered status | Discovered | [1] | 2026-11-20 add options | Add and use for this session | [1] | 2026-11-20 saved file | providers.json | [1] | 2026-11-20 default Ollama address | http://127.0.0.1:11434 | [1] | 2026-11-20 environment variable | OLLAMA_HOST | [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:08Z Quote: "In an interactive session, enter /model ." (Supports: command) Quote: "Look for Ollama-provided models under "Local and self-hosted."" (Supports: model location) Quote: "Any models you have downloaded from Ollama but not yet added are shown with the status "Discovered."" (Supports: discovered status) Quote: "Choose Add and use for this session to switch to the model, or Add without switching to keep using your current model." (Supports: add options) Quote: "The CLI saves the model details to the providers.json file so it is available in later sessions." (Supports: saved file) Quote: "Copilot checks for Ollama at http://127.0.0.1:11434 by default." (Supports: default Ollama address) Quote: "If Ollama uses another local address or port, set OLLAMA_HOST before starting the CLI." (Supports: environment variable) 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:53Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:08Z Last attempt: 2026-11-20T13:02:08Z Notes and limitations: Extracted automatically from a single official source (section "Adding models from Ollama"). Related: https://latestn.com/tool/github-copilot/models/auto-model-selection What is GitHub Copilot auto model selection and how does it choose a model? https://latestn.com/tool/github-copilot/models/auto-model-selection-2 How does auto model selection work in GitHub Copilot? https://latestn.com/tool/github-copilot/models/auto-model-selection-models Which AI models does GitHub Copilot Auto model selection support? https://latestn.com/tool/github-copilot/models/add-llm-models-2 How do I add LLM models to the GitHub Copilot app? https://latestn.com/tool/github-copilot/models/add-models-prerequisites What are the prerequisites for adding more AI models to GitHub Copilot Chat? https://latestn.com/tool/github-copilot/models/add-more-models How do I add more AI models to GitHub Copilot Chat? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:02:08Z | changed | environment variable: — → OLLAMA_HOST | [1] 2026-11-20T13:02:08Z | changed | default Ollama address: — → http://127.0.0.1:11434 | [1] 2026-11-20T13:02:08Z | changed | saved file: — → providers.json | [1] 2026-11-20T13:02:08Z | changed | add options: — → Add and use for this session | [1] 2026-11-20T13:02:08Z | changed | discovered status: — → Discovered | [1] 2026-11-20T13:02:08Z | changed | model location: — → Local and self-hosted | [1] 2026-11-20T13:02:08Z | changed | command: — → /model | [1] 2026-11-20T13:02:08Z | changed | Environment variable for custom address: OLLAMA_HOST → — | [1] 2026-11-20T13:02:08Z | changed | Default Ollama address: http://127.0.0.1:11434 → — | [1] 2026-11-20T13:02:08Z | changed | Config file for saved model details: providers.json → — | [1] 2026-11-20T13:02:08Z | changed | Add options: Add and use for this session → — | [1] 2026-11-20T13:02:08Z | changed | Status for downloaded but not added models: Discovered → — | [1] 2026-11-20T13:02:08Z | changed | Model location in picker: Local and self-hosted → — | [1] 2026-11-20T13:02:08Z | changed | Command to open model picker: /model → — | [1] 2026-11-17T13:18:14Z | changed | Config file for saved model details: — → providers.json | [1] 2026-11-17T13:18:14Z | changed | Model location in picker: — → Local and self-hosted | [1] 2026-11-17T13:18:14Z | changed | Config file: providers.json → — | [1] 2026-11-17T13:18:14Z | changed | Model category: Local and self-hosted → — | [1] 2026-11-13T03:23:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/models/add-ollama-model/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/add-ollama-model POST: https://latestn.com/dispute/tool/github-copilot/models/add-ollama-model with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/models/add-ollama-model?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add an LLM model from Ollama to GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:02:08Z. https://latestn.com/tool/github-copilot/models/add-ollama-model (accessed 2026-11-21T09:53:35Z). @misc{LatestN_tool_github_copilot_models_add_ollama_model_r3, title = {How do I add an LLM model from Ollama to GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/models/add-ollama-model}}, note = {Revision 3; digest sha256:53eee69c829e283b; last verified 2026-11-20T13:02:08Z; accessed 2026-11-21T09:53:35Z} } 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/add-ollama-model