Compute Comparison
vs
All comparisons →

Ampere

NVIDIA A100 40GB

wins

3

The A100 40GB is the more affordable sibling of the A100 80GB.

ML trainingInferenceCost-effective HPC

Ampere

NVIDIA A40

wins

2

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

Large model inferenceProfessional renderingMulti-tenant AI

Performance comparison

Visual bars — winner highlighted

NVIDIA A100 40GB

Metric

NVIDIA A40

FP16 TFLOPS

312 T
150 T

Bandwidth

1.6k GB/s
696 GB/s

VRAM

402 GB
486 GB

TDP (lower=better)

400 W
300 W

TFLOPS/watt

0.78
0.50

GB/s per watt

3.89
2.32

Full specification table

SpecNVIDIA A100 40GBNVIDIA A40
ArchitectureAmpereAmpere
VRAM40 GB HBM2e48 GB GDDR6
VRAM typeHBM2eGDDR6
Memory bandwidth1,555 GB/s696 GB/s
FP16 TFLOPS312 TFLOPS150 TFLOPS
TDP400 W300 W
TFLOPS/watt0.78 T/W0.50 T/W
GB/s per watt3.89 GB/s/W2.32 GB/s/W
NVLinkYesNo
Release year20202020

Live cloud pricing

On-demand pricing across providers — updated in real time

Per hourPer GB VRAM/hr

NVIDIA A100 40GB

Paperspace
$7.90/hr
Replicate
$0.90/hr
E2E Networks
$1.98/hr
Northflank
$1.42/hr
Lightning AI
$2.19/hr
Guanxingyun
$3.58/hr
FluidStack
$5.60/hr
Sesterce
$1.10/hr

NVIDIA A40

No live pricing data available.

Power efficiency analysis

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

NVIDIA A100 40GB

FP16 TFLOPS312 TFLOPS
TDP400 W
TFLOPS/watt0.780 T/W
GB/s per watt3.89 GB/s/W

NVIDIA A40

FP16 TFLOPS150 TFLOPS
TDP300 W
TFLOPS/watt0.500 T/W
GB/s per watt2.32 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 A100 40GB

Best cloud price$0.29/hr
TFLOPS per $1075.9 T/$
GB/s per $5362 GB/s/$

NVIDIA A40

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

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 A100 40GBNVIDIA A40
7B LLM fine-tune8× GPU, 24 h$56—
70B LLM fine-tune64× GPU, 72 h$1.3k—
Inference server1× GPU, 730 h$212—
Image gen batch4× GPU, 8 h$9—

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 A100 40GB for:

  • ML training
  • Inference
  • Cost-effective HPC

Weaknesses / Limitations

  • 40 GB VRAM is a hard ceiling — cannot run models that require 80 GB
  • Lower bandwidth than A100 80GB (1,555 vs 2,039 GB/s)
  • Older Ampere architecture — lower TFLOPS than H100

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