Which local models can drive a coding agent on a 16 GB GPU?
In my own ASO experiment, 5 Ollama models each drove a coding agent through a ladder of 5 tasks on an RTX 5060 Ti 16 GB. On their own, 3 passed at least one level and 2 passed none. Writing the tests first lifted both models that tried it on every level.
One small coding test: 5 tasks, one run each. It's a single data point, not a ranking of the models.
Test result and memory needed at 32K context
| Model | Levels passed | Measured speed | Memory | VRAM to stay on GPU | Smallest GPU that fits |
|---|---|---|---|---|---|
| Qwen3-Coder 30B-A3B qwen3-coder:30b | 3 of 5 alone, 4 of 5 with tests written first | 46 tok/s | 21 GB Q4 | 24 GB | NVIDIA GeForce RTX 3090Amazon |
| GLM-4.7-Flash 30B-A3B glm-4.7-flash | 3 of 5 alone, 5 of 5 with tests written first | 46 tok/s | 20 GB Q4 | 23 GB | NVIDIA GeForce RTX 3090Amazon |
| gpt-oss 20B gpt-oss:20b | 3 of 5 | 87 tok/s | 14 GB MXFP4 | 17 GB | AMD Radeon RX 7900 XTAmazon |
| Devstral Small 24B devstral:24b | 0 of 5 | 5.8 tok/s | 19 GB Q4 | 22 GB | NVIDIA GeForce RTX 3090Amazon |
| Qwen2.5-Coder 14B qwen2.5-coder:14b | 0 of 5 | 17 tok/s | 15 GB Q4 | 17 GB | AMD Radeon RX 7900 XTAmazon |
Measured speed is how fast each model writes on the test machine at 32K context (median of 3 runs; per-context results on each model's page). Memory and VRAM are this site's estimates at 32K context, the context the test started with. On the 16 GB test GPU every model ran partly on the CPU at the test's context; that makes a model slower, not worse.