Qwen 2.5 Coder 3B
Alibaba · dense · 3.1B parameters · 32,768 context
Parameters
3.1B
Context Window
32K tokens
Architecture
Dense
Best GPU
RTX 4070 Ti
Quality Score
50/100
Intelligence Brief
Qwen 2.5 Coder 3B is a 3.1B parameter DENSE model from Alibaba, featuring Grouped Query Attention (GQA) with 36 layers and 2,048 hidden dimensions. With a 32,768 token context window, it supports structured output, code, math. On standardized benchmarks, it achieves MMLU 55, HumanEval 40, GSM8K 55. For self-hosted inference, RTX 4070 Ti delivers optimal throughput at $237/month.
Architecture Details
Memory Requirements
BF16 Weights
6.2 GB
FP8 Weights
3.1 GB
INT4 Weights
1.6 GB
GPU Compatibility Matrix
Qwen 2.5 Coder 3B is compatible with 100% of GPU configurations across 41 GPUs at 3 precision levels.
GPU Recommendations
BF16 · 1 GPU · vllm
100/100
score
Throughput
438.9 tok/s
Latency (ITL)
2.3ms
Est. TTFT
0ms
Cost/Month
$237
Cost/M Tokens
$0.21
BF16 · 1 GPU · vllm
100/100
score
Throughput
661.9 tok/s
Latency (ITL)
1.5ms
Est. TTFT
0ms
Cost/Month
$133
Cost/M Tokens
$0.08
BF16 · 1 GPU · vllm
100/100
score
Throughput
438.9 tok/s
Latency (ITL)
2.3ms
Est. TTFT
0ms
Cost/Month
$209
Cost/M Tokens
$0.18
Deployment Options
API Deployment
No API pricing available
Single GPU
RTX 4070 Ti
$237/mo
Min VRAM: 3 GB
Multi-GPU
RTX 4070 Ti
438.9 tok/s
Best available config
API Pricing Comparison
No API pricing data available for this model.
Performance Estimates
Throughput by GPU
VRAM Breakdown (RTX 4070 Ti, BF16)
Precision Impact
bf16
6.2 GB
weights/GPU
~438.9 tok/s
fp8
3.1 GB
weights/GPU
int4
1.6 GB
weights/GPU
Quality Benchmarks
Capabilities
Features
Supported Frameworks
Supported Precisions
Where to Deploy Qwen 2.5 Coder 3B
Self-Hosted Infrastructure
Similar Models
Qwen 2.5 Coder 1.5B
1.5B params · dense
Quality: 40
Qwen 2.5 Coder 7B
7.6B params · dense
Quality: 50
from $0.20/M
Qwen 2.5 3B
3.09B params · dense
Quality: 58
from $0.10/M
StarCoder2 3B
3.03B params · dense
Quality: 29
from $0.10/M
OpenELM 3B
3B params · dense
Quality: 50
Frequently Asked Questions
How much VRAM does Qwen 2.5 Coder 3B need for inference?
Qwen 2.5 Coder 3B requires approximately 6.2 GB of VRAM at BF16 precision, 3.1 GB at FP8, or 1.6 GB at INT4 quantization. Additional VRAM is needed for KV-cache (18432 bytes per token) and activations (~0.40 GB).
What is the best GPU for Qwen 2.5 Coder 3B?
The top recommended GPU for Qwen 2.5 Coder 3B is the RTX 4070 Ti using BF16 precision. It achieves approximately 438.9 tokens/sec at an estimated cost of $237/month ($0.21/M tokens). Score: 100/100.
How much does Qwen 2.5 Coder 3B inference cost?
Qwen 2.5 Coder 3B inference costs vary by provider and GPU setup. Use our calculator for detailed cost estimates across all providers.