← CanIRunLocal · All hardware · All models

Can I run Qwen 2.5 Coder 7B locally?

Alibaba · 7.62B parameters · coding.

Ollama weight files: Q4_K_M 4.7 GB (qwen2.5-coder:7b); Q5_K_M 5.4 GB (qwen2.5-coder:7b-instruct-q5_K_M); Q8_0 8.1 GB (qwen2.5-coder:7b-instruct-q8_0).

Yes on 62 machines in this list. The smallest is M1 8GB: Q4_K_M, about 5.3 GB, roughly 13 tokens per second, via LM Studio. lms get mlx-community/Qwen2.5-Coder-7B-Instruct-4bit

Setup on DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)

Open Qwen 2.5 Coder 7B in the checker

Hardware that fits

HardwareRuntimeQuantMemoryFitSpeedCommand
M1 8GBLM StudioMLX 4bit5.3 GBfits in fast memory~13 tok/slms get mlx-community/Qwen2.5-Coder-7B-Instruct-4bit
M2 8GBLM StudioMLX 4bit5.3 GBfits in fast memory~19 tok/slms get mlx-community/Qwen2.5-Coder-7B-Instruct-4bit
M3 8GBLM StudioMLX 4bit5.3 GBfits in fast memory~19 tok/slms get mlx-community/Qwen2.5-Coder-7B-Instruct-4bit
RTX 3060 Ti 8GBOllamaQ5_K_M6.4 GBfits in fast memory~50 tok/sollama run qwen2.5-coder:7b-instruct-q5_K_M
RTX 3070 8GBOllamaQ5_K_M6.4 GBfits in fast memory~50 tok/sollama run qwen2.5-coder:7b-instruct-q5_K_M
RTX 4060 8GBOllamaQ5_K_M6.4 GBfits in fast memory~30 tok/sollama run qwen2.5-coder:7b-instruct-q5_K_M
RX 7600 8GBOllamaQ5_K_M6.4 GBfits in fast memory~32 tok/sollama run qwen2.5-coder:7b-instruct-q5_K_M
RTX 3080 10GBOllamaQ8_09.1 GBfits in fast memory~56 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M1 16GBOllamaQ8_09.1 GBfits in fast memory~7 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M2 16GBOllamaQ8_09.1 GBfits in fast memory~10 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M3 16GBOllamaQ8_09.1 GBfits in fast memory~10 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 16GBOllamaQ8_09.1 GBfits in fast memory~12 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 3060 12GBOllamaQ8_09.1 GBfits in fast memory~27 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 4070 12GBOllamaQ8_09.1 GBfits in fast memory~37 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 5070 12GBOllamaQ8_09.1 GBfits in fast memory~50 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 4060 Ti 16GBOllamaQ8_09.1 GBfits in fast memory~21 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 4070 Ti Super 16GBOllamaQ8_09.1 GBfits in fast memory~50 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 4080 16GBOllamaQ8_09.1 GBfits in fast memory~53 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 5080 16GBOllamaQ8_09.1 GBfits in fast memory~71 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RX 7800 XT 16GBOllamaQ8_09.1 GBfits in fast memory~46 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RX 9070 XT 16GBOllamaQ8_09.1 GBfits in fast memory~47 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M2 24GBOllamaQ8_09.1 GBfits in fast memory~10 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M3 24GBOllamaQ8_09.1 GBfits in fast memory~10 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 24GBOllamaQ8_09.1 GBfits in fast memory~12 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 3090 24GBOllamaQ8_09.1 GBfits in fast memory~69 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 4090 24GBOllamaQ8_09.1 GBfits in fast memory~75 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RX 7900 XTX 24GBOllamaQ8_09.1 GBfits in fast memory~71 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M1 Pro 32GBOllamaQ8_09.1 GBfits in fast memory~20 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M2 Pro 32GBOllamaQ8_09.1 GBfits in fast memory~20 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 32GBOllamaQ8_09.1 GBfits in fast memory~12 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M3 Pro 36GBOllamaQ8_09.1 GBfits in fast memory~15 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M4 Max (32c GPU) 36GBOllamaQ8_09.1 GBfits in fast memory~40 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Max (32c GPU) 36GBOllamaQ8_09.1 GBfits in fast memory~45 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
RTX 5090 32GBOllamaQ8_09.1 GBfits in fast memory~133 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 Pro 48GBOllamaQ8_09.1 GBfits in fast memory~27 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M4 Max (40c GPU) 48GBOllamaQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Max (40c GPU) 48GBOllamaQ8_09.1 GBfits in fast memory~61 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M1 Max 64GBOllamaQ8_09.1 GBfits in fast memory~40 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M2 Max 64GBOllamaQ8_09.1 GBfits in fast memory~40 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M3 Max 64GBOllamaQ8_09.1 GBfits in fast memory~40 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 Max 64GBOllamaQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M4 Max (40c GPU) 64GBOllamaQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Max (40c GPU) 64GBOllamaQ8_09.1 GBfits in fast memory~61 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
DGX Spark 64GB (ASUS, Dell, HP, MSI, Acer, Gigabyte)OllamaQ8_09.1 GBfits in fast memory~25 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M3 Ultra 96GBOllamaQ8_09.1 GBfits in fast memory~81 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Ultra 96GBOllamaQ8_09.1 GBfits in fast memory~119 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M3 Max 128GBOllamaQ8_09.1 GBfits in fast memory~40 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M4 Max 128GBOllamaQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M4 Max (40c GPU) 128GBOllamaQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Max (40c GPU) 128GBOllamaQ8_09.1 GBfits in fast memory~61 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)OllamaQ8_09.1 GBfits in fast memory~25 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
M2 Ultra 192GBOllamaQ8_09.1 GBfits in fast memory~79 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
2x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~52 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra 256GBOllamaQ8_09.1 GBfits in fast memory~81 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Ultra (64c GPU) 256GBOllamaQ8_09.1 GBfits in fast memory~119 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
Mac Studio M5 Ultra (80c GPU) 256GBOllamaQ8_09.1 GBfits in fast memory~119 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
2x DGX Spark 128GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~21 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~45 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~101 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (80c GPU) 512GBOllamaQ8_09.1 GBfits in fast memory~81 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
4x DGX Spark 128GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~19 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF9.1 GBfits in fast memory~89 tok/sllama-server -hf unsloth/Qwen2.5-Coder-7B-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-16.

A project by OnDevice Labs · llms.txt