NVIDIA T4g instance prices: AWS vs Azure

6 instance types have NVIDIA T4g GPUs, all on AWS EC2. Per GPU, the cheapest is g5g.xlarge on AWS at $0.42 per GPU-hour on demand (1 GPU, $0.42 per hour).

Every NVIDIA T4g option, cheapest first

CloudTypevCPUsMemory (GiB)GPUsPer GPU /hrOn-demand /hr1-yr reserved /hrSpot /hr
AWSg5g.xlarge481$0.42$0.42$0.2646$0.1136
AWSg5g.2xlarge8161$0.556$0.556$0.3503$0.2064
AWSg5g.4xlarge16321$0.828$0.828$0.5216$0.2637
AWSg5g.8xlarge32641$1.372$1.372$0.8644$0.5706
AWSg5g.16xlarge641282$1.372$2.744$1.729$0.6346
AWSg5g.metal641282$1.372$2.744$1.729$0.4134

Other GPUs

On-demand Linux prices in USD per hour, in each cloud's home region: US East (N. Virginia) for AWS, East US for Azure. Previous-generation types are left out.