Here ya go (u haven’t mentioned Linux or Windows, so I’ll assume Linux as you want that anyways for any real hosting).
- Make sure you have docker or podman installed and functional.
- Install the single binary Ramalama tool via their instructions (GitHub). It will use docker/podman to launch llama-serve instances.
You’re ready to get started! Your first goal is to setup an OpenAI API endpoint for your plugins to use (you mentioned coding, so here ya go). Use ramalama serve to setup that endpoint.
If you are wanting to kick the tires with one of the absolute best models that will fit entirely into your 16GB VRAM, AND no CPU offloading, start by pulling the 12GB down of the compressed Qwen3.6 35B A3B - UD Q2 K XL variant. This particular variant received a lot of love: they researched and resolved a large number of issues that normally come from Q2 models and rebuilt and re-released it. Still not as good as the well tested UD Q4 people use with 24GB of VRAM, but I think it gets me as close as I could on that laptop.
You can read more here: unsloth/Qwen3.6-35B-A3B-GGUF · Hugging Face
# this could take a while ...
#
ramalama pull hf://hf.co/unsloth/Qwen3.6-35B-A3B-GGUF/Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf
Once that completes, start it up:
# Start llama-serve. Ramalama tries to help by handing runtime parameters.
# hence the funky split between --runtime-args (straight to llama-server),
# and ramalama parameters. More to learn.
#
# ctrl-c to exit cleanly.
#
# You can paste the entire output here, as it will be very informative of
# your hardware and configuration. (There's nothing identifying in it that
# I've notice but I would review anyways.)
#
#
ramalama serve hf://unsloth/Qwen3.6-35B-A3B-GGUF/Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf \
--runtime-args="--fit-target 256 --flash-attn on -ctv q8_0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 1.5 --repeat-penalty 1.0 --reasoning off" \
--temp 1.0 \
--ngl 99 \
--name localai \
--host 0.0.0.0 --port 8080
NOTE: I’ve disabled “thinking/reasoning mode” above, to give you a fast experience while we smoke test. I also left out the mmproj vision image-to-text stuff as well as custom chat template stuff (more advanced topics).
SECURITY: Don’t blindly run things a stranger tells you. lol I would take the time to research Ramalama and how it runs llama-server within a container, what each llama-server parameter is there and how it affects the model loading.
You’re done. You can test it out with a quick chat session here: http://0.0.0.0:8080
(There are much better GUIs - remember you are just kicking the tires.). Check out the tokens/sec numbers while you are playing around here.
Those settings worked pretty well on my 16GB VRAM laptop so it will load and auto-adjust the context from 262k down to around 60-160k depending on your existing overhead. You’ll need to read up on each one as there’s a lot going on there. If you have 4K widescreen or multiple monitors, considering going to 1080p and only 1 monitor to gain back like 500MB or even 1GB of VRAM.
This is also your OpenAI API endpoint to use in your coding tools.
As mentioned above, use Cline or Continue for VSCode. Once installed, point your plugin to the 0.0.0.0:8080 endpoint above. Sometimes they want a /v1 at the end of the url, like http://0.0.0.0:8080/v1.
Excluding the download of 12GB, that should get you going in about 5-15 minutes.
Use another terminal and run nvtop to monitor your GPU’s VRAM resources and speeds. Personally I like KDE’s System Monitor as I monitor CPU usage as well as GPU usage for MoE models.
Lastly, I highly HIGHLY recommend reading that entire output, line by line. It’s extremely informative and you’ll need to understand a lot of it when expanding to other models. Use the actuall instance your hosting to ask it about ramalama’s output, line by line.