TextDense7.62B params33K max context

Qwen2 7B VRAM Requirements: How Many GPUs & What It Costs

Qwen2 7B needs 15.2 GB of VRAM for its weights at FP16 — 15.5 GB once a KV cache is loaded. Below is the full breakdown: which GPUs fit, how many you need, what it serves, and what it costs per million tokens. Every figure comes from tokcalc's open-source capacity model.

Weights (FP16)
15.2 GB
15.5 GB with KV cache
Fits on 1 GPU?
Yes
A10G 24GB or larger
Cheapest config
$0.0840
2× RTX 3080 10GB / 1M tokens
Fastest config
10236
tok/s on 1× Cerebras CS-3 (WSE-3)
VRAM requirement by quantization
Weight footprint = params × bytes per param. The “with KV cache” column adds one request at 4K context.
QuantizationWeightsWith KV cacheSmallest single GPU
FP16recommended15.2 GB15.5 GBT4 16GB (16 GB)
FP8 (E4M3)7.6 GB7.9 GBRTX 3080 10GB (10 GB)
AWQ 4-bit4.2 GB4.4 GBRTX 3080 10GB (10 GB)
Which GPU should you use?
Reference workload: 8K context, 8 concurrent users, continuous batching, FP16. Ranked by fitting first, then by tokens per dollar-hour.
GPUGPUsTotal VRAMDecode tok/sAggregate tok/sCost / 1M tokens
RTX 3080 10GB2×20 GB55.101323$0.0840
RTX 4080 16GB2×32 GB51.991248$0.1336
RTX 3090 24GB1×24 GB39.92479.1$0.1450
RTX 5090 32GB1×32 GB76.43917.2$0.1514
T4 16GB2×32 GB23.20556.9$0.1995
RTX A4000 16GB2×32 GB32.48779.6$0.2138
RTX 4090 24GB1×24 GB42.99515.9$0.2154
AMD MI300X 192GB1×192 GB226.02713$0.2560
V100 SXM2 32GB1×32 GB38.39460.6$0.3015
A100 40GB SXM41×40 GB66.11793.3$0.3151
AMD MI325X 288GB1×288 GB255.93071$0.3166
A100 80GB SXM41×80 GB85.301024$0.3256

RTX 3080 10GB has no NVLink, so 2-way tensor parallelism runs over PCIe. tokcalc applies a flat 0.85× multi-GPU efficiency factor for this, which is realistic for NVLink-equipped datacenter cards but optimistic for PCIe scale-out — treat the throughput and cost figures for this configuration as an upper bound, and measure before committing.

How concurrency changes with context length
On 2× RTX 3080 10GB at FP16. KV cache scales linearly with context, so long contexts cut the number of users you can serve from the same GPUs.
ContextConcurrent usersKV per requestFits?
4K20240.5 MB✓ fits
8K10481.0 MB✓ fits
33K21.88 GB✓ fits
66K13.76 GB✓ fits
131K07.52 GB✗ does not fit
Frequently asked questions

Can Qwen2 7B run on a single GPU?

Yes. At FP16 the model needs 15.5 GB of VRAM, so it fits on a single A10G 24GB or anything with more VRAM. At full FP16 it needs 15.5 GB, which fits on one T4 16GB or larger.

How many GPUs does Qwen2 7B need?

At FP16 with 8,192-token context and 8 concurrent users, the cheapest configuration that fits is 2× RTX 3080 10GB (20 GB total VRAM). $0.0840 per 1M output tokens.

How fast can Qwen2 7B be served?

On 1× Cerebras CS-3 (WSE-3) at FP16, the aggregate throughput is 10236 tokens/sec with continuous batching. That hardware has no published rental price, so its cost per million tokens is not comparable.

How much VRAM does Qwen2 7B need?

Weights alone: 15.2 GB at FP16, 15.2 GB at FP16. Add KV cache for your context length and concurrency — every concurrent request at 8,192 tokens costs extra VRAM, so budget headroom above the weight figure.

Is it cheaper to self-host Qwen2 7B than to call an API?

At 2× RTX 3080 10GB the marginal cost is $0.0840 per 1M output tokens, before you add idle capacity, ops staff, or egress. That is typically cheaper than frontier API pricing at sustained volume, but API calls win when your load is bursty or too small to keep a GPU busy. The Build vs Buy tab on tokcalc prices this against a specific provider for you.

Try Qwen2 7B with your own context and concurrency

The calculator uses the exact same formulas as this page — change the workload and watch every number update.

Open in calculator
Model architecture
The numbers behind the KV-cache and throughput math.
Total parameters7.62B
Active parameters per token7.62B
ArchitectureDense
Attention layoutFull attention (GQA)
Transformer layers28
Hidden dimension3584
Attention heads28 query / 4 KV (GQA)
Head dimension128
Vocabulary size152,064
Max context (catalog)33K
KV cache per token @ 8K56.0 KB

Every layer caches keys and values for the whole context, so the KV cache grows linearly with conversation length.