FitMyGPU

Will It Fit?

Estimate text inference VRAM across Transformers and vLLM with a compact, explainable breakdown.

Model pages and release notes are included here too.

30.5B total • 3.3B active • 262,144 context • 4 KV heads

vLLM estimates use the selected GPU memory utilization. Transformers stays a fixed 4K single-request baseline.

Does not fit on selected GPU

Qwen 3 30B A3B Instruct 2507 · vLLM · Official BF16 checkpoint

Required GPU VRAM (0.9 budget)

74.9 GB

Core estimate: 67.4 GB. Against RTX 4090 24GB, this leaves 49.1 GB of deficit.

At 4,096 tokens, the estimated max concurrency is 0 concurrent requests.

Quick read

Selected GPU

RTX 4090 24GB

Runtime

vLLM

Load dtype

FP16

GPU utilization

0.9

GPU count

1

KV cache dtype

BF16

Context length

4,096

Current concurrency

1

Max concurrency @ context

0

Class

Consumer

Bandwidth

1,008 GB/s

Nominal VRAM

24 GB

Core estimate

67.4 GB

Required GPU VRAM (0.9 budget)

74.9 GB

Deficit

49.1 GB

GPU compare

What fits this setup

GPUStatusHeadroomMax conc.
GB200 NVL72 GPU 186GBFits124.8 GB508
B200 180GBFits118.4 GB482
H200 141GBFits76.5 GB311
RTX PRO 6000 96GBFits28.2 GB115
A100 80GBFits11.0 GB45
H100 80GBFits11.0 GB45
L40 48GBOOM-23.3 GB0
A100 40GBOOM-31.9 GB0
RTX 5090 32GBOOM-40.5 GB0
RTX 3090 24GBOOM-49.1 GB0
RTX 4090 24GBOOM-49.1 GB0

Breakdown

Where the memory goes

Weights

30.5B resident parameters at 2.00 bytes each. Calibrated from the official checkpoint profile.

61.1 GB

KV cache

Concurrency 1, context 4,096, 48 KV-bearing layers, 4 KV heads, BF16 cache storage.

0.2 GB

Runtime / safety overhead

Conservative buffer for allocator fragmentation, kernels, and runtime scratch space.

6.1 GB

Weights = parameter count × bytes per parameter.

KV cache grows with context length, KV-bearing layers, concurrent requests, and the selected KV cache dtype.

Show the substituted formulas

Weights

parameter count × bytes per weight

30.5B × 2.00 = 61.1 GB

The official Qwen3-30B-A3B-Instruct-2507 safetensor weights total about 61.06 GB on Hugging Face.

KV cache

batch × effective KV tokens across attention layers × 2 × KV heads × head dim × bytes per KV element

1 × 196,608 × 2 × 4 × 64 × 2 = 0.2 GB

Longer context, deeper models, and larger batches all expand the cache linearly. BF16 controls the bytes per stored KV element.

Overhead

max(1.5 GB, 10% of weights + KV cache + linear state)

max(1.5 GB, 10% of 61.3 GB) = 6.1 GB

This leaves room for runtime buffers instead of claiming an unrealistically exact fit.

Model

Selected model

Qwen 3 30B A3B Instruct 2507

30.5B total • 3.3B active • 262,144 context • 4 KV heads

About model

Total params

30.5B

Active params

3.3B

Layers

48

Hidden size

2,048

Attention heads

32

KV heads

4

KV-bearing layers

48