GPU comparison
RTX 5090 vs A40.
Pick the A40 for memory: 48 GB vs 32 GB. A QLoRA fine-tune of a 70B model (about 46 GB) fits on one A40, not on one RTX 5090. The RTX 5090 has 2.6x the memory bandwidth. For models under 32 GB pick by price.
Rent either on Runcrate
- RTX 5090Cheaperfrom $0.72/hr per GPU
on an 8-GPU machine
$0.022 per GB/hr
- A40from $2.66/hr
$0.055 per GB/hr
Live hourly price, then per GB of memory.
Which is better for
Which to pick for each job. Memory fit, from the datasheets.
Hold a 70B model in 8-bit weights
70 GB of 8-bit weights
RTX 5090: 3 GPUs, more than one 2x node
A40: 2 GPUs (96 GB)
A40. Fits in one node (2 GPUs).
Serve an 8B model in 16-bit weights
16 GB of 16-bit weights
RTX 5090: 1 GPU, 16 GB spare
A40: 1 GPU, 32 GB spare
RTX 5090. Same GPU count, 2.6x the memory bandwidth.
Fine-tune a 70B model with QLoRA
About 46 GB with 4-bit weights
RTX 5090: 2 GPUs (64 GB)
A40: 1 GPU, 2 GB spare
A40. Fits on one GPU.
Compare another pair
Blackwell
NVIDIA RTX 5090
on an 8-GPU machine
- Memory
- 32 GB GDDR7
- Bandwidth
- 1.8 TB/s
Ampere
NVIDIA A40
- Memory
- 48 GB GDDR6
- 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 RTX 5090 | NVIDIA A40 |
|---|---|---|
| Architecture | Blackwell | Ampere |
| Memory | 32 GB | 48 GB |
| Memory type | GDDR7 | GDDR6 |
| Memory bandwidth | 1.8 TB/s | 696 GB/s |
| FP32 | 104.8 TFLOPS | 37.4 TFLOPS |
| FP16 | 209.5 TFLOPS, non-tensor | 149.7 TFLOPS, tensor |
| INT8 | 838 TOPS | 299 TOPS |
| TDP | 575 W | 300 W |
| Form factor | Consumer | PCIe |
| NVLink | No | No |
| GPUs per node | 2 | 4 |
| Hourly price (live) | from $0.72/hr per GPU on an 8-GPU machine | from $2.66/hr |
Questions
RTX 5090 or A40. What buyers ask first.
NVIDIA RTX 5090 vs NVIDIA A40: which is better for AI?
What's the price difference between NVIDIA RTX 5090 and NVIDIA A40?
Can I deploy NVIDIA RTX 5090 or NVIDIA A40 on Runcrate today?
How much VRAM does each GPU have?
RTX 5090 or A40: which holds a 70B model in 8-bit weights?
Other comparisons