RTX 4090 (24GB) vs L40S (48GB): Which is better for self-hosting LLMs?
⚡ Quick Answer
Pick RTX 4090 (24GB, from $0.34/hr, 1,008 GB/s) for 7B–14B models or single-user 24B–27B Q4 serving—it has 17% higher memory bandwidth and costs 40%–50% less per hour. Pick L40S (48GB, from $0.59/hr, 864 GB/s) for 27B–32B models with long context/concurrency, or 70B Q4 across 2x L40S (96GB) in Tier 3/4 datacenters.
| GPU | Provider | Per-GPU Hourly | 24/7 Monthly (1x) | Action |
|---|---|---|---|---|
| NVIDIA RTX 4090 (24 GB) | Vast.ai | $0.34/hr | $248.1/mo | Deploy → |
| NVIDIA RTX 4090 (24 GB) | RunPod Community | $0.39/hr | $284.5/mo | Deploy (+ Bonus) → |
| NVIDIA RTX 4090 (24 GB) | RunPod Secure | $0.69/hr | $503.4/mo | Deploy (+ Bonus) → |
| NVIDIA L40S (48 GB) | Vast.ai | $0.59/hr | $430.5/mo | Deploy → |
| NVIDIA L40S (48 GB) | RunPod Secure | $1.09/hr | $795.3/mo | Deploy (+ Bonus) → |
| NVIDIA L40S (48 GB) | DigitalOcean | $1.29/hr | $941.2/mo | Deploy → |
| NVIDIA L40S (48 GB) | Vultr | $1.45/hr | $1,058/mo | Deploy → |
| NVIDIA L40S (48 GB) | Nebius | $1.55/hr | $1,131/mo | Deploy → |
| NVIDIA L40S (48 GB) | CoreWeave 8x node min | $2.25/hr | $1,642/mo | Deploy → |