Last time I ran Claude Code for free in the terminal. A lot of you asked the obvious follow-up: can I do this inside VS Code?
Yes. The official Claude Code extension can skip the Claude login entirely and talk to a model running on your own PC. No API key, no subscription, no bill. Then I gave it one prompt and it built a full Space Shooter game.
How it works
The extension normally sends your prompts to Anthropic's cloud. We point it at Ollama instead, which runs Qwen 3.8 locally on localhost:11434 .
Piece Job
VS Code + Claude Code extension The editor and the agent you chat with
Ollama Runs the model and serves it on port 11434
Qwen 3.8 (27B) Actually writes the code
How you use Claude Code doesn't change. Only where the model runs does.
Before you start
VS Code (any recent version)
~32 GB of memory between RAM and VRAM
~20 GB free disk (the model is ~18 GB)
A GPU helps a lot (24 GB VRAM is ideal). Without one it still runs, just slower. ## 1.β¦