Can NVIDIA A100 (40 GB) run Qwen 4 35B A3B (MoE)?

Yes, but it is tight. NVIDIA A100 (40 GB) runs Qwen 4 35B A3B (MoE) at Q4_K_M with a 16K context, using 37.0 GB of 38.5 GB usable memory at an estimated 129–268 tok/s. The largest context that still fits at Q4_K_M is 64K.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Tight fitQ4_K_M · 16K context
129–268 tok/s
37.0 GBof 38.5 GB usable memory
96% used
Weights34.4 GBKV cache0.3 GBOverhead2.3 GB
1.5 GB free

Every quantization on A100 40GB

Q4_K_M (4-bit)
qwen4:35b-a3b
34.4 GB
real file size
37.0 GBTight fit64K
129–268 tok/s
Estimate
Q6_K (6-bit)
49.1 GB
estimate
52.4 GBToo large—
—
Q8_0 (8-bit)
46.2 GB
estimate
49.4 GBPartial offload—
12.0 tok/s
Estimate
FP16 / BF16 (16-bit)
qwen4:35b-a3b-bf16
106 GB
real file size
111 GBToo large—
—

NVIDIA A100 (40 GB) has 38.5 GB usable for models out of 40 GB of VRAM. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Qwen 4 35B A3B (MoE) on A100 40GB by runtime

Command
Ollama
Q4_K_M
qwen4:35b-a3b
34.4 GB
real file size
37.0 GBTight fit129–268 tok/s
LM Studio
Q4_K_M
ggml-org/Qwen4-35B-A3B-GGUF
31.2 GB
real file size
33.7 GBTight fit138–288 tok/s
llama.cpp
Q4_K_M
ggml-org/Qwen4-35B-A3B-GGUF
20.5 GB
real file size
22.5 GBFits comfortably142–294 tok/s
vLLM
INT4
34.4 GB
estimate
37.0 GBTight fit129–269 tok/s
5 requests in parallel
No INT4 build of this model found for vLLM.

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, vLLM the original safetensors weights or an FP8 / INT4 build. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on A100 40GB
—

$0.96/mo power

Rented cloud GPU
$0.23

1x RTX A6000 (48 GB) on RunPod at $0.33/hr

OpenRouter API
$0.13

$0.06 in / $0.36 out per 1M

Counting the hardware, the API stays cheaper at every volume this machine can serve. Local still wins on privacy and offline use. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod · Open on OpenRouter

Questions and answers

Can NVIDIA A100 (40 GB) run Qwen 4 35B A3B (MoE)?

Yes, but it is tight. NVIDIA A100 (40 GB) runs Qwen 4 35B A3B (MoE) at Q4_K_M with a 16K context, using 37.0 GB of 38.5 GB usable memory at an estimated 129–268 tok/s. The largest context that still fits at Q4_K_M is 64K.

How fast is Qwen 4 35B A3B (MoE) on NVIDIA A100 (40 GB)?

About 129–268 tok/s at Q4_K_M. Modelled from memory bandwidth and model size. No published measurement covers this setup.

How much context can Qwen 4 35B A3B (MoE) use on NVIDIA A100 (40 GB)?

At Q4_K_M the largest context that fits is 64K tokens.