Can I Run Command R (35B) on NVIDIA L40S?

Written by Jakub Rusinowski · Last updated July 21, 2026

Yes. Command R (35B) needs 32.7 GB at 8K context (21.1 GB weights + 11.6 GB KV cache/overhead) at Q4_K_M and the NVIDIA L40S has 48 GB, leaving about 15.3 GB of headroom, at roughly 28 tok/s (estimated) with room for up to 16K of context.

See what else this hardware can run →

The numbers

ModelCommand R (35B)
Parameters35B
QuantizationQ4_K_M
VRAM needed (8K context)32.7 GB
NVIDIA L40S VRAM48 GB
VerdictRuns
Max context16K
Estimated speed~28 tok/s

Command R (35B) on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1681.5 GB✗ No——
Q8_048.7 GB✗ No——
Q6_K40.2 GB✓ Yes8K—
Q5_K_M36.3 GB✓ Yes16K—
Q4_K_M32.7 GB✓ Yes16K—
Q3_K_M26.5 GB✓ Yes16K—
Q2_K23 GB✓ Yes16K—

Assumes an 8K-token context with an f16 KV cache. A longer window needs more; a quantized KV cache needs less. “Max context” is the largest window that still fits in 48 GB. Figures are estimates from parameter count, quantization and memory bandwidth — the analyzer lets you tune KV-cache quant and context.

Context costs VRAM too. At Q4_K_M on the NVIDIA L40S: 8K 32.7 GB · 32K 64.9 GB ✗ · 125K 189.7 GB ✗. Past 32K it no longer fits 48 GB — a q8_0 KV cache buys roughly half of that back, which the calculator will price for you.

What to do next

Nothing to change — run it at Q4_K_M. If you want more capability, check whether the next size up also fits.

No compatible GPU? Command R Family on 256 GB of system RAM, CPU only: runs, but too slowly to be worth it.

Affiliate disclosure: Some links on this page are affiliate links — if you buy through them, LLM Configurator may earn a commission at no extra cost to you. As an Amazon Associate, LLM Configurator earns from qualifying purchases.

Running Command R (35B) on this card:

NVIDIA L40S 48GB
48 GB VRAM · 350 W board power
2026 prices are volatile — check the current listing.
Check price on Amazon

Buy vs. rent Command R (35B)
Buy the GPU
~$7,499
NVIDIA L40S · MSRP
Rent by the hour
from $0.55/hr
A100 (40 GB) class

At 2 hrs/day, buying (~$7,499) beats renting at $0.55/hr after about 18.9 years.

Affiliate links — we may earn a commission if you sign up, at no extra cost to you.

Vast.ai $0.55/hr · typical low · varies
Rent on Vast.ai →

Cloud rates verified 2026-07 — estimates, and marketplace prices vary. Buying price is GPU MSRP only, not a full PC.

Other Command R Family sizes on the NVIDIA L40S

Command R (35B) on nearby hardware

All Command R Family sizes on the NVIDIA L40S | Command R (35B) model page | NVIDIA L40S GPU page | VRAM calculator | Check your hardware