StarCoder2 15B · 11 GPUs measured first-party · llama.cpp Q4_K_M · Updated October 2026
StarCoder2 15B is the BigCode project's open code model, trained on permissively-licensed, documented source data with fill-in-the-middle as a first-class objective. We measured it on 11 GPUs (llama.cpp, Q4_K_M): 144 tok/s on the B300, ~11GB peak VRAM.
Benchmarked weights: bartowski/starcoder2-15b-instruct-v0.1-GGUF

144.1 tok/s on StarCoder2 15B, the ceiling. Measured on our bench. 288GB of VRAM, $40,000 at launch.

122.1 tok/s on StarCoder2 15B, lowest launch price that still fits. Measured on our bench. 96GB of VRAM, $8,565 at launch.
What GPU Do You Need for StarCoder2 15B?, tok/s by GPU
Measured on our own bench. A card absent from this chart has not been run on this model yet, or cannot fit it.
Efficiency: tok/s per 100W drawn
Power is the average pulled during the run, sampled at 1Hz. The fastest card is often not the one here, and for anything left running this is the number that shows up on the bill.
Value: tok/s per $1,000 of MSRP
Launch price, not street price, so it ages. A speed leaderboard always crowns the most expensive card; this is the counterweight.
StarCoder2 15B. Measured generation speed by GPU
| GPU | tok/s | Prompt t/s | tok/W | Avg power |
|---|---|---|---|---|
| NVIDIA B300 | 144.1 | 2456.5 | 0.44 | 329.9 W |
| NVIDIA B200 | 138.6 | 4428.4 | 0.4 | 344.6 W |
| NVIDIA H200 | 136.3 | 4116.4 | 0.64 | 213.5 W |
| NVIDIA H100 80GB HBM3 | 134.9 | 4072.8 | 0.74 | 181.3 W |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 122.1 | 6106.1 | 0.58 | 210.8 W |
| NVIDIA A100 40GB SXM4 | 80.25 | 2100 | 0.37 | 217.3 W |
| NVIDIA A100 80GB SXM4 | 79.22 | 2261 | 0.44 | 178.1 W |
| NVIDIA L40S | 66.88 | 4549.1 | 0.27 | 244.8 W |
| NVIDIA A10G | 42.19 | 1471 | 0.32 | 132.0 W |
| NVIDIA L4 | 24.4 | 1273.5 | 0.37 | 66.1 W |
| NVIDIA T4 | 15.66 | 554.6 | 0.24 | 64.6 W |
The open-data coder. StarCoder2's distinction mirrors SmolLM3's: the BigCode initiative documents exactly what code it trained on (The Stack v2, license-filtered, with opt-outs honored). For teams that care where their completion model's training code came from, legal departments do, it's the most defensible coder in our lineup. Technically it's a fill-in-the-middle native at a size between our other code picks: bigger than Qwen2.5-Coder 7B, lighter than Codestral 22B.
Where it lands on hardware. The ~11GB floor makes 12GB cards its natural home, an Arc B580 or RTX 3060 12GB hosts it where Codestral's ~14GB wants 16GB. Speed is honest for the size: 144 tok/s peak, 136 on the H200, and a usable 24 tok/s even on an L4. For completions, remember prompt ingestion dominates perceived latency: 2,457-4,428 prompt t/s at the top of the chart means large-file context loads fast.
How it compares. H100 80GB HBM3: StarCoder2 15B 134.9 tok/s, Phi-4 14B (Q3_K_M) 138.9, Gemma 3 12B (Q3_K_M) 125.9, Qwen2.5-14B 144.7 (15B), DeepSeek-R1 Distill 14B 144.8. 3 of 4 beat StarCoder2 15B here.
Cost on a rented GPU. 1M generated tokens of StarCoder2 15B: $1.63 on a A100 40GB SXM4 ($0.47/hr, 3.5 hours), $13.38 on a B300 ($6.94/hr, 116 min, 8.2x the cost).
StarCoder2 15B: cost per 1M generated tokens on rented GPUs
| GPU | Cheapest rate | Speed (tok/s) | Cost per 1M generated tokens |
|---|---|---|---|
| NVIDIA A100 40GB SXM4 | $0.47/hr | 80.25 | $1.63 |
| NVIDIA T4 | $0.14/hr | 15.66 | $2.41 |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | $1.08/hr | 122.1 | $2.45 |
| NVIDIA L40S | $0.79/hr | 66.88 | $3.28 |
| NVIDIA A100 80GB SXM4 | $0.95/hr | 79.22 | $3.32 |
| NVIDIA H100 80GB HBM3 | $2.14/hr | 134.9 | $4.40 |
| NVIDIA L4 | $0.44/hr | 24.4 | $5.01 |
| NVIDIA H200 | $3.59/hr | 136.3 | $7.32 |
| NVIDIA B200 | $5.98/hr | 138.6 | $11.98 |
| NVIDIA B300 | $6.94/hr | 144.1 | $13.38 |
Cheapest hourly rate we track on RunPod and Vast.ai, divided by the measured speed. Startup time and storage are extra.
Speed tiers for StarCoder2 15B. 30+ tok/s: 9 (B300, B200, H200); 10-30 tok/s: 2 (L4, T4). 30 tok/s is roughly where replies outpace reading.
Reading your prompt. Before StarCoder2 15B writes anything it reads the input: 6106.1 tok/s on the RTX PRO 6000 Blackwell Workstation Edition (0.7s for a 4,000-token prompt), 554.6 on the T4 (7.2s). Long documents and big code files feel this number more than the generation speed.
VRAM for StarCoder2 15B. Measured peak 9.8GB, so 12GB is the smallest common card size; smallest card it ran on: T4 (16GB). With long context: Q4_K_M 11GB (tested), Q2_K 7GB, Q3_K_M 9GB, Q5_K_M 13GB, Q6_K 15GB.
Power on StarCoder2 15B. Most efficient: H100 80GB HBM3, 181W, 0.37 kWh per 1M generated tokens. Hungriest: B200, 345W, 0.69 kWh. At $0.15/kWh: $0.056 per 1M generated tokens.
StarCoder2 15B: 144 tok/s peak, ~11GB floor, the documented-training-data coder that fits a 12GB card. Between Qwen's 7B and Codestral's 22B on size, and ahead of both on provenance; if your completion model needs a paper trail, this is it.