Ollama, Claude Code and Codex: local and cloud setup
Learn Ollama setup in WSL 2 and compare coding harnesses with open models, including Gemma 4 tests on an RTX 4060 with 8 GB VRAM.
Player not loading? Watch on YouTube
Andrew Brown explores how to connect open models to a coding assistant through Ollama, starting with local setup and moving to cloud inference when his hardware limits the experiments. The walkthrough uses Windows with Ubuntu in WSL 2 and an Nvidia RTX 4060 with 8 GB VRAM. It covers downloading models, starting the server and monitoring GPU memory.
The local LLM experiments expose a practical distinction: generating text does not establish that a model can call tools and edit files. Brown's local Gemma 4 session responds to chat but fails to write the requested file. He investigates its 4,096-token context and cites a recommendation of at least 32,000 tokens for Claude Code. His hardware conclusions concern this setup; he does not demonstrate a universal minimum VRAM requirement.
Cloud tests use a single-file WebGL Flappy Bird game to compare models. Brown reports working results with Gemma 4, Kimi 2.5 and GLM 5, while MiniMax 2.7's game remains broken after attempted fixes. Qwen 3.5 struggles to write files. He explicitly describes these as smoke tests rather than a systematic programming benchmark.
Later sections test Pi Coding Agent skills with a SQLite to-do database, Factory Droid's account login and spec workflow, and OpenCode's manual switch from plan to build mode. The course explores ways to run models locally, but much of the coding comparison uses Ollama Cloud.