Terminal panel showing the environment variables for pointing Claude Code at Ollama and a results table for three local models on two coding tasks

Claude Code with a Local Ollama Model: Setup, and What a 12 GB GPU Can Do

Claude Code speaks the Anthropic API. Ollama now speaks it too. Point one at the other with three environment variables and Claude Code runs against a model on your own GPU. No API key, no per-token bill, and the prompts stay on your network. Whether it’s any good is a different question. I ran it against three models on an RTX 3060 with two small coding tasks each. One model did well at both. One was the best at one and the worst at the other. Treat what follows as a smoke test, not a benchmark, but the differences were big enough to matter. ...

November 6, 2026 · 8 min · Tom Cocking

RTX 3060 NiceHash Overclocking and the 470.05 Hash Rate Unlock (2021 Archive)

Note: NVIDIA has since patched the RTX 3060 hash rate limiter across multiple driver versions. The developer driver 470.05 used in this article is no longer available from NVIDIA. Crypto mining on consumer GPUs is generally no longer economically viable. If you still have the card, it is far more useful today running local LLMs. See running Ollama in a Proxmox LXC with NVIDIA GPU passthrough. ...

April 7, 2021 · 4 min · Tom Cocking