A40 vs L4

Open Advisor →

Side-by-side GPU comparison: specs, memory, compute performance, and live cloud pricing.

Verdict

A40 has 24 GB more VRAM, making it better suited for large models and long context windows. For compute-bound workloads like training, A40 delivers 1.2× higher FP16 throughput. A40 supports a broader range of models (624 vs 566 from this catalog), giving more flexibility.

Specifications

A40L4
VRAM48 GB24 GB
VRAM TypeGDDR6GDDR6
Memory Bandwidth0.7 TB/s0.3 TB/s
FP16 Performance150 TFLOPS121 TFLOPS
ManufacturerNVIDIANVIDIA
FP8 SupportNoYes
FP4 SupportNoNo

Price / Performance

Based on cheapest single-GPU on-demand pricing. Lower $/TFLOP = better compute value; lower $/GB = better memory value.

A40L4
$/hr (cheapest)$0.44$0.39✓ best
$/TFLOP (compute value)$0.0029✓ best$0.0032
$/GB VRAM (memory value)$0.0092✓ best$0.0163

Cloud Pricing

Cheapest on-demand price per provider (single GPU).

A40

ProviderOn-demandSpotRent
RunPod$0.44/hr$0.20/hrRent

L4

ProviderOn-demandSpotRent
RunPod$0.39/hr$0.22/hrRent
Google Cloud$0.56/hr$0.16/hr
Amazon Web Services$0.80/hr$0.13/hr

Model Compatibility

Models from the catalog that fit on each GPU, grouped by required precision.

A40 (624 models)

L4 (566 models)

You might also compare…

Pricing data refreshed hourly · Last updated April 11, 2026 · Browse all comparisons