Skip to content
క
kagitha
/
quiz
/
opencode-local-models
Subscribe
Index
⌘K
AI NOTEBOOK · QUIZ 15 · BEGINNER
OpenCode + Ollama on your laptop
QUESTION 01 / 05
In the memory-is-a-room picture, what is the desk?
A
The model
B
The context window
C
The operating system
D
The hard disk
SCORE SO FAR · 0 / 0
Share this quiz ↗
In the memory-is-a-room picture, what is the desk?
— The context window. The model is the worker with a fixed size. The context window is the desk, and it grows as OpenCode sends files, rules and the conversation.
You have an 8 GB laptop. Which model is the sensible place to start with OpenCode?
— qwen3.5:4b. qwen3.5:4b is about 3.4 GB and supports tools, which leaves room for the OS and a modest context. The 20b and 30b models need much more memory.
ollama ps shows your model as a 45%/55% CPU/GPU split. What does that mean?
— Part of the model spilled to the slower CPU. Part of the model didn't fit in the fast memory, so it runs on the CPU and slows down. Lower the context, close apps, or use a smaller model.
What does setting OLLAMA_KV_CACHE_TYPE to q8_0 do?
— Makes the context's memory cache about half the size. The KV cache is Ollama's working copy of the context. q8_0 stores it in about half the memory with almost no quality loss. It needs flash attention switched on.
Which task is a small local model most likely to do well?
— Write one unit test for one method. Small models do best with small, specific tasks in one or two files. Big, vague or many-file tasks are where a larger or cloud model helps.
kagitha
Close
✕
Search everything — articles, videos, chapters, agents, books
01
AI
02
Java
03
System Design
04
Series
05
Manga
06
The Lab
07
Videos
08
Quizzes
09
Books
10
Resume