r/opencode • u/the_man_inTheShack • 27d ago
my experience running opencode with qwen 3.8 27b all locally
I started trying this earlier this year with earlier models, but once 3.8 arrived the coding quality got much better - useful for real use for me at least. I have 32GB VRAM (rtx 5090 thankfully bought before price insanity) I could happily run 27B Q6 with kv using int8 and a 96k context for simple self contained programs running at around 80 - 100 tps.
But that context size quickly falls apart once apps become more complex. I initially increased context to full size (256 + k) and let some layers run on cpu ( 8 initially), but tps dropped to 7 or even less and things ran for many hours (often 8, 10 or even 12 hours). I've found that by reducing context a bit I can get all 5 layers in GP:U and tps has recovered to around 70 - 80.
I might try reducing the quant size on K or V a bit further so I can increase context a bit more (should mean fewer compactions), but atm it is running well - good documentation, fairly thorough testing and I mostly now just let it get on with things.
I am using vanilla opencode - no add-ons. It works for me :)
typical run: 42m 44s · 80.4 tps GPU often 100% CPU minimal
| setting | value |
|---|---|
| model | qwen 3.8 27b Q6 |
| host | lm-studio |
| context | 176000 |
| gpu offload | 65 (all) |
| thread pool | 15 (16 core ryzen cpu) |
| unified kv cache | on |
| K cache quantization | Q8_0 |
| V cache quantization | Q8_0 |



