Running a 35B MoE model on a laptop with a 4 GB GTX 1650: measured, not guessed
- Hardware
- NVIDIA GeForce GTX 1650 Max-Q with 4 GB of VRAM
Intel Core i7-10750H (6 cores, 12 threads), 62 GiB of RAM available - Models & engines
- Ollama 0.40.13 with the llama.cpp backend
Qwen3.6-35B-A3B at Q4_K_M (23 GB file), 2,048-token context - Key gotcha
- RAM is not optional: with 16 GB this won't work properly, and 32 GB is plausible but tight.
What they built
The author tested whether a 35-billion-parameter model is usable on an older laptop GPU with only 4 GB of VRAM, using the real machine, real commands and raw measurements.
The model is a mixture of experts (about 3B parameters active per token), so it doesn't compute with all its weights for every token. The 23 GB of weights still have to live somewhere, and here that is mostly system RAM.
Ollama reported a 92%/8% CPU/GPU split, so the result is hybrid CPU/GPU inference, not the GPU running a 35B model on its own.
Setup
- NVIDIA GeForce GTX 1650 Max-Q with 4 GB of VRAM
- Intel Core i7-10750H (6 cores, 12 threads), 62 GiB of RAM available
- Ollama 0.40.13 with the llama.cpp backend
- Qwen3.6-35B-A3B at Q4_K_M (23 GB file), 2,048-token context
How it works
- Benchmarks call Ollama's local API directly with a 2,048-token context, 128 generated tokens, temperature 0, a fixed seed and thinking turned off, three runs with the model already loaded.
- A longer 256-token run sampled resources 53 times to track VRAM, GPU use and temperature.
- A cold-start test unloads the model with ollama stop and times the first request.
Results & numbers
- Warm runs: 22.60, 21.58 and 20.99 tokens/s, an average of 21.72 tokens/s.
- 256-token run: 20.85 tokens/s; VRAM steady at 2,988 MiB; GPU use 35.3% on average; GPU temperature averaged 67.8 °C; llama-server used about 21.4 GiB of RAM.
- Cold start: 44.97 s in total, of which 40.77 s was loading the model; generation then ran at 18.06 tokens/s.
- The author's verdict: convincing for a personal assistant, local RAG or sequential tasks once loaded.
Gotchas
- RAM is not optional: with 16 GB this won't work properly, and 32 GB is plausible but tight.
- The test context was short; longer contexts raise KV cache memory and prefill time, and a long prompt can make time to first token painful.
- This relies on MoE sparsity; a dense 35B model would not behave the same way.
- Q4_K_M trades some precision for memory, and speed alone says nothing about answer quality.
- These are single-user numbers; concurrent requests change throughput and memory needs.
“La GTX 1650 participe. Elle ne réalise aucun miracle.”— Nabil Doghri
Do it yourself
- Check your GPU, CPU, RAM and Ollama version (nvidia-smi, /proc/cpuinfo, free -h, ollama --version).
- Pull a MoE model such as qwen3.6:35b and confirm the CPU/GPU split Ollama reports.
- Benchmark through the local API with fixed settings (num_ctx 2048, num_predict 128, temperature 0, think false) and compute eval_count / eval_duration.
- Keep the model loaded between requests to avoid the roughly 40-second load.
curl -s http://127.0.0.1:11434/api/generate \
-H 'Content-Type: application/json' \
-d '{
"model":"qwen3.6:35b",
"prompt":"Explique pourquoi les MoE conviennent à une inférence hybride CPU/GPU.",
"stream":false,
"think":false,
"options":{"num_ctx":2048,"num_predict":128,"temperature":0,"seed":42}
}' > run.json
jq -r '"eval=\(.eval_count) | speed=\(.eval_count/(.eval_duration/1e9)) tok/s"' run.jsonSimilar setups
Two Qwen Code sessions on one Ollama slot waited 46 seconds; a slot each waited one
Tensward ran two Qwen Code sessions against Qwen3.8-27B on a 24 GB L4 and found that sharing one Ollama slot raised the median wait for a response to start from about one second to 46.
Running NVIDIA's looped Dory 4B on a CPU homelab with llama.cpp and an Ollama wrapper
Big Iron built NVIDIA's llama.cpp fork on a no-GPU Debian VM, measured Dory 1.0 4B at each loop count against Qwen3.5-4B, and got it running inside Ollama 0.40 through a wrapper around Ollama's internal llama-server.
Replacing Ollama with a llama.cpp router on a shared workstation GPU
A developer moved a busy single-GPU workstation (chat UI, agent, batch study-guide writer, embedders, classifiers) from Ollama to llama.cpp's router mode and measured throughput and embedding parity before switching.
LM Studio vs Ollama on an RTX 5080: memory settings mattered more than the app
LK Wood IV ran LM Studio and Ollama on the same RTX 5080 with identical GGUF files and found the apps within 14% of each other, while one wrong offload or context setting cost up to 3.4x.