Phi-4 14B needs 28.0 GB of VRAM for its weights at FP16 — 28.7 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.
| Quantization | Weights | With KV cache | Smallest single GPU |
|---|---|---|---|
| FP16recommended | 28.0 GB | 28.7 GB | V100 SXM2 32GB (32 GB) |
| FP8 (E4M3) | 14.0 GB | 14.7 GB | T4 16GB (16 GB) |
| AWQ 4-bit | 7.7 GB | 8.4 GB | RTX 3080 10GB (10 GB) |
| GPU | GPUs | Total VRAM | Decode tok/s | Aggregate tok/s | Cost / 1M tokens |
|---|---|---|---|---|---|
| RTX 3080 10GB | 4× | 40 GB | 59.99 | 2879 | $0.0772 |
| RTX 4080 16GB | 4× | 64 GB | 56.59 | 2716 | $0.1227 |
| RTX 3090 24GB | 2× | 48 GB | 36.94 | 886.5 | $0.1567 |
| RTX 5090 32GB | 2× | 64 GB | 70.72 | 1697 | $0.1637 |
| T4 16GB | 4× | 64 GB | 25.26 | 1212 | $0.1833 |
| RTX A4000 16GB | 4× | 64 GB | 35.36 | 1697 | $0.1964 |
| RTX 4090 24GB | 2× | 48 GB | 39.78 | 954.7 | $0.2328 |
| V100 SXM2 32GB | 2× | 64 GB | 35.52 | 852.4 | $0.3259 |
| A10G 24GB | 2× | 48 GB | 23.68 | 568.3 | $0.3519 |
| AMD MI300X 192GB | 1× | 192 GB | 123.0 | 1476 | $0.4704 |
| TPU v6e Trillium (32GB) | 2× | 64 GB | 32.32 | 775.7 | $0.5730 |
| A100 40GB SXM4 | 1× | 40 GB | 35.98 | 431.8 | $0.5790 |
RTX 3080 10GB has no NVLink, so 4-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.
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 17 | 687.2 MB | ✓ fits |
| 8K | 8 | 1.34 GB | ✓ fits |
| 33K | 2 | 5.37 GB | ✓ fits |
| 66K | 1 | 10.74 GB | ✓ fits |
| 131K | 0 | 21.47 GB | ✗ does not fit |
Yes. At FP16 the model needs 28.7 GB of VRAM, so it fits on a single A100 40GB SXM4 or anything with more VRAM. At full FP16 it needs 28.7 GB, which fits on one V100 SXM2 32GB or larger.
At FP16 with 8,192-token context and 8 concurrent users, the cheapest configuration that fits is 4× RTX 3080 10GB (40 GB total VRAM). $0.0772 per 1M output tokens.
On 1× Cerebras CS-3 (WSE-3) at FP16, the aggregate throughput is 5571 tokens/sec with continuous batching. That hardware has no published rental price, so its cost per million tokens is not comparable.
Weights alone: 28.0 GB at FP16, 28.0 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.
At 4× RTX 3080 10GB the marginal cost is $0.0772 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.
The calculator uses the exact same formulas as this page — change the workload and watch every number update.
| Total parameters | 14.00B |
| Active parameters per token | 14.00B |
| Architecture | Dense |
| Attention layout | Full attention (GQA) |
| Transformer layers | 40 |
| Hidden dimension | 5120 |
| Attention heads | 32 query / 8 KV (GQA) |
| Head dimension | 128 |
| Vocabulary size | 100,352 |
| Max context (catalog) | 16K |
| KV cache per token @ 8K | 160.0 KB |
Every layer caches keys and values for the whole context, so the KV cache grows linearly with conversation length.