Can NVIDIA A40 (48 GB) run Qwen 4 35B A3B (MoE)?

Yes. NVIDIA A40 (48 GB) runs Qwen 4 35B A3B (MoE) at Q4_K_M with a 16K context, using 37.0 GB of 46.2 GB usable memory at an estimated 85–176 tok/s. The largest context that still fits at Q4_K_M is 128K.

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

Open in calculator
Fits comfortablyQ4_K_M · 16K context
85–176 tok/s
37.0 GBof 46.2 GB usable memory
80% used
Weights34.4 GBKV cache0.3 GBOverhead2.3 GB
9.2 GB free

Every quantization on A40 48GB

Q4_K_M (4-bit)
qwen4:35b-a3b
34.4 GB
real file size
37.0 GBFits comfortably128K
85–176 tok/s
Estimate
Q6_K (6-bit)
49.1 GB
estimate
52.4 GBPartial offload—
12.0 tok/s
Estimate
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 A40 (48 GB) has 46.2 GB usable for models out of 48 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 A40 48GB by runtime

Command
Ollama
Q4_K_M
qwen4:35b-a3b
34.4 GB
real file size
37.0 GBFits comfortably85–176 tok/s
LM Studio
Q4_K_M
ggml-org/Qwen4-35B-A3B-GGUF
31.2 GB
real file size
33.7 GBFits comfortably92–190 tok/s
llama.cpp
Q4_K_M
ggml-org/Qwen4-35B-A3B-GGUF
20.5 GB
real file size
22.5 GBFits comfortably89–184 tok/s
vLLM
INT4
34.4 GB
estimate
37.0 GBFits comfortably91–190 tok/s
30 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 A40 48GB
—

$1.18/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 A40 (48 GB) run Qwen 4 35B A3B (MoE)?

Yes. NVIDIA A40 (48 GB) runs Qwen 4 35B A3B (MoE) at Q4_K_M with a 16K context, using 37.0 GB of 46.2 GB usable memory at an estimated 85–176 tok/s. The largest context that still fits at Q4_K_M is 128K.

How fast is Qwen 4 35B A3B (MoE) on NVIDIA A40 (48 GB)?

About 85–176 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 A40 (48 GB)?

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