Three steps. No API bill, no internet needed, and your code never leaves your machine.
Free app that runs AI models on your own computer. Windows, Mac, Linux.
ollama.com ↗Qwen 2.5 Coder is the sweet spot for consumer laptops. It fits in about 4 GB.
ollama pull qwen2.5-coder
Claude Code reads one setting that decides which server it talks to. Change it in your settings.json:
"env": {
"ANTHROPIC_BASE_URL": "http://localhost:11434",
"ANTHROPIC_MODEL": "qwen2.5-coder",
"ANTHROPIC_AUTH_TOKEN": "ollama"
}
Ollama speaks the Anthropic API format natively now, so no proxy is needed. Restart Claude Code and it runs on your laptop.
Free tools, honest feedback on your work, and people who answer. Job hunters, builders and learners.