Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Claude claude By Carlos Mendoza

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

  1. Update Ollama to 0.40.16 or later, then pull a local model of your choice.
  2. Launch Claude Code against it with ollama launch claude and select the model when prompted.
  3. Confirm Claude Code is using your local model, then run a routine task and watch it stay local.
  4. If the launch ever routes to the wrong model, update Ollama first: the routing fix landed in 0.40.16.
  5. 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

All Claude tricks →