Will It Run AI
CalculatorModelsHardwareCompare
Product
  • Calculator
  • Compare
  • Tier List
Browse
  • Models
  • Hardware
  • Docs
About
  • Why It Works
  • What's New
  • Legal Notice
  • Privacy Policy

All estimates are approximations based on mathematical models and public specifications. Actual performance may vary. Do not make purchasing decisions based solely on these estimates.

Data sourced from Hugging Face, Ollama, and official model documentation. Model names and logos are trademarks of their respective owners.

© 2026 Will It Run AI — Fase Consulting Ibiza, S.L. (NIF: B57969656)

Home/StarCoder2 15B/on MacBook Pro M4 32GB

Can it run?

Can MacBook Pro M4 32GB run StarCoder2 15B?

CUsable

Runs well

Using Q5_K_M in Ollama

Capabilities:

Fit status

Runs well

Decode

8.2 tok/s

TTFT

23725 ms

Safe context

16K

Memory

17.8 GB / 23.0 GB

Memory breakdown

Weights10.8 GB
KV Cache2.3 GB
Runtime1.2 GB
Headroom3.5 GB

Performance by workload

WorkloadGradeFitDecodeTTFTContext
Agentic CodingCTight fit8.2 tok/s34510 ms16K
ChatCRuns well8.2 tok/s12941 ms11K
CodingCRuns well8.2 tok/s23725 ms16K
RAGCTight fit8.2 tok/s43137 ms16K
ReasoningCRuns well8.2 tok/s28039 ms16K

Quantization options

How StarCoder2 15B (15B params) fits at each quantization level on MacBook Pro M4 32GB (23.0 GB usable).

QuantBitsVRAMQualityFit
Q2_K
2
5.9 GB
LowD34
Q3_K_S
3
7.4 GB
LowD36
NVFP4
4
8.4 GB
MediumD37
Q4_K_M
4
9.2 GB
MediumD37
Q5_K_M
5
10.8 GB
HighD39
Q6_K
6
12.3 GB
HighC40
Q8_0Best for your GPU
8
16.1 GB
Very HighC44
F16
16
30.7 GB
MaximumF0

Get started

Ollama
ollama run starcoder2-15b
HuggingFace
huggingface-cli download starcoder2-15b

Upgrade options

Hardware that runs StarCoder2 15B well

AMDRX 7900 XTX 24GBBudget pick
B65.3 tok/s decode

~$999 MSRP

NVIDIARTX 3090 24GBBest value
B61.9 tok/s decode

~$1,499 MSRP

NVIDIARTX 4090 24GBBiggest leap
B72.4 tok/s decode

~$1,599 MSRP

AppleMacBook Pro M4 Max 36GBApple upgrade
C24.4 tok/s decode

~$2,499 MSRP

See all results for MacBook Pro M4 32GBSee all hardware for StarCoder2 15B