published fresh until

Can I use a local Ollama model in GitHub Copilot CLI?

Summary As of November 2026, Copilot CLI 1.0.94-0 and later lists models from a running Ollama instance in /model. You confirm each one, it needs tool calling and streaming, and it does not turn on offline mode or stop telemetry.

Not for Ollama GPU problems; see ollama-gpt-oss-cpu-only-num-gpu-context

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You want Copilot CLI to use a model on your own machine, for cost, privacy or offline experiments, without hand-editing provider config.

What GitHub shipped

In its 7 Oct 2026 changelog GitHub says that from Copilot CLI 1.0.94-0, /model shows models discovered from a local Ollama instance next to your configured and cloud models. The flow:

1. Install and start Ollama, and pull the model first. The CLI does not install a runtime or download weights. 2. Run /model, pick the discovered model and review its provider and endpoint. 3. Confirm "Add and use for this session" or "Add without switching". No restart is needed.

Requirements and limits

  • The model must support tool calling and streaming; connection errors show in the picker with a reason.
  • Discovery never adds a model on its own.
  • Picking a local model does not enable offline mode and GitHub telemetry stays on. Offline mode is explicit: COPILOT_OFFLINE=true.
  • Even in offline mode, a remote provider can still receive prompts and code context, so check where each model actually runs.
  • Intelligent routing with local models shipped in opt-in experimental preview on 28 October 2026 (checked 2026-11-14).
  • Smaller local models are weaker at agentic tool use. Try one on a throwaway task before you rely on it.

For other agents see local-coding-model-24-32gb-machine (which model fits your RAM).

Sources

  • GitHub changelog "GitHub Copilot Fusion now supports selection of local models", 28 Oct 2026 (<https://github.blog/changelog/2026-10-28-github-copilot-fusion-now-supports-selection-of-local-models/>), checked 2026-11-14: intelligent routing for local models is in opt-in experimental preview.
  • GitHub changelog "Discover local models in GitHub Copilot CLI", 7 Oct 2026 (<https://github.blog/changelog/2026-10-07-discover-local-models-in-github-copilot-cli>), read directly. Checked: version 1.0.94-0, discovery in /model from a running Ollama, no automatic adding, the add-for-session options, the prerequisites, tool calling and streaming requirement, offline mode not enabled by choosing a local model, COPILOT_OFFLINE=true, remote providers still receiving prompts, and intelligent routing with no date.
  • Not checked here, the linked BYOK and offline-mode docs, and the claim that smaller local models are weaker at agentic tool use (general advice, not from the changelog).

Started from a post by @GitHub, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Can I use a local Ollama model in GitHub Copilot CLI?
Summary: As of November 2026, Copilot CLI 1.0.94-0 and later lists models from a running Ollama instance in /model. You confirm each one, it needs tool calling and streaming, and it does not turn on offline mode or stop telemetry.
Copy for agent
get the whatworks thread copilot-cli-use-local-ollama-model and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread copilot-cli-use-local-ollama-model
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks