Skip to main content

Amazon EC2 Capacity Blocks for ML pricing

Why Amazon EC2 Capacity Blocks for ML?

With Amazon EC2 Capacity Blocks for ML, you can reserve just the amount of accelerator capacity you need to run your machine learning workloads. EC2 Capacity Blocks pricing consists of a reservation fee and an operating system fee. Prices and examples of these fees are provided below. Learn more about EC2 Capacity Blocks.

Pricing tables

The reservation fee is charged up front at the time you schedule the reservation. Reservation prices are updated regularly based on trends in supply and demand for EC2 Capacity Blocks. The current prices are scheduled to be updated in September, 2025. Your Capacity Block is charged at the prevailing rate at the time of purchase, even if the Capacity Block is scheduled to start after the price is updated. The current reservation rates for accelerated instances are shown in the table below.  Detailed specifications for these instances can be found here.

P6e Pricing

UltraServer Type
Region
Effective Hourly Rate PER ULTRASERVER (PER ACCELERATOR)
ACCELERATOR
u-p6e-gb200x72

Dallas Local Zone

(US East N. Virginia)

$761.904 ($10.582 USD)

72 x B200

u-p6e-gb200x36

Dallas Local Zone

(US East N. Virginia)

$380.952 ($10.582 USD)

36 x B200

If we detect impairment impacting an ultraserver capacity block, we
will notify you but generally will not take action to terminate your
instances on the capacity block. This is to minimize unintended
disruption to your workloads. You can continue using the ultraserver
capacity block as is after receiving this notification or request
remediation by terminating all instances on the capacity block and
submitting an AWS support case. After we receive your support case, we
will notify you when we have completed remediation and you can relaunch
instances onto your ultraserver capacity block.

P6 Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
p6-b200.48xlarge

US East (Ohio)

$65.12 USD ($8.14 USD)

8 x B200

p6-b200.48xlarge

US East (N. Virginia)

$65.12 USD ($8.14 USD)

8 x B200

p6-b200.48xlarge

US West (Oregon)

$65.12 USD ($8.14 USD)

8 x B200

P5 Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
p5.48xlarge

US East (N. Virginia)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

US East (Ohio)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

US West (Oregon)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

US West (N. California)

$39.33 USD ($4.916 USD)

8 x H100

p5.48xlarge

Asia Pacific (Tokyo)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

Asia Pacific (Jakarta)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

Asia Pacific (Mumbai)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

Australia (Sydney)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

Europe (London)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

Europe (Stockholm)

$31.464 USD ($3.933 USD)

8 x H100

p5.48xlarge

South America (Sao Paulo)

$31.464 USD ($3.933 USD)

8 x H100

p5.4xlarge

US East (N. Virginia)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

US East (Ohio)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

US West (Oregon)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

Asia Pacific (Tokyo)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

Asia Pacific (Mumbai)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

Australia (Sydney)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

Europe (London)

$3.933 USD ($3.933 USD)

1 x H100

p5.4xlarge

South America (Sao Paulo)

$3.933 USD ($3.933 USD)

1 x H100

P5e Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
p5e.48xlarge

US East (Ohio)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

US East (N. Virginia)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

US West (N. California)

$43.26 USD ($5.407USD)

8 x H200

p5e.48xlarge

US West (Oregon)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Europe (Stockholm)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Europe (London)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Australia (Sydney)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Asia Pacific (Jakarta)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Asia Pacific (Mumbai)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

Asia Pacific (Tokyo)

$34.608 USD ($4.326 USD)

8 x H200

p5e.48xlarge

South America (Sao Paulo)

$34.608 USD ($4.326 USD)

8 x H200

P5en Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
p5en.48xlarge

US East (Ohio)

$36.184 USD ($4.523 USD)

8 x H200

 

p5en.48xlarge

US East (N. Virginia)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

US West (N. California)

$45.23 USD ($5.654 USD)

8 x H200

p5en.48xlarge

US West (Oregon)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Europe (Stockholm)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Europe (London)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Europe (Spain)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Asia Pacific (Jakarta)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Asia Pacific (Mumbai)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Asia Pacific (Tokyo)

$36.184 USD ($4.523 USD)

8 x H200

p5en.48xlarge

Asia Pacific (Seoul)

$36.184 USD ($4.523 USD)

8 x H200

P4 Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
p4d.24xlarge
US East (N. Virginia)

 

$11.8 USD ($1.475 USD)

8 x A100

p4d.24xlarge

US East (Ohio)

$11.8 USD ($1.475 USD)

8 x A100

p4d.24xlarge

US West (Oregon)

$11.8 USD ($1.475 USD)

8 x A100

p4de.24xlarge

US West (Oregon)

$14.7663 USD ($1.845 USD)

8 x A100

p4de.24xlarge

US East (N. Virginia)

$14.7663 USD ($1.845 USD)

8 x A100

Trn1 and Trn2 Pricing

Instance Type
Region
Effective Hourly Rate PER INSTANCE (PER ACCELERATOR)
ACCELERATOR
trn1.32xlarge

US East (N. Virginia)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge

US East (Ohio)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge

US West (Oregon)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge

Asia Pacific (Mumbai)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge

Australia (Melbourne)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge
Australia (Sydney)

 

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn1.32xlarge

Europe (Stockholm)

$9.532 USD ($0.596 USD)

16 x AWS Trainium

trn2.48xlarge

US East (Ohio)

$35.7608 USD ($2.235 USD)

 

16 x AWS Trainium2

OS Pricing

When you use an EC2 Capacity Block, you pay for the operating system you use when your instances are running. Linux, Ubuntu Pro, Red Hat Enterprise Linux (RHEL), and RHEL with HA operating system prices are billed at per-second granularity. SUSE Linux Enterprise Server (SLES) is billed at a flat, hourly rate (minimum one-hour billing). The pricing below shows the hourly rate you pay by the operating system you use for your instance.

Notice: Red Hat has made an update to their cloud pricing model for Red Hat Enterprise Linux (RHEL). On July 1, 2024 pricing for EC2 RHEL changed to a per-vCPU-hour based pricing model. Learn about the new prices in the RHEL on AWS Pricing page.

OS pricing across Instance Types

Instance Size
Linux
Red Hat Enterprise Linux (RHEL)
RHEL with HA
SLES
Ubuntu Pro
p6-b200.48xlarge

@0.000 USD

$1,8432 USD

$3,8592 USD

$0.125 USD

$0.336 USD

p5.48xlarge
$0.000 USD
$1.8432 USD
$3.8592 USD
$0.125 USD
$0.336 USD
p5e.48xlarge

$0.000 USD

$1.8432 USD

$3.8592 USD

$0.125 USD

$0.336 USD

p5en.48xlarge
$0.000 USD
$1.8432 USD
$3.8592 USD
$0.125 USD
$0.336 USD
p4d.24xlarge
$0.000 USD
$1.0368 USD
$2.3808 USD
$0.125 USD
$0.168 USD
trn1.32xlarge
$0.000 USD
$1.2288 USD
$2.5728 USD
$0.125 USD
$0.224 USD
trn2.48xlarge
$0.000 USD
$1.8432 USD
N/A
$0.125 USD
$0.336 USD

Pricing Example 1

On March 20, 2025 you purchase an EC2 Capacity Block for four p5.48xlarge instances in the US East (Ohio) region with a start date of March 29, 2025 and an end date of March 31, 2025 (reservation duration of 48 hours). At the time of purchase, the effective instance hourly rate for p5.48xlarge instances in the US East (Ohio) region is $31.464 USD. When your EC2 Capacity Block reservation begins, you launch all four instances into the reservation using the Red Hat Enterprise Linux operating system at the reservation start time. You run your instances continuously and terminate them one hour before your reservation expiration time. The total price you pay is calculated as follows: 

RESERVATION UPFRONT CHARGE

  • Instance-hours reserved: 192 instance-hours
  • Reservation price at time of purchase: $31.464 USD / instance-hour
  • Charge for reservation: $6,041.088 USD

OPERATING SYSTEM CHARGE

  • Instance-hours used: 188 instance-hours
  • Operating system price: $1.8432 USD / instance-hour
  • Charge for operating system usage: $346.52 USD  

Total charges: $6,387.608 USD