Nvidia logo

L4 vs L40

The L4 provides 242 TFLOPS at 72W in single slot, while the L40 offers 181 TFLOPS at 300W in dual slot. Choose L4 for efficiency, L40 for graphics workloads.

Overview

Nvidia logo Nvidia L4 Nvidia logo Nvidia L40
Summary Low-power inference accelerator for cost-sensitive cloud deployments. Data center GPU for combined AI inference and visualization.
Architecture Ada Lovelace Ada Lovelace
Memory 24GB GDDR6 48GB GDDR6
Memory Bandwidth 300 GB/s 864 GB/s
Performance 242 TFLOPS (FP16) 181 TFLOPS (FP16)
Release Date Q1 2023 Q4 2022
Performance Segment Mid-Range High Performance
Datasheet Link Link

Price comparison

Nvidia L4 logo L4 Pricing

Barriers to entry are low here. 15 cloud providers list the L4 with prices starting at just $0.14/hr per GPU (spot instance), making it accessible for testing without a large commitment.

Default ranking

Our algorithm weighs five factors to find the most relevant matches for you:

  1. Price: We blend total hourly price with price-per-GPU to balance affordability and value.
  2. Specs: We favor offers with higher CPU, RAM, and GPU Memory.
  3. Billing: We favor on-demand billing for simplicity and flexibility over spot instances, reservations, and custom quotes.
  4. Location: We blend both datacenter proximity and provider HQ location. Datacenter location matters for latency, while HQ location matters for compliance and support.
  5. Provider diversity: Each time a provider appears in the list, their subsequent offerings are ranked a little lower, so one provider's offerings don't crowd out the top positions.

Sorting and filtering

Click "View all offerings" to access the full list with sortable columns and filters for billing type, GPU count, vCPUs, and RAM.

Transparency and funding

Ads and sponsors: Any paid placements are fixed at the top and clearly labeled as sponsored content.

Affiliates: Any affiliate links will be indicated to you as well. We may earn a commission if you click them, but this never influences the ranking order.

Provider GPUs Billing Total/h
Google Cloud logo Google Cloud 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.71 View
Amazon Web Services logo AWS 1x On-Demand Pay-as-you-go pricing. No term commitments. $2.30 View
Google Cloud logo Google Cloud 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.86 View
UpCloud logo UpCloud 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.67 View
Koyeb logo Koyeb 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.70 View
Leaseweb logo Leaseweb 1x On-Demand Memory-optimized. $0.85 View
Runpod logo Runpod 2x On-Demand Pay-as-you-go pricing. No term commitments. $0.78 View
OVHcloud logo OVH 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.00 View
Sesterce logo Sesterce 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.04 View
Amazon Web Services logo AWS 1x On-Demand Pay-as-you-go pricing. No term commitments. $2.56 View
Google Cloud logo Google Cloud 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.01 View
UpCloud logo UpCloud 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.81 View
Leaseweb logo Leaseweb 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.70 View
Hexabyte logo Hexabyte 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.51 View
No offerings matching your filters.

Nvidia L40 logo L40 Pricing

Listings for the L40 reach $1.64/hr, often reflecting a premium for high availability. However, you might be able to find available instances from as low as $0.27/hr per GPU (spot instance).

Default ranking

Our algorithm weighs five factors to find the most relevant matches for you:

  1. Price: We blend total hourly price with price-per-GPU to balance affordability and value.
  2. Specs: We favor offers with higher CPU, RAM, and GPU Memory.
  3. Billing: We favor on-demand billing for simplicity and flexibility over spot instances, reservations, and custom quotes.
  4. Location: We blend both datacenter proximity and provider HQ location. Datacenter location matters for latency, while HQ location matters for compliance and support.
  5. Provider diversity: Each time a provider appears in the list, their subsequent offerings are ranked a little lower, so one provider's offerings don't crowd out the top positions.

Sorting and filtering

Click "View all offerings" to access the full list with sortable columns and filters for billing type, GPU count, vCPUs, and RAM.

Transparency and funding

Ads and sponsors: Any paid placements are fixed at the top and clearly labeled as sponsored content.

Affiliates: Any affiliate links will be indicated to you as well. We may earn a commission if you click them, but this never influences the ranking order.

Provider GPUs Billing Total/h
Thunder Compute logo Thunder Compute 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.89 View
Runpod logo Runpod 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.82 View
Together logo Together 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.49 View
Sesterce logo Sesterce 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.97 View
Hyperstack logo Hyperstack 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.00 View
Runpod logo Runpod 2x On-Demand Pay-as-you-go pricing. No term commitments. $1.38 View
Oblivus logo Oblivus 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.05 View
Thunder Compute logo Thunder Compute 2x On-Demand Pay-as-you-go pricing. No term commitments. $1.78 View
Sesterce logo Sesterce 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.10 View
Vast.ai logo Vast.ai 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.47 View
Runpod logo Runpod 2x On-Demand Pay-as-you-go pricing. No term commitments. $1.64 View
Thunder Compute logo Thunder Compute 1x On-Demand Pay-as-you-go pricing. No term commitments. $1.39 View
Massed Compute logo Massed Compute 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.86 View
Runcrate logo Runcrate 1x On-Demand Pay-as-you-go pricing. No term commitments. $0.97 View
No offerings matching your filters.

Heads up: We do our best to keep these specs & prices accurate. However, cloud costs may fluctuate based on region, usage, and other factors not listed here. These are estimates based on common setups and are for informational purposes only. Always verify current rates & exact specs with the provider before provisioning.

Alternative GPUs

Here's how these GPUs compare against alternatives:

View all GPUs

Our data for Nvidia L4 was last updated on March 25, 2026, and for Nvidia L40 on March 25, 2026.