StarCoder 2 15B — VRAM Requirements

作者: Jakub Rusinowski · 最后更新: 2026年7月21日

How much GPU VRAM you need to run StarCoder 2 StarCoder 2 15B by BigCode locally, a 15.5B-parameter model. Figures are quantized weights + KV cache + framework overhead from a memory-bandwidth roofline model.

StarCoder 2 15B needs about 10 GB VRAM at Q4_K_M.

VRAM by Quantization

QuantBits/weightWeightsTotal VRAM
Q2_K2.635.1 GB5.9 GB
Q3_K_M3.416.6 GB7.4 GB
Q4_K_M4.839.4 GB10.2 GB
Q5_K_M5.6711.0 GB11.8 GB
Q6_K6.5612.7 GB13.5 GB
Q8_08.5016.5 GB17.3 GB
F1616.0031.0 GB31.8 GB

Switch quantization in the interactive calculator, or see the full StarCoder 2 model page.

Add this badge to your model card

Model creators: paste this into your Hugging Face model card README to link readers straight to this VRAM breakdown.

VRAM Requirements

[![VRAM Requirements](https://img.shields.io/badge/Check_VRAM-LLM_Configurator-blue)](https://llmconfigurator.com/en/vram-calculator/starcoder2-15b)

Estimates only — actual VRAM varies with context length, batch size, runtime and KV-cache settings.