How to install Ollama with quen3:8b
Minimum specs
Component Minimum
RAM 8 GB
CPU Any modern 64-bit with AVX2 (most CPUs from ~2015+) Use CPU-Z to check
GPU None — CPU-only is fine
Disk 10-15 GB free (model ~4.87 GB + Ollama ~3.6 GB + headroom)
open CMD
ollama pull qwen3:8b
ollama run qwen3:8b (This command should also install qwen3:8b if not installed.)
ollama --version
You are in the command prompt
How to really run it
Go to the Ollama taskbar icon, right click, open Ollama
Go to upper left icon and click
Click the model selector and choose qwen3:8b
Now chat away
ollama list See what models you have downloaded
ollama run qwen3:8b Start interactive chat
ollama pull qwen3:8b Download (or update) the model
ollama rm qwen3:8b Delete the model to free disk space
It only accepts submitted text.
You can submit the content with PowerShell prompt or in the Olamma chat prompt.
This will not work with a binary format (.pdf, .docx, .xlsx)
Install pdftotext to extract locally.
Example 1: You have several months of credit card statements
Get-Content 'C:\Users\You\Downloads\Chase_Activity.csv' | ollama run qwen3:8b --nowordwrap "Find recurring charges and estimate annual cost:" | Tee-Object -FilePath 'C:\Users\You\Downloads\chase_analysis.txt'
Example 2:
ollama run qwen3:8b "Here is a legal document. Summarize the charge, key dates, deadlines, and conditions in plain English:`n$(Get-Content 'C:\Users\you\Desktop\document.txt')"
Yikes, I hope you don't need this one 🤣
Documents "uploaded" are on the local machine
If you want it truly gone after you're done
Close the Ollama app.
Navigate to C:\Users\<you>\AppData\Local\Ollama\ in File Explorer.
Delete (or overwrite) db.sqlite.
Adding to Open Code
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen3:8b": {
"name": "Qwen3 8B (local)",
"tools": true
}
}
}
}
// ... rest of your existing config stays untouched ...
}
Key points:
"tools": true is what enables OpenCode's agentic tool-calling (running commands, editing files) with the local model. Without it, you get a chat-only experience.
The model key ("qwen3:8b") must match the exact Ollama tag — check with ollama list.
If OpenCode prompts for an API key for the new provider, just enter ollama (it's a local placeholder).
Don't set "model": "ollama/qwen3:8b" at the top level unless you want it as your default. Leave it unset and use /models in-session to switch between Grok and Qwen3.


