GPU comparison
A100 80GB vs A40.
The A100 80GB is ahead on memory (80 GB vs 48 GB) and speed (2.1x the FP16 throughput and up to 2.9x the memory bandwidth). The A40 makes sense when your model fits in 48 GB and its hourly price is lower.
Rent either on Runcrate
- A100 80GBCheaperfrom $1.73/hr
$0.022 per GB/hr$0.55 per 100 TFLOPS/hr
- A40from $2.66/hr
$0.055 per GB/hr$1.78 per 100 TFLOPS/hr
Live hourly price, then per GB of memory and per 100 FP16 TFLOPS.
Which is better for
Which to pick for each job. Memory fit and throughput, from the datasheets.
Hold a 70B model in 8-bit weights
70 GB of 8-bit weights
A100 80GB: 1 GPU, 10 GB spare
A40: 2 GPUs (96 GB)
A100 80GB. Fits on one GPU.
Serve an 8B model in 16-bit weights
16 GB of 16-bit weights
A100 80GB: 1 GPU, 64 GB spare
A40: 1 GPU, 32 GB spare
A100 80GB. Same GPU count, up to 2.9x the memory bandwidth.
Fine-tune a 70B model with QLoRA
About 46 GB with 4-bit weights
A100 80GB: 1 GPU, 34 GB spare
A40: 1 GPU, 2 GB spare
A100 80GB. Same GPU count, 2.1x the FP16 throughput.
Train on a full node
FP16 tensor throughput per node
A100 80GB: 8x, 2,496 TFLOPS
A40: 4x, 599 TFLOPS
A100 80GB. 8 GPUs per node, not 4.
Throughput per watt
FP16 TFLOPS per 100 W of TDP
A100 80GB: Varies by card
A40: 50 TFLOPS per 100 W
Either. Varies by card.
Compare another pair
Ampere
NVIDIA A100 80GB
- Memory
- 80 GB HBM2e
- FP16 tensor
- 312 TFLOPS
- Bandwidth
- up to 2.0 TB/s
Ampere
NVIDIA A40
- Memory
- 48 GB GDDR6
- FP16 tensor
- 149.7 TFLOPS
- Bandwidth
- 696 GB/s
At a glance
Spec by spec. The longer bar is the better number.
Full specs
The complete spec sheet.
| Spec | NVIDIA A100 80GB | NVIDIA A40 |
|---|---|---|
| Architecture | Ampere | Ampere |
| Memory | 80 GB | 48 GB |
| Memory type | HBM2e | GDDR6 |
| Memory bandwidth | up to 2.0 TB/s | 696 GB/s |
| FP32 | 19.5 TFLOPS | 37.4 TFLOPS |
| FP16 tensor | 312 TFLOPS | 149.7 TFLOPS |
| INT8 | 624 TOPS | 299 TOPS |
| TDP | up to 400 W | 300 W |
| GPUs per node | 8 | 4 |
| Hourly price (live) | from $1.73/hr | from $2.66/hr |
Questions
A100 80GB or A40. What buyers ask first.
Other comparisons