The L40 is newer, with 6x the memory and 4.5x the bandwidth, and is cheaper right now.

At a glance

Memory

6x more on L40

L40
48 GB
P4
8 GB

Memory bandwidth

4.5x higher on L40

L40
864 GB/s
P4
192 GB/s

Cheapest on-demand

30% cheaper on L40

L40
$0.46 /GPU/hr
P4
$0.65 /GPU/hr

Price comparison

Median price per GPU per hour by billing type, with the cheapest listing under it.

Billing L40 P4 Difference
On-demand $1.05 /GPU/hr from $0.46 -- /GPU/hr from $0.65
Reserved -- /GPU/hr from $0.70 -- /GPU/hr from $0.34 (36 mo)
Spot $0.78 /GPU/hr from $0.40 -- /GPU/hr from $0.11

Heads up: A provider's own page may quote a different figure, for example on tax, region or a promotion. A monthly-only plan shows a derived hourly rate. Medians are across providers, one vote each, so a large catalog does not outweigh a small one. No median for reserved on the L40 and on-demand, reserved and spot on the P4: we only show one when at least 3 providers list the GPU on that billing type. Verify before provisioning. More on how we price.

Price history

L40 vs P4 price history

Weekly median on-demand price per GPU per hour

Last 12 months
Aggregating historical prices...

Specs comparison

Spec L40 P4 Difference
Memory
Capacity 48 GB GDDR6 8 GB GDDR5 6x more on L40
Bandwidth 864 GB/s 192 GB/s 4.5x higher on L40
Bus width 384-bit 256-bit 50% wider on L40
Compute · dense
FP8 362 TFLOPS Not supported L40 only
FP16 / BF16 181.1 TFLOPS
INT8 362 TOPS 22 TOPS 16x higher on L40
FP32 90.5 TFLOPS 5.5 TFLOPS 16x higher on L40
Platform
Interconnect PCIe only PCIe only
Board power 300 W 75 W 4x higher on L40
Released Q4 2022 Q3 2016 6 years newer on L40
Precision
Supported formats FP8FP16BF16TF32FP32INT4INT8 FP16FP32INT8

Compute: Vendor peak figures, dense and per GPU. Not measured throughput.

Source: L40 datasheet and P4 datasheet.

Where to rent them

Providers that rent these GPUs, with each one's cheapest rate. No provider we track offers both right now.

13 providers list the L40 and 1 the P4. Every listing is on the L40 page and the P4 page.

Similar GPUs

Other comparisons in the same class.

Our data for Nvidia L40 was last updated on Sept. 14, 2026, and for Nvidia P4 on Sept. 14, 2026.