r/LocalLLM • • 2d ago

Question Small model on laptop to write code fast. Big model to review and QA

Hello everyone.

I have a gaming PC - now AI inference server where I run swift1.5 (qwen3.8) IQ3s using strata (Ryzen 9700xt 16 gb + 64 gb DDR5 6000). It runs well I get ~60tok/s avg generation and up to 3.2k tok/s prefill (1.5k average).

I run hermes on my laptop and do mostly coding and some research. My laptop is kinda beefy (RTX 4070 Laptop 8 GB, 64 GB DDR5-4800)

Is it a good idea to run something like LFM 2.5 8B A1B at 120 tok/s as a dumb function writer (like a junior developer) and have Qwen manage it and review the output? Will it speed up my coding loop?

3 Upvotes

7 comments sorted by

2

u/ptico 2d ago

No, I tested quite a bunch of small models and the results are meh, from syntax errors to pretty dumb bugs. You will spend more computing power on review and fix and just countless turns

I even tried pretty hard to do some harness engineering where stronger models writes the bounded typed contracts in a special format with a limited context, no luck, the results was not worth the effort and stronger model was faster on just writing the code instead of orchestration

1

u/HambugerLips 2d ago

Yeah, I thought I had done something wrong in the config, but after a lot more testing, I don't think that's the case.

1

u/empoman 2d ago

Most time is not spent on actual final code output, but the reasoning to get to that point.

Or at least, that's my experience of using Qwen 3.8 FN.

1

u/sco77 2d ago

You could do a blind red proof locally too, to ensure that any code you write at least has a test that will fail if it fails the test conditions.

( Red proof is writing a test that, when it executes outside the parameters, will throw an error and so you know the test actually checks for something.)

1

u/Dabalam 2d ago

I don't think so. I don't think the speed delta is great enough to make up for the extra time spent correcting and testing the syntax errors. If you had a model capable of very accurate syntax, fast but was dumb/ not very good at reasoning a plan that might work. Much of the smaller models are not going to have the accuracy need to make the speed worth it though.

1

u/Tatigalia 2d ago

Faster doesn't mean better, i would split tasks using same model witch is good at coding like qwen 3.8 27b, for example create front end file/files, than use other agent and feed/give files of front end to build back end, this way you will split work for both, ofc context size matters, but splitting like this will use less instead of building everything by 1 AI witch will start making mistakes

1

u/JinxedBluejay 2d ago

I have been doing that with Qwen 3.8 27b on my machine with Claude doing audits.

I've had good success.

https://github.com/adamjeremy-sk/vermilion-editor

That is the project I am working on using this method.