Can I Run Yi 1.5 Family on NVIDIA L40S?

Written by Jakub Rusinowski · Last updated July 21, 2026

Yes, comfortably — Yi 1.5 34B Chat at Q4_K_M needs 23.6 GB at 8K context (20.8 GB weights + 2.8 GB KV cache/overhead), leaving ~24.4 GB of the NVIDIA L40S's 48 GB, at ~34 tok/s (est.), with room for up to 16K context.

See what else this hardware can run →

Buy this hardware NVIDIA L40S 48GB — 48 GB VRAM · 350 W board powerDeploy in the cloud now NVIDIA L40S on RunPod — from $0.86/hr · rate checked 2026-08

or compare on Vast.ai

As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.

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

Yi 1.5 34B Chat on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1671.6 GB✗ No——
Q8_039.4 GB✓ Yes16K—
Q6_K31 GB✓ Yes16K—
Q5_K_M27.2 GB✓ Yes16K—
Q4_K_M23.6 GB✓ Yes16K—
Q3_K_M17.5 GB✓ Yes16K—
Q2_K14.1 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.

Newer alternative. 01.AI has not released a newer model in this library. If you are choosing today, Qwen 3 is a comparable current option. Can I run Qwen 3 on NVIDIA L40S? →

Context costs VRAM too. At Q4_K_M on the NVIDIA L40S: 8K 23.6 GB · 31K 29.4 GB. Every window this model publishes still fits 48 GB.

No compatible GPU? Yi 1.5 34B Chat on 32 GB of system RAM, CPU only: runs comfortably.

Yi 1.5 Family Sizes That Fit the NVIDIA L40S (at 8K context)

Yi 1.5 34B ChatQ4_K_M · 23.6 GB at 8K context · ~34 tok/s (est.)
Yi 1.5 9B ChatQ4_K_M · 6.9 GB at 8K context · ~106 tok/s (est.)
Buy vs. rent Yi 1.5 Family
Buy the GPU
~$7,499
NVIDIA L40S · MSRP
Rent by the hour
from $0.34/hr
RTX 4090 (24 GB) class

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

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

RunPod $0.34/hr
Rent on RunPod →
Vast.ai $0.35/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.

FAQ

Will Yi 1.5 Family run on the NVIDIA L40S?

Yes, comfortably — Yi 1.5 34B Chat at Q4_K_M needs 23.6 GB at 8K context (20.8 GB weights + 2.8 GB KV cache/overhead), leaving ~24.4 GB of the NVIDIA L40S's 48 GB, at ~34 tok/s (est.), with room for up to 16K context.

Which Yi 1.5 Family variant fits best on the NVIDIA L40S?

Yi 1.5 34B Chat at Q4_K_M quantization needs 23.6 GB at 8K context (20.8 GB weights + 2.8 GB KV cache/overhead), estimated ~34 tokens/sec, up to 16K context.

Every Yi 1.5 Family size on the NVIDIA L40S

SizeVRAM at 8KVerdictSpeed
Yi 1.5 34B Chat23.6 GBRuns~34 tok/s
Yi 1.5 9B Chat6.9 GBRuns~106 tok/s

Yi 1.5 Family on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

← Can I Run It? | Yi 1.5 Family Model Page | NVIDIA L40S GPU Page | VRAM calculator | Check Your Hardware