llmrun

NVIDIA · Ada Lovelace · 48 GB VRAM tier

Best AI Models for NVIDIA L40S (48 GB)

Runs 27–31B and 35B MoE models well; 70B barely fits and is slow (14 tok/s).

48 GB GDDR6864 GB/s362 TFLOPS FP16350 WAda Lovelace 2023

What LLMs can the L40S run?

#ModelSpeedVision ScoreQuant · VRAM
1
Q4_K_M · 17.9 GB · 32.2 t/s
32.2 tok/sQ4_K_M · 17.9 GB
2
Q4_K_M · 17.9 GB · 32.2 t/s
32.2 tok/sQ4_K_M · 17.9 GB
3
Q4_K_M · 21.7 GB · 27.5 t/s
27.5 tok/sQ4_K_M · 21.7 GB
4
Q4_K_M · 16.5 GB · 153 t/s
153 tok/sQ4_K_M · 16.5 GB
5
Q4_K_M · 22.1 GB · 153 t/s
153 tok/sQ4_K_M · 22.1 GB
See all 368 models on the L40S →Best quant that fits · speeds estimated on this card

About the L40S

The L40S runs 27–31B and 35B MoE models well. Ada Lovelace generation, released 2023.

GenerationAda Lovelacereleased 2023

L40S strengths and weaknesses

Strengths

  • Runs 35B MoE models: Qwen3.6 35B A3B at 136 tok/s in 22 GB
  • Room for long context: Qwen3.8 27B at Q4 uses 17.9 GB, leaving 30.1 GB free
  • Reads long prompts fast: A 4K-token prompt on Qwen3.8 27B starts answering in 1.4 s

Weaknesses

  • 120B MoE models don't fit: GPT OSS 120B needs 70.8 GB at Q4 vs 48 GB here

L40S tokens per second by model size

Output speed depends on memory bandwidth (864 GB/s). Grey rows need more than 48 GB.

  1. 9BQwen3.5 9B · Q4_K_M · 6.6 GB
    88.3tok/s
  2. 14BQwen3 14B · Q4_K_M · 11.9 GB
    59.1tok/s
  3. 27–31BQwen3.8 27B · Q4_K_M · 17.9 GB
    32.2tok/s
  4. 35B MoEQwen3.6 35B A3B · Q4_K_M · 22.0 GB
    136tok/s
  5. 70BLlama 3.3 70B Instruct · IQ4_XS · 46.4 GB tight · IQ4_XS
    13.5tok/s
  6. 120B MoEGPT OSS 120B · not at 4-bit
    needs 70.8 GB

Estimated speeds: Q4_K_M, 4K context, one user. How we estimate

All 368 models on the L40S

Featured only

Best quant that fits, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works

LLM models compatible with NVIDIA L40S — ranked by Score, recency and Fit
ModelVRAMScoreFit
Qwen3.8 27B
Q4_K_M·32.2 t/s
17.9 GBA71, Runs well
Qwen3.6 35B A3B
Q4_K_M·135.9 t/s
22.0 GBS96, Runs great
Gemma 4 26B A4B IT
Q4_K_M·152.9 t/s
16.5 GBS97, Runs great
Q4_K_M·184.0 t/s
19.3 GBS99, Runs great
Muse Glimmer 30B
Q4_K_M·30.6 t/s
19.6 GBA71, Runs well
Gemma 4 31B IT
Q4_K_M·27.5 t/s
21.7 GBA68, Runs well
GLM 4.7 Flash
Q4_K_M·128.3 t/s
19.9 GBS95, Runs great
Flint
Q4_K_M·184.8 t/s
25.0 GBS99, Runs great
LFM2.5 24B A2B
Q4_K_M·203.8 t/s
15.0 GBS100, Runs great
MiniCPM V 4.7 35B A3B
Q4_K_M·152.5 t/s
22.1 GBS97, Runs great
Sage A1.5
Q4_K_M·135.9 t/s
22.0 GBS96, Runs great
JEV 27B VL
Q4_K_M·32.2 t/s
17.9 GBA71, Runs well
MiMo V2.6 Distill Qwen 9B
Q4_K_M·90.4 t/s
6.5 GBS90, Runs great
Qwen3.5 4B
Q4_K_M·172.3 t/s
3.4 GBS98, Runs great
Hy Memory 30B A3B
Q4_K_M·169.0 t/s
19.1 GBS98, Runs great

Rent NVIDIA L40S in the cloud

Hourly rate on demand for one L40S.

  • RunPod$5+ bonus creditLowest price

    from$0.79/hr

  • Vast.aiMarketplace

    from$0.80/hr

Cost per million tokens

Output-token cost on an L40S rented at $0.79/hr, one request at a time. Batch several users on the same card and the cost per token drops several-fold.

ModelSpeedPer 1M output
NVIDIA Nemotron 3.5 Lightning 30B A3B BF16184 tok/s$1.19$0.0064 input
Gemma 4 26B A4B IT153 tok/s$1.44$0.012 input
Qwen3.6 35B A3B136 tok/s$1.61$0.013 input
Qwen3.8 27B32 tok/s$6.82$0.075 input
Muse Glimmer 30B31 tok/s$7.17$0.080 input

L40S specs, power and PSU

Specs

Architecture
Ada Lovelace
VRAM
48 GB GDDR6
Memory bandwidth
864.0 GB/s
FP16 (dense)
362.05 TFLOPS
CUDA cores
18,176
Tensor cores
568
Compute capability
8.9
TDP
350 W
Released
2023-08-08

L40S FAQ

What is the largest model the L40S can run?

Qwen2.5 72B Instruct (72.7B) is the largest at 4-bit or better: at Q4_K_S it uses 46.6 GB of 48 GB, and runs at about 13.4 tok/s.

Can the L40S run Qwen3.8 27B?

Yes. Qwen3.8 27B fits at Q4_K_M, using 17.9 GB of 48 GB, and it is the best model that runs well on this card.

Can the L40S run 120B MoE models?

No. GPT OSS 120B needs 70.8 GB at Q4, more than the 48 GB on this card.

How many tokens per second does the L40S give?

About 32.2 tok/s on Qwen3.8 27B at Q4_K_M, with the first token after 1.4 s on a 4K-token prompt.

What power supply does the L40S need?

Plan a 700 W PSU (2× the 350 W TDP).

Is 48 GB enough for coding and agents?

Yes for coding: Qwen3.8 27B, the best of the 10 coding models that fit, runs at about 32 tok/s. For agents, not yet: no agent-scored model fits in less than 96 GB.