Updated minutes ago
StarCoder2 3B
BigCode · dense · 3.03B parameters · 16,384 context
Quality29.0
Architecture Details
TypeDENSE
Total Parameters3.03B
Active Parameters3.03B
Layers30
Hidden Dimension3,072
Attention Heads24
KV Heads2
Head Dimension128
Vocab Size49,152
Memory Requirements
BF16 Weights
6.1 GB
FP8 Weights
3.0 GB
INT4 Weights
1.5 GB
KV-Cache per Token30720 bytes
Activation Estimate0.50 GB
Fits on (single-node)
B200 SXM BF16B100 SXM BF16GB200 NVL72 (per GPU) BF16GB300 NVL72 (per GPU) BF16H200 SXM BF16H100 SXM BF16H100 PCIe BF16H100 NVL BF16
GPU Recommendations
RTX 4070 Tioptimal
BF16 · 1 GPU · vllm
100/100
score
Throughput
449.1 tok/s
Cost/Month
$237
Cost/M Tokens
$0.20
RTX 3080optimal
BF16 · 1 GPU · vllm
100/100
score
Throughput
677.2 tok/s
Cost/Month
$133
Cost/M Tokens
$0.07
RTX 4070 Superoptimal
BF16 · 1 GPU · vllm
100/100
score
Throughput
449.1 tok/s
Cost/Month
$209
Cost/M Tokens
$0.18
API Pricing Comparison
| Provider | Input $/M | Output $/M | Badges |
|---|---|---|---|
| huggingface | $0.10 | $0.10 | Cheapest |
Quality Benchmarks
MMLU32.0
HumanEval28.0
GSM8K18.0
MT-Bench50.0
Capabilities
Features
✗ Tool Use✗ Vision✓ Code✗ Math✗ Reasoning✗ Multilingual✗ Structured Output
Supported Frameworks
vllmsglangtgiollama
Supported Precisions
BF16 (default)FP8INT4