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.

397B total • 17B active • 262,144 context • 2 KV heads

Text-only estimate

This multimodal checkpoint is estimated only for text requests in v1. Resident vision and projector weights stay counted, but image and video token memory is excluded.

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

Does not fit on selected GPUText-only estimate

Qwen 3.5 397B A17B · vLLM · Official BF16 checkpoint

Required GPU VRAM (0.9 budget)

986.5 GB

Core estimate: 887.8 GB. Against RTX 4090 24GB, this leaves 960.7 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

887.8 GB

Required GPU VRAM (0.9 budget)

986.5 GB

Deficit

960.7 GB

GPU compare

What fits this setup

GPUStatusHeadroomMax conc.
GB200 NVL72 GPU 186GBOOM-786.8 GB0
B200 180GBOOM-793.2 GB0
H200 141GBOOM-835.1 GB0
RTX PRO 6000 96GBOOM-883.4 GB0
A100 80GBOOM-900.6 GB0
H100 80GBOOM-900.6 GB0
L40 48GBOOM-934.9 GB0
A100 40GBOOM-943.5 GB0
RTX 5090 32GBOOM-952.1 GB0
RTX 3090 24GBOOM-960.7 GB0
RTX 4090 24GBOOM-960.7 GB0

Breakdown

Where the memory goes

Weights

397B resident parameters at 2.03 bytes each. Calibrated from the official checkpoint profile.

806.8 GB

KV cache

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

0.1 GB

Linear attention state

Concurrency 1, 45 linear-attention layers, static recurrent state, and short-convolution buffers. This term stays flat as context grows.

0.2 GB

Runtime / safety overhead

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

80.7 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

397B × 2.03 = 806.8 GB

The official Qwen3.5-397B-A17B checkpoint totals about 806.80 GB on Hugging Face, and Qwen documents production serving paths for the release.

KV cache

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

1 × 61,440 × 2 × 2 × 256 × 2 = 0.1 GB

Only the attention-bearing layers contribute KV cache in this hybrid stack, and BF16 controls the bytes per stored KV element.

Linear state

batch × linear layers × (recurrent state + short-conv buffers) × state bytes

1 × 45 × 1,097,728 × 4.00 = 0.2 GB

Hybrid Qwen3.5 layers keep a static recurrent state plus q/k/v short-convolution buffers. The published configs keep that state in float32, so it is modeled separately from the BF16 weight dtype.

Overhead

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

max(1.5 GB, 10% of 807.1 GB) = 80.7 GB

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

Model

Selected model

Qwen 3.5 397B A17B

397B total • 17B active • 262,144 context • 2 KV heads

About model

Total params

397B

Active params

17B

Layers

60

Hidden size

4,096

Attention heads

32

KV heads

2

KV-bearing layers

15