Comment by soccerdave

24 days ago

Can you tell a little more about your software setup? Been playing with local AI models but struggle to get anything as easy as ChatGPT or Claude. I have a folder with skills, and I can switch between ChatGPT and Claude, and either will do the same work. I’m struggling to find something that can do that locally

Local models requires investment of about $2500 into hardware, so that you can run models at decent tok/sec. You then need to basically write custom harnesses. All of my stuff runs on a llama.cpp backend on a dedicated inference machine, and a client runs custom code built with OpenAPI library to make inference calls to accomplish things.

  • > need to basically write custom harnesses

    Curious, why/how does that help? Or do you have some niche needs?

    • The latent space of models, which basically steers the token generation into a particular direction is much coarser with the local models compared to big models. Small models known fundamentals well, but do not have the breadth to realize the particularities of combination of fundamental task given certain criteria.

      As such, if you want to replicate big model behaviour, you need to basically do context augumentation. How you do that is up to you for your own needs.

      5 replies →

  • > You then need to basically write custom harnesses.

    Why? Most existing harnesses let you point them at whatever API you want. I'm currently have a great time with Juggler.

    • I find myself having to write a lot more skills for Qwen3.8-27b to effectively use tools it hasn’t seen before, versus virtually no skill-writing needed for Claude anymore. It seems to understand novel tools and when to use them pretty intuitively.

    • For basic tasks, yea. For more advanced tasks, where the agents running on big llms will do more actions autonomously, the smaller models will sometimes stop execution or go off in wrong directions.

One RTX4090 with 24G gives me about 200k KV cache with Q4_K_M quant for typica coding tasks, via opencode. I use Q6_K with 60k cache if the work doesn't require scanning too many files. Q6_K is really good.

  • Could you shed some more light on the differences when you switch from Q4 to Q6_K? Tbh, I prefer having larger context windows since it looks like qwen just figures it out eventually. Since I noticed that it really wants to fill its context by, e.g., reading many files etc. I'd be open to experiment with smaller context windows and less quantization in my ninfer fork [0] if there's a benefit to it. But sometimes I think it's just more art that science :)

    [0] https://github.com/tensorninja/ninfer-4090

I had the same trouble but I also had some success. I did a little write up on what I got to work.

https://joeldare.com/a-local-open-weight-model-builds-its-fi...

I think it can be made to work if you’re willing to tweak the prompts.

But, to be honest, I find my time to be worth more than the $20 I spend on a light weight frontier plan that can do this without the hand holding.

I want local to succeed, however, because of things like Anthropic stopping games based on other games.

Shameless plug here: I'm building a coding agent that kicks smaller models on track again if they misbehave. E.g. I noticed that qwen-3.8-27b often writes an intend but then stops and hands the turn back to the user. This is why I implemented lots of "nudges" and paired with a goal mode (and maybe autopilot) does wonders.

Here are some examples: https://caudra.ai/gallery/#nudges