Reddit
Claude Code Running on Local LLMs via Ollama — Practitioner Guide With Full Setup
A 197-upvote guide on r/ClaudeAI walks through running Claude Code's full agentic workflow with local models via Ollama, reporting surprisingly usable results. The setup requires setting ANTHROPIC_BASE_URL to localhost:11434. Community benchmarks show Qwen3.6:27b hitting 77.2% on SWE-Bench Verified, with GLM-4.7-Flash's MoE architecture (3B active parameters from 30B total) running on 16GB RAM. Official Ollama documentation now includes a dedicated Claude Code integration page.
Source
↳ Follow the thread