Can a local model replace Claude?
I wanted AI that runs locally, without leaning on a subscription.
I ran 9 local models on three machines against real tasks. They replaced Claude for quick answers, lookups in my notes, and photo tagging. None has earned my trust for real coding: the server and gaming PC failed, and the MacBook models only passed a one-tool test.
What I tried
I ran models through Ollama on a MacBook with 48 GB of unified memory, a gaming PC with a 16 GB GPU, and a home server with no GPU. opencode was the agent client. About 30 runs in total: speed tests on every machine, then real tasks such as reading a file, answering from my notes, and reviewing a page.
What happened
| Task | Model, machine | Result |
|---|---|---|
| Agentic coding | qwen3.5:4b, home server (CPU only) | Failed. Hit the 25 minute timeout. Asked to read a file, it created directories. |
| Agentic coding | gpt-oss:20b, gaming PC | Fastest by far, but it made up a file path twice. |
| Agentic coding | qwen3.6:35b-mlx, qwen3.8:27b-mlx, gpt-oss:20b, MacBook | All passed a one-tool task. |
| Answering from my notes | qwen3.6:35b-mlx, MacBook | 6 of 6 correct, with sources, but 24 to 122 seconds each. |
| Quick one-line questions | gpt-oss:20b with a terse system prompt, MacBook | 5 of 5 correct, under a second. |
The made-up paths may be Ollama’s fault, not the model’s. An open Ollama bug scrambles the model’s memory on AMD’s ROCm backend, but it was reported on a different chip, and gpt-oss also invented a tool once on the MacBook, which has no ROCm. A rerun on the Vulkan backend should settle it.
What decides speed
For an agent, how fast the model reads its input (prompt processing) matters more than how fast it writes. Every turn resends 10K+ tokens of context. Reading speed ranged 75x, from 43 tokens a second (qwen3.5:4b on the server) to 3236 (gpt-oss:20b on the gaming PC). Different models ran on each machine, so this compares setups, not hardware, but it matches the table: the server timed out, and the gaming PC was fastest. On the MacBook, mixture-of-experts models read about 7x faster than a dense model of similar size, because only part of the model works on each token.
Settings that mattered more than the model
- Reasoning effort.
gpt-ossreasons even when you turn thinking off: one quick question took 178 seconds.think: "low"brought that to 6 seconds, and adding a terse system prompt got it under one. - The client. The same question took about a second through Ollama’s API and 17 to 20 seconds through opencode, which sends a large agent prompt first. Pick the client per job.
- Context length. The Ollama app’s default of 0 means the model’s maximum, 262K tokens. It froze the MacBook with 11.6 GB of swap. I set 32K.
- Threads. On the CPU-only server, a CPU quota alone left the model running 6 threads at 1.5 tokens a second. Pinning it to 2 threads gave 7.1.
Where it goes wrong
Fast and wrong is worse than slow. The smallest model I tried, qwen3.5:0.8b, got 1 of 5 right. Asked how to undo a commit but keep the changes, it suggested git reset --hard, which throws them away.
What I run now
The MacBook handles the light work every day:
- Qwen 3.6 (
qwen3.6:35b-mlx, mixture of experts) answers questions from my notes. qwen3.5:9btags photos for Wardrowbe, a self-hosted wardrobe app I’m trying. It’s not perfect: the app still drops about one outfit in three.- A small
qcommand runs the tuned gpt-oss and answers one-liners in my terminal in under a second.
Ollama is gone from the home server. The gaming PC wakes on demand.
Where it ended up
Explored, with a split answer. Local models replace Claude for quick answers, my notes, and tagging, and nothing they read goes to a model provider. Coding with many steps stays on Claude until a local model passes a real coding test. Web review stays there too: the one attempt, on the server, took minutes just to read a page.
