Qwen2.5-Coder-7B-Instruct on local hardware
Estimated comfort for repository coding with Aider on a MacBook Pro M4 Pro 48GB.
Qwen2.5-Coder-7B-InstructOpen source
Qwen · apache-2.0 · 1,537,679 downloads
- Parameters
- 7.6B exact
- Context window
- 32K tokens
- Attention
- Standard (full attention)
- Layers · KV heads · head dim
- 28 · 4 · 128
- KV cache
- 56 KB/token · 1.8 GB at 32K
- Tool calling
- good (from chat template)
- Thinking
- basic (from chat template)
- Vision
- basic (inferred — no supporting signal)
- Commercial use
- allowedRetain the required license and attribution notices
- Import confidence
- medium · capabilities estimated
Weights by quantization
Q3_K_M
3.5 GB
gguf file size
Q4_K_M
4.4 GB
gguf file size
Q5_K_M
5.1 GB
gguf file size
Q6_K
5.8 GB
gguf file size
Q8_0
7.5 GB
gguf file size
F16 / BF16
14 GB
gguf file size
- • vision: basic, inferred from missing signals (low confidence).
- • Capability ratings are estimated from model size and name — this model hasn't been assessed by hand.
- • GGUF sizes come from community conversions matched by model name; equivalence and runtime support are not verified. MLX conversion availability is unverified.
Qwen2.5-Coder-7B-Instruct — 6-bit
Acceptable for your workload
Speed
25–30 tok/s
Comfortable
Memory left
28 GB
of 48 GB
First word in
≈45 s
Adequate
All the details
- Your setup
- MacBook Pro M4 Pro 48 GB
- Workload
- Repository coding with Aider
- Runtime → tool
- LM Studio → Aider
- Memory used
- 8.8 GB
- Context
- 32K · up to 32K practical
- Tool support
- Official
- Use-case fit
- Partly suited
Why?
- Model fits with approximately 28 GB of memory headroom.
- LM Studio supports hardware acceleration on this machine (Metal (Apple GPU)).
- Aider can connect to LM Studio (officially supported).
- Generation (25–30 tok/s) should be appropriate for interactive coding.
- 32K working context is reasonable.
- Ingesting a prompt of 14K tokens takes ≈45 s, and each step ≈40 s — noticeable waits.
- Weak coding capability for interactive coding.
Why “Acceptable” rather than “Comfortable”?
- Workload suitability: Weak coding capability for interactive coding.
- Prompt processing: Ingesting the first prompt (14K tokens) takes ≈45 s; each of the ~4 follow-up turns takes ≈40 s (≈3 min per task).
- Context: 32K window; generation drops to 20–30 tok/s when it is full.
How sure are we?
Medium confidenceEstimated from bandwidth and compute, calibrated against 2 verified benchmarks of other models on this same chip (measured with a different engine, so calibration is partial).
- Calibrated with verified benchmarks of other models on this chip.
Medium confidence