OpenCode + Ollama: local coding setup and demo

Learn to connect Ollama to OpenCode on Windows 11, test a local model without internet, and follow an online coding demo after slow responses.

Player not loading? Watch on YouTube

This Telugu tutorial connects Ollama to OpenCode for a local AI coding workflow on Windows 11. The presenter installs Ollama, tests a model in the terminal, then opens a project folder in VS Code. After an installation command fails, he uses npm through Git Bash to install OpenCode globally.

The configuration walkthrough covers the OpenCode schema, an Ollama provider, a default model and tool calling. Restarting OpenCode makes the local model appear in its model selector. The presenter then turns off the internet and sends a greeting. A response arrives, but he reports that it takes much longer than expected.

The description names Qwen 3 8B, while the spoken walkthrough selects a Qwen 3.5 0.8B model described as roughly 1 GB. That discrepancy matters when choosing which download to follow. The demonstrated laptop has Windows 11, an RTX 5060 and 16 GB of RAM; the tutorial does not establish minimum hardware requirements.

For the coding examples, the presenter restores internet access and switches to a model he identifies as DeepSeek V4 Flash through OpenCode Zen. Those examples include an HTML and JavaScript to-do app and a React table interface, so they do not demonstrate offline code generation. He also shows Plan and Build modes and points out mistakes in the generated interface. Claims about free access reflect the presenter's account.