Can I Run Cosmos 3 on NVIDIA L40S?

Written by Jakub Rusinowski · Last updated July 21, 2026

Yes, comfortably — Cosmos 3 Nano at BF16 needs 34.2 GB at 8K context (32 GB weights + 2.2 GB KV cache/overhead), leaving ~13.8 GB of the NVIDIA L40S's 48 GB, at ~43 tok/s (est.).

See what else this hardware can run →

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.

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

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

Cosmos 3 Nano on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1634.2 GB✓ Yes16K—
Q8_019.2 GB✓ Yes16K—
Q6_K15.4 GB✓ Yes16K—
Q5_K_M13.6 GB✓ Yes16K—
Q4_K_M11.9 GB✓ Yes16K—
Q3_K_M9.1 GB✓ Yes16K—
Q2_K7.5 GB✓ Yes16K—

Assumes an 8K-token context with an f16 KV cache, on an estimated architecture — this model publishes no config we can read. 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 BF16 on the NVIDIA L40S: 8K 34.2 GB · 16K 35.7 GB. Every window this model publishes still fits 48 GB.

No compatible GPU? Cosmos 3 Nano on 16 GB of system RAM, CPU only: runs, but it is tight.

Cosmos 3 Sizes That Fit the NVIDIA L40S (at 8K context)

Cosmos 3 NanoBF16 · 34.2 GB at 8K context · ~43 tok/s (est.)
Cosmos 3 EdgeBF16 · 9.7 GB at 8K context · ~128 tok/s (est.)

FAQ

Will Cosmos 3 run on the NVIDIA L40S?

Yes, comfortably — Cosmos 3 Nano at BF16 needs 34.2 GB at 8K context (32 GB weights + 2.2 GB KV cache/overhead), leaving ~13.8 GB of the NVIDIA L40S's 48 GB, at ~43 tok/s (est.).

Which Cosmos 3 variant fits best on the NVIDIA L40S?

Cosmos 3 Nano at BF16 quantization needs 34.2 GB at 8K context (32 GB weights + 2.2 GB KV cache/overhead), estimated ~43 tokens/sec.

Every Cosmos 3 size on the NVIDIA L40S

SizeVRAM at 8KVerdictSpeed
Cosmos 3 Super131.1 GBRuns at Q4_K_M—
Cosmos 3 Nano34.2 GBRuns~43 tok/s
Cosmos 3 Edge9.7 GBRuns~128 tok/s

Cosmos 3 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

← Can I Run It? | Cosmos 3 Model Page | NVIDIA L40S GPU Page | VRAM calculator | Check Your Hardware