ModelTape
All modelsNew releasesRankingsRuns on my GPUOpen the app →
ModelTape / Models / StarCoder 2 7B
Hugging Face · open-weights

StarCoder 2 7B

StarCoder 2 7B is an open-weights language model from Hugging Face, released February 20, 2024. It has 7B parameters (dense). On the Epoch Capabilities Index it scores 72.7, rank 246 of 256 rated models.

Check it against your own PC →

Lab
Hugging Face
Released
February 20, 2024
Weights
Open restricted use
Parameters
7B dense
Context
–
Price / M tokens
–
Epoch ECI
72.7 #246

Can you run StarCoder 2 7B locally?

The smallest common GPU it runs on is 6 GB of VRAM (with 32 GB of RAM): Q6_K, split GPU / CPU, roughly 8 tokens per second. Estimates assume 32 GB of DDR5 RAM, a 16K context and llama.cpp-style GGUF quantization. Enter your exact hardware in the live app.

GPU memoryVerdictBest quantVRAMRAMtok/s
6 GB VRAMRuns, slowlyQ6_K (≈ lossless)5.2 GB3.3 GB~8
8 GB VRAMRuns on GPUQ4_K_M (very good)7.0 GB–~37
12 GB VRAMRuns on GPUQ6_K (≈ lossless)8.5 GB–~36
16 GB VRAMRuns on GPUQ6_K (≈ lossless)8.5 GB–~50
24 GB VRAMRuns on GPUQ6_K (≈ lossless)8.5 GB–~89
32 GB VRAMRuns on GPUQ6_K (≈ lossless)8.5 GB–~160

Benchmark results

Benchmark (Epoch AI)Score
MMLU18.4%

Links

Epoch AI benchmarks

Models with a similar score

DeepSeek Coder 33B · vicuna-13b-v1.1 · Gemma 2B · CodeQwen1.5-7B · chatglm2-6b · MPT-7B · Falcon-7B · XGen-7B

More from Hugging Face

StarCoder 2 3B · StarCoder 2 15B

Data updated Thu, 12 Nov 2026 09:42 UTC. Benchmarks, Capabilities Index and model announcements: Epoch AI, “Capabilities & benchmarking” and “Data on AI models” (CC BY 4.0); category scores are ModelTape's own fit on Epoch's results. Releases and prices: models.dev (MIT). Sizes and quantizations: Hugging Face. “Runs on” figures are estimates from model size, quantization and memory bandwidth (±30–50%).
Live app · All models · New releases · Rankings · 6 GB · 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · Legal notice (Impressum) · Privacy