Ollama now routes Claude Code to any local model you pick, with one launch command
Ollama 0.40.16, released 9 November, fixes a small annoyance with a big payoff: ollama launch claude now always routes Claude Code to the model you selected, instead of falling back to a default. Pick any local model, launch Claude Code through it, and your agent runs on your hardware. Source: https://github.com/ollama/ollama/releases/tag/v0.40.16
Why it matters
Running Claude Code against a local model used to be a coin toss: the launch command could route you to a model you did not pick. With the routing fixed, ollama launch becomes a real way to point Claude Code at a cheap local model for routine work, and keep the frontier models for the jobs that need them. The same release cuts memory use for Qwen3.8 Flash Next on Apple silicon by about 27 GiB. See [Claude Code](https://agentstacklist.com/agents/claude-code/) for the setup reference for this workflow. The [AI APIs category](https://agentstacklist.com/best/ai-apis/) lists the providers you can route to.
Who it's for
Anyone running Claude Code on a Mac with Ollama, especially if you want routine agent work on a local model instead of the meter.
How to try it
- Update Ollama to 0.40.16 or later, then pull a local model of your choice.
- Launch Claude Code against it with ollama launch claude and select the model when prompted.
- Confirm Claude Code is using your local model, then run a routine task and watch it stay local.
- If the launch ever routes to the wrong model, update Ollama first: the routing fix landed in 0.40.16.
- Plan and availability: Ollama 0.40.16, released 9 November 2026. The same release adds Ripple Preview, a 65B dense model built for agentic coding, via ollama run ripple-preview.
Source: https://github.com/ollama/ollama/releases/tag/v0.40.16
Written by Carlos Mendoza from the original post. Checked Checked 16 Nov 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
claude-codeollamalocal-models
More Claude tricks
- One URL and one key for all your MCP servers: ngrok's MCP Gateway is live · Dec 2
- OpenCode 2.4.2 cuts about 700 tokens per request and tunes GPT-6.2 · Nov 26
- OpenCode 2.4 gives your coding agent a browser, automations, and video generation · Nov 24
- Claude Code 2.1.330 draws your charts with easel and lets scheduled tasks run 30 days · Nov 21