Real-Time GGUF, EXL2, AWQ & GQA KV Cache Telemetry

Microsoft Phi-4 14B VRAM & Quantization Calculator

Microsoft Phi-4 14B is trained on high-density synthetic textbook data, achieving STEM reasoning comparable to models 5x its size while fitting on 12GB GPUs.

$ ollama run phi4:14b
Loaded calculator for Microsoft Phi-4 14B on NVIDIA GeForce RTX 4090. Q4_K_M requires 12.0 GB VRAM.

Hardware & Model Studio

Interactive parameters & segmented controls
B
1B8B32B70B123B405B+
8K Tokens
Multi-GPU Array Scale 24 GB Total Pool
1.50 GB

Live VRAM & Bandwidth Telemetry

Sizing Microsoft Phi-4 14B on 1x NVIDIA GeForce RTX 4090 (24 GB)

Fits 100% in GPU VRAM
Q4_K_M VRAM
11.97 GB
Weights: 8.9 GB
GQA KV Cache
1.56 GB
8K ctx (16-bit)
Token Speed
~48.5 tok/s
1008 GB/s BW
Optimal Quant
Q6_K / Q8_0
100% in GPU VRAM
Memory Allocation Bar (Q4_K_M 4-bit Sweet Spot) 11.97 GB / 24 GB Capacity
Weights: 8.91 GB KV Cache: 1.56 GB CUDA/Metal Buffer: 1.50 GB Free Headroom: 12.03 GB

12 Quantization Formats Matrix

Quantization memory requirements, KV cache, tokens per second, and hardware compatibility across 12 formats.
Quantization Format Bitrate Weights KV Cache Total VRAM Throughput Quality Retention Compatibility
FP16 / BF16
Full Precision
16.00 bpw 29.40 GB 1.56 GB 32.46 GB ~5.9 tok/s
100% Lossless +0.000 (Baseline)
Hybrid Offload
FP8 / Q8_0 Production Grade
GGUF / vLLM
8.50 bpw 15.62 GB 1.56 GB 18.68 GB ~46.5 tok/s
99.9% Near-Lossless +0.004 ppl
100% GPU VRAM
Q6_K (6-bit) High Precision
GGUF k-quant
6.56 bpw 12.05 GB 1.56 GB 15.12 GB ~60.2 tok/s
99.5% Excellent +0.021 ppl
100% GPU VRAM
Q5_K_M (5-bit) Balanced Plus
GGUF k-quant
5.69 bpw 10.46 GB 1.56 GB 13.52 GB ~69.4 tok/s
99.0% Very High +0.056 ppl
100% GPU VRAM
Q4_K_M (4-bit) Recommended
GGUF k-quant
4.85 bpw 8.91 GB 1.56 GB 11.97 GB ~81.4 tok/s
98.2% Sweet Spot +0.152 ppl
100% GPU VRAM
AWQ / GPTQ 4-bit High Throughput
vLLM / TensorRT
4.50 bpw 8.27 GB 1.56 GB 11.33 GB ~87.8 tok/s
98.0% Fast Serving +0.160 ppl
100% GPU VRAM
IQ4_XS (i-Matrix)
GGUF i-quant
4.25 bpw 7.81 GB 1.56 GB 10.87 GB ~92.9 tok/s
97.8% Compact 4-bit +0.180 ppl
100% GPU VRAM
EXL2 (4.0 bpw) Max Speed
ExLlamaV2
4.00 bpw 7.35 GB 1.56 GB 10.41 GB ~98.7 tok/s
97.6% Ultra Fast +0.195 ppl
100% GPU VRAM
Q3_K_M (3-bit)
GGUF k-quant
3.91 bpw 7.18 GB 1.56 GB 10.25 GB ~101.0 tok/s
94.5% Noticeable Loss +0.480 ppl
100% GPU VRAM
IQ3_XXS (3-bit)
GGUF i-quant
3.06 bpw 5.62 GB 1.56 GB 8.69 GB ~129.1 tok/s
92.0% Degraded +0.710 ppl
100% GPU VRAM
Q2_K (2-bit)
GGUF k-quant
2.63 bpw 4.83 GB 1.56 GB 7.90 GB ~150.2 tok/s
85.0% Experimental +1.650 ppl
100% GPU VRAM
IQ1_S (1.58-bit)
GGUF Sub-2-bit
1.56 bpw 2.87 GB 1.56 GB 5.93 GB ~253.2 tok/s
72.0% Heavy Loss +3.800 ppl
100% GPU VRAM

31 GPU & Accelerator Compatibility Cards

Side-by-side Q4_K_M memory utilization and token speed across NVIDIA, Apple Silicon, AMD Radeon, and Intel Arc.

NVIDIA • Blackwell

NVIDIA GeForce RTX 5090

Fits 1x GPU
VRAM
32 GB
Bandwidth
1792 GB/s
US / UK
$1999
12.0 / 32 GB (Q4_K_M) ~144.8 tok/s
NVIDIA • Blackwell

NVIDIA GeForce RTX 5080

Fits 1x GPU
VRAM
16 GB
Bandwidth
960 GB/s
US / UK
$999
12.0 / 16 GB (Q4_K_M) ~77.6 tok/s
NVIDIA • Blackwell

NVIDIA GeForce RTX 5070 Ti

Fits 1x GPU
VRAM
16 GB
Bandwidth
896 GB/s
US / UK
$749
12.0 / 16 GB (Q4_K_M) ~72.4 tok/s
NVIDIA • Blackwell

NVIDIA GeForce RTX 5070

Fits 1x GPU
VRAM
12 GB
Bandwidth
672 GB/s
US / UK
$549
12.0 / 12 GB (Q4_K_M) ~54.3 tok/s
NVIDIA • Ada Lovelace

NVIDIA GeForce RTX 4090

Fits 1x GPU
VRAM
24 GB
Bandwidth
1008 GB/s
US / UK
$1599
12.0 / 24 GB (Q4_K_M) ~81.4 tok/s
NVIDIA • Ada Lovelace

NVIDIA RTX 4070 Ti Super

Fits 1x GPU
VRAM
16 GB
Bandwidth
672 GB/s
US / UK
$799
12.0 / 16 GB (Q4_K_M) ~54.3 tok/s
NVIDIA • Ada Lovelace

NVIDIA RTX 4060 Ti 16GB

Fits 1x GPU
VRAM
16 GB
Bandwidth
288 GB/s
US / UK
$449
12.0 / 16 GB (Q4_K_M) ~23.3 tok/s
NVIDIA • Ada Lovelace

NVIDIA GeForce RTX 4060 8GB

Fits 2x GPUs
VRAM
8 GB
Bandwidth
272 GB/s
US / UK
$299
12.0 / 8 GB (Q4_K_M) ~11.9 tok/s
NVIDIA • Ampere

NVIDIA RTX 3090 / 3090 Ti

Fits 1x GPU
VRAM
24 GB
Bandwidth
936 GB/s
US / UK
$799
12.0 / 24 GB (Q4_K_M) ~75.6 tok/s
Apple • Apple Silicon

Apple M3 Ultra (Mac Studio)

Fits 1x GPU
VRAM
192 GB
Bandwidth
800 GB/s
US / UK
$5999
12.0 / 192 GB (Q4_K_M) ~64.6 tok/s
Apple • Apple Silicon

Apple M4 Max 128GB

Fits 1x GPU
VRAM
128 GB
Bandwidth
546 GB/s
US / UK
$4499
12.0 / 128 GB (Q4_K_M) ~44.1 tok/s
Apple • Apple Silicon

Apple M4 Max 64GB

Fits 1x GPU
VRAM
64 GB
Bandwidth
546 GB/s
US / UK
$3699
12.0 / 64 GB (Q4_K_M) ~44.1 tok/s
Apple • Apple Silicon

Apple M4 Pro 64GB (Mac mini)

Fits 1x GPU
VRAM
64 GB
Bandwidth
273 GB/s
US / UK
$1999
12.0 / 64 GB (Q4_K_M) ~22.1 tok/s
Apple • Apple Silicon

Apple M4 24GB (Mac mini)

Fits 1x GPU
VRAM
24 GB
Bandwidth
120 GB/s
US / UK
$799
12.0 / 24 GB (Q4_K_M) ~9.7 tok/s
AMD • RDNA 3

AMD Radeon RX 7900 XTX

Fits 1x GPU
VRAM
24 GB
Bandwidth
960 GB/s
US / UK
$899
12.0 / 24 GB (Q4_K_M) ~77.6 tok/s
AMD • RDNA 3

AMD Radeon RX 7900 XT

Fits 1x GPU
VRAM
20 GB
Bandwidth
800 GB/s
US / UK
$699
12.0 / 20 GB (Q4_K_M) ~64.6 tok/s
AMD • RDNA 3

AMD Radeon PRO W7900

Fits 1x GPU
VRAM
48 GB
Bandwidth
864 GB/s
US / UK
$3499
12.0 / 48 GB (Q4_K_M) ~69.8 tok/s
AMD • CDNA 3

AMD Instinct MI300X

Fits 1x GPU
VRAM
192 GB
Bandwidth
5300 GB/s
US / UK
$15000
12.0 / 192 GB (Q4_K_M) ~350.0 tok/s
NVIDIA • Ada Lovelace

NVIDIA RTX 6000 Ada

Fits 1x GPU
VRAM
48 GB
Bandwidth
960 GB/s
US / UK
$6800
12.0 / 48 GB (Q4_K_M) ~77.6 tok/s
NVIDIA • Ampere

NVIDIA RTX A6000

Fits 1x GPU
VRAM
48 GB
Bandwidth
768 GB/s
US / UK
$4500
12.0 / 48 GB (Q4_K_M) ~62.0 tok/s
NVIDIA • Ada Lovelace

NVIDIA L40S 48GB

Fits 1x GPU
VRAM
48 GB
Bandwidth
864 GB/s
US / UK
$8500
12.0 / 48 GB (Q4_K_M) ~69.8 tok/s
NVIDIA • Ampere

NVIDIA A100 80GB SXM

Fits 1x GPU
VRAM
80 GB
Bandwidth
2039 GB/s
US / UK
$14000
12.0 / 80 GB (Q4_K_M) ~164.7 tok/s
NVIDIA • Hopper

NVIDIA H100 80GB SXM5

Fits 1x GPU
VRAM
80 GB
Bandwidth
3350 GB/s
US / UK
$27000
12.0 / 80 GB (Q4_K_M) ~270.7 tok/s
NVIDIA • Hopper

NVIDIA H200 141GB

Fits 1x GPU
VRAM
141 GB
Bandwidth
4800 GB/s
US / UK
$32000
12.0 / 141 GB (Q4_K_M) ~350.0 tok/s
NVIDIA • Grace Blackwell

NVIDIA DGX Spark (GB10)

Fits 1x GPU
VRAM
128 GB
Bandwidth
500 GB/s
US / UK
$3000
12.0 / 128 GB (Q4_K_M) ~40.4 tok/s
Intel • Alchemist

Intel Arc A770 16GB

Fits 1x GPU
VRAM
16 GB
Bandwidth
560 GB/s
US / UK
$289
12.0 / 16 GB (Q4_K_M) ~45.2 tok/s
Intel • Battlemage

Intel Arc B580 12GB

Fits 1x GPU
VRAM
12 GB
Bandwidth
456 GB/s
US / UK
$249
12.0 / 12 GB (Q4_K_M) ~36.8 tok/s

Open-Weights LLM Hardware Directory

Dedicated architecture profiles with pre-computed GQA KV cache tables. Supports unlimited dynamic URLs (e.g., /model/any-model-name-70b).

Meta AI 70.6B

Meta Llama 3.3 70B Instruct

Meta Llama 3.3 70B Instruct delivers 405B-class reasoning and code synthesis in a dense 70.6-bi...

Q4: 44.3 GB FP16: 143.2 GB
Meta AI 8.03B

Meta Llama 3.1 8B Instruct

Meta Llama 3.1 8B is the industry-standard edge LLM for consumer GPUs, capable of running at 10...

Q4: 6.4 GB FP16: 18.1 GB
Meta AI 405B

Meta Llama 3.1 405B Instruct

Meta Llama 3.1 405B is one of the largest dense open-weights foundation models, engineered for ...

Q4: 247.0 GB FP16: 812.0 GB
DeepSeek 671B MoE

DeepSeek-R1 671B (MoE)

DeepSeek-R1 671B is a Mixture-of-Experts (MoE) reasoning model with 671B total parameters and 3...

Q4: 408.3 GB FP16: 1344.0 GB
DeepSeek 32.8B

DeepSeek-R1 Distill Qwen 32B

DeepSeek-R1 Distill Qwen 32B packs frontier chain-of-thought math and coding capability into a ...

Q4: 21.4 GB FP16: 67.6 GB
DeepSeek 70.6B

DeepSeek-R1 Distill Llama 70B

Distilled from DeepSeek-R1 onto the Llama 3.3 70B backbone, offering elite reasoning accuracy f...

Q4: 44.3 GB FP16: 143.2 GB
Alibaba Cloud 72.7B

Qwen 2.5 72B Instruct

Qwen 2.5 72B Instruct is a top-tier multilingual and coding foundation model with 80 transforme...

Q4: 45.6 GB FP16: 147.4 GB
Alibaba Cloud 32.5B

Qwen 2.5 Coder 32B Instruct

Qwen 2.5 Coder 32B is the premier open-weights code generation and refactoring model designed t...

Q4: 21.2 GB FP16: 67.0 GB
Alibaba Cloud 14.7B

Qwen 2.5 14B Instruct

Qwen 2.5 14B bridges the gap between 8B and 32B models, running effortlessly on 12GB and 16GB G...

Q4: 10.4 GB FP16: 31.4 GB
Mistral AI 24B

Mistral Small 3 24B Instruct

Mistral Small 3 24B is engineered for low-latency local inference on 16GB and 24GB GPUs with on...

Q4: 16.0 GB FP16: 50.0 GB
Mistral AI 123B

Mistral Large 2 123B

Mistral Large 2 123B is a flagship dense model ideal for 96GB+ Mac Studio configurations or dua...

Q4: 76.1 GB FP16: 248.0 GB
Mistral AI 46.7B MoE

Mixtral 8x7B Instruct (MoE)

Mixtral 8x7B uses a sparse Mixture-of-Experts architecture where 46.7B parameters reside in VRA...

Q4: 29.8 GB FP16: 95.4 GB
Mistral AI 141B MoE

Mixtral 8x22B Instruct (MoE)

Mixtral 8x22B combines 141B total weights with a fast 39B active parameter path per token....

Q4: 87.0 GB FP16: 284.0 GB
Google DeepMind 27.2B

Google Gemma 3 27B Instruct

Google Gemma 3 27B delivers exceptional performance-per-watt on single 24GB GPUs such as the RT...

Q4: 18.0 GB FP16: 56.4 GB
Microsoft 14.7B

Microsoft Phi-4 14B

Microsoft Phi-4 14B is trained on high-density synthetic textbook data, achieving STEM reasonin...

Q4: 10.4 GB FP16: 31.4 GB
Cohere For AI 104B

Cohere Command R+ 104B

Cohere Command R+ 104B specializes in enterprise Retrieval-Augmented Generation (RAG), citation...

Q4: 64.5 GB FP16: 210.0 GB

Engineering Formulas

Our edge calculator models the exact memory allocation used by llama.cpp, Ollama, ExLlamaV2, and vLLM:

1. Quantized Model Weights (GB)
Weights_GB = (Params_B × Bits_Per_Weight) / 8
2. GQA Key-Value Cache (GB)
KV_GB = (2 × Layers × KV_Heads × Head_Dim × Context × (KV_Bits/8)) / 1024³
3. Token Throughput (tok/s)
Speed = (Bandwidth_GBs × 0.72) / Active_Weights_GB

How much VRAM do I need to run Microsoft Phi-4 14B locally?

In full FP16/BF16 precision, Microsoft Phi-4 14B requires approximately 32.5 GB of VRAM including an 8,192-token KV cache and CUDA runtime buffer. Using 4-bit GGUF quantization (Q4_K_M at 4.85 bits per weight), total VRAM drops to 12.0 GB, while 8-bit quantization (Q8_0) requires 18.7 GB.

What is the difference between GGUF (Q4_K_M), EXL2, and AWQ quantization?

GGUF (used by llama.cpp, Ollama, and LM Studio) supports both pure GPU execution and hybrid CPU+GPU RAM offloading, making Q4_K_M the most versatile format. EXL2 (ExLlamaV2) runs strictly inside GPU VRAM and offers fine-grained bitrates with maximum single-user tokens/sec. AWQ (Activation-aware Weight Quantization) is optimized for high-concurrency production inference engines like vLLM and TensorRT-LLM.

How does Context Window (KV Cache) affect GPU VRAM consumption?

Every token in your active context window stores Key and Value tensors across all transformer layers. With Grouped-Query Attention (GQA), KV cache memory equals 2 * Layers * KV_Heads * Head_Dim * Context_Tokens * Bytes_Per_Element. Quantizing the KV cache from FP16 (16-bit) to Q8_0 (8-bit) or Q4_0 (4-bit) cuts context memory overhead by 50% to 75%.

How are local LLM Tokens Per Second (tok/s) calculated across different GPU cards?

Autoregressive token generation (batch size 1) is memory-bandwidth bound. For each generated token, the GPU reads all active model weights from VRAM into Tensor Cores. Peak speed equals Memory Bandwidth (GB/s) divided by Active Model Size (GB), typically achieving 65% to 78% real-world controller efficiency.