Best llama.cpp models and vscodium extensions for development using local llms

I have llama.cpp-vulkan set up on my framework desktop running gpt-oss-120b, and roocode in vscodium. while this works I have been on the hunt for a better model (with multimodal/vision support and the ability to search the web), and a different extension for vscodium that can do autocomplete as well as an “agent” mode. I understand that you typically use a different smaller/faster model for the autocomplete stuff, but I have no idea what models to use for that either.

Another issue/confusion I’ve had is going from a huggingface download to something that llama.cpp recognizes. I understand that safetensors don’t really work and you want ggufs, and depending on your vram you want to quantize, but what are the right settings for the convert_hf_to_gguf.py script? (is this even the right tool for the job?) should I just be doing something like convert_hf_to_gguf.py /mnt/data/models/Qwen3-VL-235B-A22B-Thinking (with arguments? like –outtype f32?) Even after running convert on qwen3 as an example, I still get errors when llama.cpp tries to load the model.

Please help demystify the local LLM world, and let me know if you have a similar setup or just know some good large models for coding!

To search the web, you do not need a different model - you need your agent (i.e. roocode) to utilize a websearch tool. Most web search providers do not provide free API access, but Exa provides an MCP server that does not require any auth tokens or accounts that works pretty well for a single user: Exa MCP - The Web Search MCP - Exa .

As for what model to use, that depends on your hardware. I have had the best luck with actual coding with GLM-4.7. MiniMax-M2.5 seems to be better at using tools, but the quality of its code generation is not as good. Maybe give GLM-4.7-Flash a try - if you can run gpt-oss-120b you can probably fit GLM-4.7-Flash.

Honestly though, I do all of my actual coding with Codex (at home) and Claude Code (at work). The leading frontier models, as good as they are, still require effort and skill to generate quality output - using second-rate models just feels like an own goal. Also, I am pretty sure my Codex subscription is cheaper than my electrical bill for generating the same amount of tokens on my own hardware even if I had a comparable model.

From an enthusiast’s POV though, I have had a lot of fun playing around with OpenCode - I recommend taking a look at that (and it has Exa websearch built-in if you enable it with an environment variable). Also, give the CLI tools a try without worrying with the VSCode integration - at this point I barely even bother with an IDE when using the agents and just prefer a diff viewer to review its output.

1 Like

I’ve had the best luck with continue.dev, but as previously mentioned, CLI tools work best. I prefer to stick with claude code. You can override the endpoints and models using env vars like ANTHROPIC_BASE_URL

Sounds like I have a pretty similar setup to you! I am running a Strix Halo with 128GB of RAM. I was using a few different consumer GPUs before this for local LLM and the Strix Halo has been a welcome upgrade.

I’ve been using OpenCode with Qwen3-Coder-Next with the UD-Q6_K_XL quant from unsloth with pretty good success. I also find gpt-oss-120b works pretty good with OpenCode.

gpt-oss-120b is better in OpenWebUI than Qwen3-Coder-Next in my opinion.

Also OpenWebUI has the Web Search functionality. I setup SearXNG locally so I do not have to pay for a search API. It was pretty easy and I would be happy to help you set it up if you run into any problems.

I have found that Codex and Claude Code are much easier to get to produce a quality output. But I have also found that I can get good results with careful instructions with local open models as well. I’m trying to continue to refine my workflow to provide more of the needed context to the model to make the interaction get to a productive state faster. I started working on a little tool to help me bring my issue tracker issues directly to OpenCode and then directly to a PR without my involvement. But needs refinement.

Do you get concerned about the privacy aspect of using tools like Codex and Claude Code for work or your projects?

2 Likes

For work, we are not using publicly-hosted versions of the models and the real threat is from the agents themselves exfiltrating information. That doesn’t even require a malicious prompt - the agent could just be trying to do a websearch for some line of code that leaks sensitive information. Essentially, that means things like websearch and public webfetching are filtered.

For my personal projects, no I am not worried. I am not working on anything sensitive (often it is open source code), and I am satisfied with the ToS from OpenAI even taking into account how “flexible” and not-in-my-favor they may interpret them.

I have had a conflict with the ToS with a personal project of mine that is meant to automate the evaluation of the quality of diffusion model fine-tunes. I have my own workflow that I have been developing. I wanted to compare my results to what I might get just from Codex, and when I asked it to do some of the steps of this workflow, it started complaining that I was using it to develop a competing model. It has no problem working on my code for this project, but it doesn’t want to actually automate model development. Obviously my 4x RTX PRO 6000 box is not building a competitor to ChatGPT, but I am not bothered as that project is meant to be run locally and I just wanted a point of comparison.

1 Like

For what it’s worth, I’m currently using boring old Qwen3-Coder-30B-A3B-Q6_K from Unsloth (or maybe Bartowski, I forget), with Cline (I just couldn’t get on with kilo or roo). Getting anywhere between 100t/s and 300t/s on my R9700 with 160k context, thanks to --spec-type ngram-mod. This really helps prevent the eval rate falling off a cliff as the context gets busier.

The problem with Qwen3-Next and the Qwen3.5 models is that llama.cpp doesn’t properly support the Gated DeltaNet design yet, so eval rate is currently 40-50% slower than it should be. When that’s finally implemented (there are a few PRs in progress, by the looks of it), those models should finally be somewhat usable; for “usable”, I guess you have to bear in mind that anything less than 60t/s feels too slow to use for me.

This is the config.ini section for mine (I’m using llama.cpp’s new router mode):

[Qwen3-Coder-30B-A3B-Instruct-Q6_K]
mmap                = 1
cache-type-k        = q8_0
cache-type-v        = q8_0
ctx-size            = 160000
flash-attn          = on
model               = /main_data/llm/models.1/Qwen3-Coder-30B-A3B-Instruct-Q6_K.gguf
n-predict           = -1
n-gpu-layers        = 999
threads             = 14
temp                = 0.6
top-p               = 0.95
top-k               = 20
split-mode          = none
device              = Vulkan0
spec-type           = ngram-mod
spec-ngram-size-n   = 24
spec-ngram-size-m   = 12
spec-ngram-min-hits = 1
draft-min           = 24
draft-max           = 64

It’s not perfectly tuned, but it’s working for me at the moment. Do with that what you will :slight_smile:

As for inline completions, I’m actually using the very same model - it’s fast enough that there’s very little lag. I’m currently using the llama-vscode extension; it’s an absolute pig to set up, and it’s not remotely intuitive to use, but once you’ve got it configured it’s largely a set-it-and-forget-it thing and it really does do the job well. I’ll probably give Continue another go soon, though, because I’m going to be swapping models a lot in the near future as the PRs for Gated DeltaNet and tensor splits (not to mention the MTP stuff) get merged for llama.cpp, and the thought of doing that while keeping the current extension going is…not enticing, to say the least.

One thing worth noting is that the llama-vscode extension doesn’t support next-edit functionality; that’s the only thing I miss from Copilot. Continue doesn’t support it for local models either, they force you towards their Instinct or Mercury Coder models. If anyone knows of an inline completion extension which can do it with local models, I’m all ears.

Finally, something important about Cline: it can give great results, even with smaller 30B models, but you really need to spend a lot of time getting your project’s rules files sorted - and absolutely do not forget about the memory bank feature. With all that sorted, I’ve found that it gets close enough to Claude-level results that I’m OK with it; I expect a certain amount of manual fine-tuning (I don’t want completely autonomous agents, because I don’t want to be tempted to trust them too much), though, so your results may vary according to your preferences.

2 Likes

As an update…Continue does allow you to use local next-edit functionality, but only if you download their Qwen2.5-based Instinct model. And it’s crap.

Does anybody know how to get the Copilot extension to handle local models, without linking to your GitHub account? Mine’s got my employer’s Copilot license attached to it, which completely disables the extension’s local model functionality.

Thank you all, sorry for the delay.

I have realized that the unsloth quants work really well with llama.cpp. I am also using the kyuz0 toolboxes to run llama-server. I have realized that to get multimodal input, you need the mmproj file (and you need to specify it in llama.cpp’s models.ini file).

I am currently using Qwen3.5-122B-A10B for most tasks. I also have gemma 4 (dense and MoE) and both of the Qwen 3.6 models available, but I haven’t used them very much.

I am using Roo Code with vscode for agent mode, and Continue for autocomplete (with Qwen2.5-Coder-1.5B) and this has been working pretty well for me. I also sometimes use opencode if I want a cli interface (again, with Qwen 3.5 122B)

I also have open webui set up (running on the framework desktop in docker), for when I just want to chat with the LLM.

@digitalscream I have this in my ~/.continue/config.yaml, it may be useful to you:

name: Local Agent
version: 1.0.0
schema: v1
models:
  - name: qwen-coder
    provider: openai
    apiKey: api
    apiBase: http://100.x.x.x:8000/v1
    model: Qwen2.5-Coder-1.5B
    roles:
      - autocomplete
1 Like

What hardware did you get for this massive model?! :open_mouth:

i am running the unsloth Qwen3.5-397B-A17B-UD-Q6 in gcloud spot vms with 4 rtx6000, they are arguably cheap if you have a bunch of stuff to do

Could you define “cheap” on a monthly rate? :slight_smile:

It is around 1.5 euros per hour which I usually only need once twice per day. Around 20 euros per month as I do not really use it every day - I just bunch my work orders and send it periodically

1 Like

If anybody’s interested, I’m working on a fork of Zed that actually uses llama.cpp’s /infill endpoint for inline suggestions instead of the OpenAI API compromise. In theory, it’ll have better context awareness, similar to that of llama-vscode but more tweakable.

EDIT: I did it, and it doesn’t really help that much. In reality, using Zed’s Zeta-2.1 model at Q8 worked better than Qwen3-Coder with /infill.

2 Likes

Yes, keep us informed please.

I am running on a 128gb framework desktop (AMD strix halo). it handles the 122B model just fine, at Q4 quantization