r/ollama • u/Previous_Club2327 • 1d ago
Good coding model for low-mid laptop
/r/LocalLLM/comments/1ycpqxo/good_coding_model_for_lowmid_laptop/
1
Upvotes
r/ollama • u/Previous_Club2327 • 1d ago
1
u/ByteCosts 18h ago
With a 6 GB RTX 3050 and 8 GB of system RAM, the practical ceiling is a model of roughly 7B to 8B parameters at Q4, which is about 4.5 to 5 GB of weights and just fits in VRAM with a small context. A coder-tuned model in that size range, like a Qwen coder 7B or a similar 7B coding model, will be much better for completion and small edits than a general chat model of the same size. If you want something faster and lighter, 3B to 4B coder models leave more room for context, which matters because the KV cache grows quickly and can push you out of VRAM. Keep the context window modest (4k to 8k) and close your browser, since with only 8 GB of RAM anything that spills over to system memory will slow things down a lot. For agentic work, set expectations low: small models tend to struggle with multi-step tool use, so they work better for one-file tasks, explaining code and writing functions than for long autonomous loops.