Compute Comparison
vs
All comparisons →

Ampere

NVIDIA A40

wins

3

The NVIDIA A40 offers 48GB GDDR6 at a lower price point than the A100.

Large model inferenceProfessional renderingMulti-tenant AI

Ada Lovelace

NVIDIA RTX 4090

wins

2

The RTX 4090 is the most cost-effective consumer GPU for AI workloads. At $0.40–$0.80/hr on GPU clouds, it's ideal for fine-tuning and small-model inference.

Fine-tuningSmall model inferenceCost-effective compute

Performance comparison

Visual bars — winner highlighted

NVIDIA A40

Metric

NVIDIA RTX 4090

FP16 TFLOPS

150 T
165 T

Bandwidth

696 GB/s
1.0k GB/s

VRAM

486 GB
246 GB

TDP (lower=better)

300 W
450 W

TFLOPS/watt

0.50
0.37

GB/s per watt

2.32
2.24

Full specification table

SpecNVIDIA A40NVIDIA RTX 4090
ArchitectureAmpereAda Lovelace
VRAM48 GB GDDR624 GB GDDR6X
VRAM typeGDDR6GDDR6X
Memory bandwidth696 GB/s1,008 GB/s
FP16 TFLOPS150 TFLOPS165 TFLOPS
TDP300 W450 W
TFLOPS/watt0.50 T/W0.37 T/W
GB/s per watt2.32 GB/s/W2.24 GB/s/W
NVLinkNoNo
Release year20202022

Live cloud pricing

On-demand pricing across providers — updated in real time

Per hourPer GB VRAM/hr

NVIDIA A40

No live pricing data available.

NVIDIA RTX 4090

Paperspace
$3.89/hr
SwissGPU
$0.45/hr
Cloudzy
$0.69/hr
TheAI Cloud
$0.44/hr
HIGHRESO
$0.49/hr
HyperAI
$0.41/hr
Atlantic.net
$0.55/hr
AIEEV
$0.38/hr

Salad: Lowest priority tier — preemptible

Power efficiency analysis

TFLOPS/watt and GB/s/watt — critical for data center TCO

NVIDIA A40

FP16 TFLOPS150 TFLOPS
TDP300 W
TFLOPS/watt0.500 T/W
GB/s per watt2.32 GB/s/W

NVIDIA RTX 4090

FP16 TFLOPS165 TFLOPS
TDP450 W
TFLOPS/watt0.367 T/W
GB/s per watt2.24 GB/s/W

TFLOPS/watt measures compute efficiency — how much AI throughput you get per watt of power consumed. For data centers with PUE of 1.2–1.5, a 10% improvement in TFLOPS/watt translates directly to lower electricity costs and cooling requirements. GB/s/watt measures memory bandwidth efficiency, which is the binding constraint for memory-bound LLM inference workloads.

Performance-per-dollar

TFLOPS/$ and GB/s/$ at current best cloud prices

NVIDIA A40

Best cloud priceN/A
TFLOPS per $—
GB/s per $—

NVIDIA RTX 4090

Best cloud price$0.16/hr
TFLOPS per $1031.3 T/$
GB/s per $6300 GB/s/$

TFLOPS/$ = FP16 TFLOPS ÷ best on-demand $/hr. Higher is better — more compute per dollar. GB/s/$ = memory bandwidth ÷ best on-demand $/hr. For memory-bound inference workloads (most LLM serving), GB/s/$ is often a better predictor of cost-efficiency than TFLOPS/$. Prices are live from the Compute Comparison API and update in real time.

Workload Cost Comparison

Total job cost = best on-demand $/hr × GPU count × hours

WorkloadScaleNVIDIA A40NVIDIA RTX 4090
7B LLM fine-tune8× GPU, 24 h—$31
70B LLM fine-tune64× GPU, 72 h—$737
Inference server1× GPU, 730 h—$117
Image gen batch4× GPU, 8 h—$5

Based on current best on-demand prices. Spot pricing typically 40–70% lower. Actual cost depends on provider, region, and availability.

When to choose each GPU

Choose NVIDIA A40 for:

  • Large model inference
  • Professional rendering
  • Multi-tenant AI

Weaknesses / Limitations

  • Older Ampere architecture — lower FP16 TFLOPS than L40S at same VRAM
  • GDDR6 bandwidth (696 GB/s) lower than HBM-based GPUs
  • No NVLink on A40

Choose NVIDIA RTX 4090 for:

  • Fine-tuning
  • Small model inference
  • Cost-effective compute

Weaknesses / Limitations

  • 24 GB VRAM limits models to ~34B at INT4 — cannot run 70B+ unquantized
  • No NVLink — cannot pool VRAM across cards
  • Consumer GPU — no ECC memory, lower reliability for 24/7 production