Claude Code + Ollama: setup and local vs cloud models
Learn to connect Ollama to Claude Code and compare coding results with Qwen 3.5 on a 16 GB MacBook and cloud models in a Storybook project.
Player not loading? Watch on YouTube
This tutorial connects Ollama to the terminal version of Claude Code, then tests the coding assistant in a Storybook project. The setup starts with installing both tools, downloading a model, and launching Claude Code through Ollama inside Visual Studio Code. The speaker specifies the terminal client rather than the Claude desktop app.
For the local LLM test, the speaker chooses Qwen 3.5 with 9 billion parameters on a MacBook with 16 GB of RAM. The walkthrough covers downloading models, listing installed models, and selecting model sizes. Asked to add a rounded button variant, Qwen returns HTML in the terminal instead of editing the project. That result illustrates a limitation of this particular test, rather than establishing how all local models perform.
The cloud comparison uses Ollama's hosted gpt-oss 120B model, repeats the button task and produces a new Storybook story. A later Nemotron 3 Super test adds a loading table with a shimmer animation, initially triggers a "loading is not defined" error, and succeeds after a follow-up repair prompt.
The speaker describes local execution as private and offline, while cloud models require an internet connection. Hardware advice includes 32 or 48 GB of RAM or VRAM for larger coding workloads; these are the speaker's recommendations, not measured minimum requirements. Cloud models use Ollama's hosted service; the speaker discusses a limited free allowance and paid usage.