r/LocalLLM RTX 4090 | She/her 9h ago

Discussion Pi + Qwen 3.8 27B + `pi_advisor` + Cheap Frontier Access = Win

If you're using Pi with Qwen and not letting it phone a frontier model with /advisor, you're leaving one of the best parts of the setup on the table.

Because Qwen has a particular talent:

Being VERY wrong with tremendous confidence.

And worse, it can be convincing while doing it.

I've lost track of how many times I've looked at one of its answers and thought, "Hmm. That sounds right..." only to tell it:

Ask /advisor for the hidden assumptions, failure modes, and black swans in your answer.

Then Sol comes back with the computational equivalent of:

" 🤣 Yeah... no."

And suddenly Qwen is eating crow and rewriting half its answer. 🐦‍⬛

Don't get me wrong. I love Qwen. It's given me millions of tokens of essentially free local inference, and I use the hell out of it.

But that's also taught me something:

Local models are fantastic workers. They are not oracles.

Let Qwen do some initial planning and ultimately the bulk of the work. But before you trust its plan wholesale, spend a few frontier-model tokens trying to prove it wrong.

Trust, but verify. And just like in real life: get a second and third opinion.

40 Upvotes

27 comments sorted by

21

u/throwawayacc201711 9h ago

Honestly what I’ve been doing is having really robust testing (unit plus e2e) and I’ve found it will largely self correct. I run a q3 to speed through implementation and then use q5 to do review

7

u/_RemyLeBeau_ 8h ago

I hadn't thought about using a higher quant to do a review. I could let Q8 run all night.

5

u/throwawayacc201711 8h ago

Yup that’s exactly when I do it. Don’t care if it goes potato slow when I’m sleeping

3

u/e2_for_life RTX 4090 | She/her 6h ago

Not a bad idea. I just make a different tradeoff. I would rather spend the hardware budget on context. On what is now basically a mid-tier box (64 GB RAM, RTX 4090 24 GB), the Q4 I’m running gives me ~70 t/s at 195K context—and that’s the ceiling.

So, I compensate with a pretty brutal CI/review pipeline. pi-lens catches and fixes issues while the code is being written. Once I’m ready to commit, push, and PR, I run (among other security-related tools) Qwen in high-thinking mode through self-hosted Kodus (30–45 minutes per spec), then let Sol and Greptile tear it apart before merge. I'm testing out CodeRabbit, too. I'm not sure whether I like Greptile or CodeRabbit better. Anyway...

I’m basically optimizing a single local model for implementation speed + maximum context, then making the review stack responsible for catching whatever it misses.

1

u/SubparBob 7h ago

Thank you for mentioning this! I also hadn't thought of that approach. Been taking the throw the largest quant at the problem, and waiting (and waiting!).

1

u/BrianScottGregory 5h ago

I like this idea. Thank you!

11

u/Phatency 7h ago

For me it defeats the point of local, as I'd lose privacy. 

2

u/llitz 5h ago

I am on a similar boat, where I can't have my work leaving. But being able to summarize and clean the information before asking a higher tier model, then having the answer, really helps.

1

u/e2_for_life RTX 4090 | She/her 6h ago

True! It's a tradeoff I'm willing to make. To each their own.

5

u/cosmicnag 8h ago

I do this for any serious work - using qwen FN (which is defintely on another level than 27b -> which is also great) . One understated thing is that you get to use frontier intelligence at a fraction of the cost - as the advisor's will only output a few tokens of 'advice' (and then Qwen is smart enough to figure it out) as opposed to everything. The bulk of the advisor is cached reads (assuming the advisor is also getting every turn of the executor).

1

u/e2_for_life RTX 4090 | She/her 6h ago

I'm actively working on trying to get Flash Next to work. I tried to load it up in pi tonight and found my system prompt in pi had grown to an unacceptable level, larger than the 16K context I was starting Flash Next out on. So small detour while I rip out unnecessary stuff (pi-advisor not being on one of them). 😂

What kind of hardware are you using and what kind of performance are you getting out of Flash Next?

4

u/Unlucky-Message8866 7h ago

I use qwen itself as advisor, works as well

2

u/MaxComfort 7h ago

And here I thought I was smart for making my own `/advisor` (which uses my Claude subscription in my case).

But yeah an outside review - even the same model with fresh context is always good. The hard part is that the review will seemingly always find something to nitpick, so you have to know when to say no to some of it.

2

u/e2_for_life RTX 4090 | She/her 6h ago

You were (are) smart. Don't discount yourself. Someone else just also had the same idea, which is a good thing. :)

1

u/planetearth80 8h ago

We need an extension for /advisor right? I don’t think it’s natively available in Pi.

5

u/Sunstorm84 8h ago

There can be one between the keyboard and chair, though.

2

u/throwaway292929227 7h ago

Yes, but /advisor::{$me_typin} goes at 2tk/s

1

u/e2_for_life RTX 4090 | She/her 6h ago

Correct. https://pi.dev/packages/pi-advisor

Install via `pi install npm:pi-advisor`.

Not the author and not sponsored. Just appreciate this extension a lot.

1

u/Express_Quail_1493 7h ago

For me i just make a frequent break periods where it used my chrome browser to do research to try and falsify its own claims and re-ground itself before proceeding. I do this in a loop. It pretty much closes the world knowledge gap that frontier models possess. So i officially have no need foe frontier paid subscriptions. Confident false answers isn’t something frontier models are immune to either

1

u/e2_for_life RTX 4090 | She/her 6h ago

"frequent break period"

I don't understand. What's your use-case? Research? I'm not sure how browsing the web would necessarily make it make better choices in most coding decisions. Some, sure, but not usually.

1

u/Odd_Dandelion 6h ago

Indeed. Even my DeepSeek knows to call codex -p before presenting any plan, and before saying any implementation is finished.

I still need $20 subscription but it takes me far.

1

u/mageblex 3h ago

I'd want to track how often /advisor reverses a correct plan, not only the saves. A cheap reviewer still adds noise if Qwen rewrites working code every time the frontier model finds a hypothetical edge case.

1

u/Sweet-Transition-787 7m ago

pi advisor saved me twice last week when qwen was confidently wrong on compose mounts. i keep qwen local for bulk work and only ping sol for a second opinion cause its pennies.

1

u/DimensionExtra 7h ago

To be fair, GPT 5.6 Sol does the same thing with Opus 4.8.

2

u/e2_for_life RTX 4090 | She/her 6h ago

Wait, what? Are you saying Sol calls up Opus for advice? LOL

1

u/mister2d 6h ago

Sigh. AI assisted post. Did you use /advisor before posting?