Qwen 2.5 Coder 7B
on NVIDIA RTX 4070 · llama.cpp
Use cases
codingagentictool-use
Summary
User reports Qwen2.5-Coder-7B running at 25-31 tok/s fully on an RTX 4070 8 GB in a local coding agent and chat app built on llama.cpp.
Setup is llama.cpp (build b11960, CUDA + Vulkan) with Q4_K_M GGUF weights, 29/29 layers offloaded to the RTX 4070 at 2.9 GB of weights plus KV cache.
The speed is given only as a range. The user says JSON-schema-constrained decoding was needed to make the 7B model emit real tool calls, and that multi-GPU split across the 4070 and an RX 9060 XT eGPU is implemented but not yet tested on the real eGPU.
Download this model
Qwen 2.5 Coder 7B on Hugging Face in the quant this report ran, q4_k_m. The report doesn't say whose upload it used, so these are the most downloaded ones.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Qwen 2.5 Coder 7B at 4-bit by hardware
- 113.9 t/s · 2 runs
- 22.6 t/s · one run
Bars are medians on one scale, 0 to 121.8 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Models most run on the NVIDIA RTX 4070
- 55.0 t/s · one run
Bars are medians on one scale, 0 to 55.0 tokens/s. Press ▶ to watch text arrive at a row's speed.
Everything reported on the NVIDIA RTX 4070 →Every Qwen 2.5 Coder report →Estimate Qwen 2.5 Coder on this card →