Azure Machine Learning pricing

Enterprise-grade machine learning service to build and deploy models faster

Empower developers and data scientists with a wide range of productive experiences for building, training, and deploying machine learning models faster. Accelerate time to market and foster team collaboration with industry-leading MLOps—DevOps for machine learning. Innovate on a secure, trusted platform, designed for responsible AI.

Pricing Tiers

Azure Machine Learning offers two editions that are tailored for your machine learning needs – Enterprise and Basic, making it easy for developers and data scientists to accelerate the end to end machine learning lifecycle. The Basic edition is available in general availability (GA). The Enterprise edition is currently in preview and there will be no ML surcharge during this time. Customers will still be responsible for costs incurred on Azure resources on both and Basic and Enterprise workspaces (even while it is in preview). Please refer to the Virtual Machines pricing page for compute prices.

The Basic edition has no ML surcharge on Azure resources for training or inferencing. When the Enterprise edition becomes generally available, it will have a machine learning surcharge (for training and inferencing), which can be found against the pricing below.

Azure Machine Learning editions

Features Basic Enterprise
For open source development at cloud scale with a code-first experience. Basic + UI capabilities + secure and comprehensive machine learning lifecycle management for all skill levels.
Automated machine learning
Create and run experiments in notebooks Available Available
Create and run experiments in studio web experience Not available Available
Industry leading forecasting capabilities Not available Available
Support for deep learning and other advanced learners Not available Available
Large data support (up to 100GB) Not available Available
Interpretability in UI Not available Available
Machine Learning Pipelines
Create, run, and publish pipelines using the Azure ML SDK Available Available
Create pipeline endpoints using the Azure ML SDK Available Available
Create, edit, and delete scheduled runs of pipelines using the Azure ML SDK Available Available
Create and publish custom modules using the Azure ML SDK Available Available
View pipeline run details in studio Available Available
Create, run, visualize, and publish pipelines in Azure ML designer Not available Available
Create pipeline endpoints in Azure ML designer Not available Available
Create, edit, and delete scheduled runs of pipelines in Azure ML designer Not available Available
Create and publish custom modules in Azure ML designer Not available Available
Integrated notebooks
Workspace notebook and file sharing Available Available
R and Python support Available Available
Notebook collaboration Available Available
Compute instance
Managed compute Instances for integrated Notebooks Available Available
Sharing of compute instances Available Available
Collaborative debugging of models Available Available
Jupyter, JupyterLab, Visual Studio Code Available Available
Virtual Network (VNet) support for deployment Available Available
SDK Support
R and Python SDK support Available Available
Security
Role Based Access Control (RBAC) support Available Available
Virtual Network (VNet) support for training Available Available
Virtual Network (VNet) support for inference Available Available
Scoring endpoint authentication Available Available
Compute
Cross workspace capacity sharing and quotas Not available Available
Data for machine learning
Create, view or edit datasets and datastores from the SDK Available Available
Create, view or edit datasets and datastores from the UI Available Available
View, edit, or delete dataset drift monitors from the SDK Available Available
View, edit, or delete dataset drift monitors from the UI Not available Available
MLOps
Create ML pipelines in SDK Available Available
Batch inferencing Available Available
Model profiling Available Available
Interpretability in UI Not available Available

Pricing details

The table below explains the ML surcharge for a broad category of VM’s. For details please select the region and other information below to see all available VM’s and associated pricing.

Edition CPU (General purpose, compute optimized, memory optimized, storage optimized) GPU
Basic No ML surcharge, VM pricing only for training and inferencing No ML surcharge, VM pricing only for training and inferencing
Enterprise $- per core hour ML surcharge From $-+ onwards per core ML surcharge

General purpose

For websites, small-to-medium databases, and other everyday applications

Bs-series

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
B1S 1 1 GiB $- $- $- $- $- $- $- $- $-
B2S 2 4 GiB $- $- $- $- $- $- $- $- $-
B1LS 1 0.5 GiB $- $- $- $- $- $- $- $- $-
B1MS 1 2 GiB $- $- $- $- $- $- $- $- $-
B2MS 2 8 GiB $- $- $- $- $- $- $- $- $-
B4MS 4 16 GiB $- $- $- $- $- $- $- $- $-
B8MS 8 32 GiB $- $- $- $- $- $- $- $- $-
B12MS 12 48 GiB $- $- $- $- $- $- $- $- $-
B16MS 16 64 GiB $- $- $- $- $- $- $- $- $-
B20MS 20 80 GiB $- $- $- $- $- $- $- $- $-

Av2 Standard

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
A1 v2 1 2 GiB $- $- $- $- $- – – Blank – – Blank
A2 v2 2 4 GiB $- $- $- $- $- – – Blank – – Blank
A4 v2 4 8 GiB $- $- $- $- $- – – Blank – – Blank
A8 v2 8 16 GiB $- $- $- $- $- – – Blank – – Blank
A2m v2 2 16 GiB $- $- $- $- $- – – Blank – – Blank
A4m v2 4 32 GiB $- $- $- $- $- – – Blank – – Blank
A8m v2 8 64 GiB $- $- $- $- $- – – Blank – – Blank

Reserved Virtual Machine Instances are currently not available for the Av2-series.

D2-64 v3 latest generation

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
D2 v3 2 8 GiB $- $- $- $- $- $- $- $- $-
D4 v3 4 16 GiB $- $- $- $- $- $- $- $- $-
D8 v3 8 32 GiB $- $- $- $- $- $- $- $- $-
D16 v3 16 64 GiB $- $- $- $- $- $- $- $- $-
D32 v3 32 128 GiB $- $- $- $- $- $- $- $- $-
D48 v3 48 192 GiB $- $- $- $- $- $- $- $- $-
D64 v3 64 256 GiB $- $- $- $- $- $- $- $- $-

D2s-64s v3 latest generation

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
D2s v3 2 8 GiB $- $- $- $- $- $- $- $- $-
D4s v3 4 16 GiB $- $- $- $- $- $- $- $- $-
D8s v3 8 32 GiB $- $- $- $- $- $- $- $- $-
D16s v3 16 64 GiB $- $- $- $- $- $- $- $- $-
D32s v3 32 128 GiB $- $- $- $- $- $- $- $- $-
D48s v3 48 192 GiB $- $- $- $- $- $- $- $- $-
D64s v3 64 256 GiB $- $- $- $- $- $- $- $- $-

D1-5 v2

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
D1 v2 1 3.5 GiB $- $- $- $- $- $- $- $- $-
D2 v2 2 7 GiB $- $- $- $- $- $- $- $- $-
D3 v2 4 14 GiB $- $- $- $- $- $- $- $- $-
D4 v2 8 28 GiB $- $- $- $- $- $- $- $- $-
D5 v2 16 56 GiB $- $- $- $- $- $- $- $- $-

DS1-S5 v2

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
DS1 v2 1 3.5 GiB $- $- $- $- $- $- $- $- $-
DS2 v2 2 7 GiB $- $- $- $- $- $- $- $- $-
DS3 v2 4 14 GiB $- $- $- $- $- $- $- $- $-
DS4 v2 8 28 GiB $- $- $- $- $- $- $- $- $-
DS5 v2 16 56 GiB $- $- $- $- $- $- $- $- $-

Compute optimized

High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers.

Fsv2-series

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
F2s v2 2 4 GiB $- $- $- $- $- $- $- $- $-
F4s v2 4 8 GiB $- $- $- $- $- $- $- $- $-
F8s v2 8 16 GiB $- $- $- $- $- $- $- $- $-
F16s v2 16 32 GiB $- $- $- $- $- $- $- $- $-
F32s v2 32 64 GiB $- $- $- $- $- $- $- $- $-
F48s v2 48 96 GiB $- $- $- $- $- $- $- $- $-
F64s v2 64 128 GiB $- $- $- $- $- $- $- $- $-
F72s v2 72 144 GiB $- $- $- $- $- $- $- $- $-

F-series

Instance Core RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
F1 1 2 GiB $- $- $- $- $- $- $- $- $-
F2 2 4 GiB $- $- $- $- $- $- $- $- $-
F4 4 8 GiB $- $- $- $- $- $- $- $- $-
F8 8 16 GiB $- $- $- $- $- $- $- $- $-
F16 16 32 GiB $- $- $- $- $- $- $- $- $-

Memory optimized

High memory-to-core ratio. Great for relational database servers, medium to large caches, and in-memory analytics.

E2-64 v3 latest generation

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
E2 v3 2 16 GiB $- $- $- $- $- $- $- $- $-
E4 v3 4 32 GiB $- $- $- $- $- $- $- $- $-
E8 v3 8 64 GiB $- $- $- $- $- $- $- $- $-
E16 v3 16 128 GiB $- $- $- $- $- $- $- $- $-
E20 v3 20 160 GiB $- $- $- $- $- $- $- $- $-
E32 v3 32 256 GiB $- $- $- $- $- $- $- $- $-
E48 v3 48 384 GiB $- $- $- $- $- $- $- $- $-
E64i v3 1 64 432 GiB $- $- $- $- $- $- $- $- $-
E64 v3 64 432 GiB $- $- $- $- $- $- $- $- $-
1 Azure Compute offers virtual machine sizes that are Isolated to a specific hardware type and dedicated to a single customer. These virtual machine sizes are best suited for workloads that require a high degree of isolation from other customers for workloads involving elements like compliance and regulatory requirements.

E2s-64s v3 latest generation

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
E2s v3 2 16 GiB $- $- $- $- $- $- $- $- $-
E4s v3 4 32 GiB $- $- $- $- $- $- $- $- $-
E8s v3 8 64 GiB $- $- $- $- $- $- $- $- $-
E16s v3 16 128 GiB $- $- $- $- $- $- $- $- $-
E20s v3 20 160 GiB $- $- $- $- $- $- $- $- $-
E32s v3 32 256 GiB $- $- $- $- $- $- $- $- $-
E48s v3 48 384 GiB $- $- $- $- $- $- $- $- $-
E64is v3 1 64 432 GiB $- $- $- $- $- $- $- $- $-
E64s v3 64 432 GiB $- $- $- $- $- $- $- $- $-
1 Azure Compute offers virtual machine sizes that are Isolated to a specific hardware type and dedicated to a single customer. These virtual machine sizes are best suited for workloads that require a high degree of isolation from other customers for workloads involving elements like compliance and regulatory requirements.

D11-15 v2

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
D11 v2 2 14 GiB $- $- $- $- $- $- $- $- $-
D12 v2 4 28 GiB $- $- $- $- $- $- $- $- $-
D13 v2 8 56 GiB $- $- $- $- $- $- $- $- $-
D14 v2 16 112 GiB $- $- $- $- $- $- $- $- $-
D15 v2 20 140 GiB $- $- $- $- $- $- $- $- $-
D15i v2 20 140 GiB $- $- $- $- $- $- $- Not available

DS11-S15 v2

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
DS11 v2 2 14 GiB $- $- $- $- $- $- $- $- $-
DS12 v2 4 28 GiB $- $- $- $- $- $- $- $- $-
DS13 v2 8 56 GiB $- $- $- $- $- $- $- $- $-
DS14 v2 16 112 GiB $- $- $- $- $- $- $- $- $-
DS15 v2 20 140 GiB $- $- $- $- $- $- $- $- $-
DS15i v2 20 140 GiB $- $- $- $- $- $- $- Not available

G-series

Instance Core RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
G1 2 28 GiB $- $- $- $- $- – – Blank – – Blank
G2 4 56 GiB $- $- $- $- $- – – Blank – – Blank
G3 8 112 GiB $- $- $- $- $- – – Blank – – Blank
G4 16 224 GiB $- $- $- $- $- – – Blank – – Blank
G5 32 448 GiB $- $- $- $- $- – – Blank – – Blank

Reserved Virtual Machine Instances are currently not available for the G-series.

M-series

Instance vCPU RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
M64 64 1,024 GiB $- $- $- $- $- $- $- $- $-
M32ls 32 256 GiB $- $- $- $- $- $- $- $- $-
M64ls 64 512 GiB $- $- $- $- $- $- $- $- $-
M64m 64 1,792 GiB $- $- $- $- $- $- $- $- $-
M128m 128 3,892 GiB $- $- $- $- $- $- $- $- $-
M8ms 8 219 GiB $- $- $- $- $- $- $- $- $-
M16ms 16 438 GiB $- $- $- $- $- $- $- $- $-
M32ms 32 875 GiB $- $- $- $- $- $- $- $- $-
M64ms 64 1,792 GiB $- $- $- $- $- $- $- $- $-
M128ms 128 3,892 GiB $- $- $- $- $- $- $- $- $-
M64s 64 1,024 GiB $- $- $- $- $- $- $- $- $-
M128 128 2,048 GiB $- $- $- $- $- $- $- $- $-
M128s 128 2,048 GiB $- $- $- $- $- $- $- $- $-
M32ts 32 192 GiB $- $- $- $- $- $- $- $- $-

Extreme Memory Optimized

Instance Active vCPU /
Underlying vCPU
RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
DS11-1 v2 1 / 2 14 GiB $- $- $- $- $- $- $- $- $-
DS12-1 v2 1 / 4 28 GiB $- $- $- $- $- $- $- $- $-
DS12-2 v2 2 / 4 28 GiB $- $- $- $- $- $- $- $- $-
DS13-2 v2 2 / 8 56 GiB $- $- $- $- $- $- $- $- $-
DS13-4 v2 4 / 8 56 GiB $- $- $- $- $- $- $- $- $-
DS14-4 v2 4 / 16 112 GiB $- $- $- $- $- $- $- $- $-
DS14-8 v2 8 / 16 112 GiB $- $- $- $- $- $- $- $- $-
E4-2s v3 2 / 4 32 GiB $- $- $- $- $- $- $- $- $-
E8-2s v3 2 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E8-4s v3 4 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E16-4s v3 4 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E16-8s v3 8 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E32-8s v3 8 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E32-16s v3 16 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E64-16s v3 16 / 64 432 GiB $- $- $- $- $- $- $- $- $-
E64-32s v3 32 / 64 432 GiB $- $- $- $- $- $- $- $- $-
Gs4-4 4 / 16 224 GiB $- $- $- $- $- Not available Not available
Gs4-8 8 / 16 224 GiB $- $- $- $- $- Not available Not available
Gs5-8 8 / 32 448 GiB $- $- $- $- $- Not available Not available
Gs5-16 16 / 32 448 GiB $- $- $- $- $- Not available Not available
M16-8ms 8 / 16 438 GiB $- $- $- $- $- $- $- $- $-
M64-16ms 16 / 64 1,750 GiB $- $- $- $- $- $- $- $- $-
M64-32ms 32 / 64 1,750 GiB $- $- $- $- $- $- $- $- $-
M128-32ms 32 / 128 3,800 GiB $- $- $- $- $- $- $- $- $-
M128-64ms 64 / 128 3,800 GiB $- $- $- $- $- $- $- $- $-

Storage optimized

High disk throughput and IO. Ideal for Big Data, SQL, and NoSQL databases.

Ls-series

Instance Core RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
L4s 4 32 GiB $- $- $- $- $- $- $- $- $-
L8s 8 64 GiB $- $- $- $- $- $- $- $- $-
L16s 16 128 GiB $- $- $- $- $- $- $- $- $-
L32s 32 256 GiB $- $- $- $- $- $- $- $- $-

GPU

Specialized virtual machines targeted for heavy graphic rendering and video editing available with single or multiple GPUs.

NC-series

Instance Core RAM GPU
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
NC6 6 56 GiB 1X K80 $- $- $- $- $- $- $- $- $-
NC12 12 112 GiB 2X K80 $- $- $- $- $- $- $- $- $-
NC24 24 224 GiB 4X K80 $- $- $- $- $- $- $- $- $-
NC24r 24 224 GiB 4X K80 $- $- $- $- $- $- $- $- $-

NCsv2-series

Instance Core RAM GPU
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
NC6s v2 6 112 GiB 1X P100 $- $- $- $- $- $- $- $- $-
NC12s v2 12 224 GiB 2X P100 $- $- $- $- $- $- $- $- $-
NC24s v2 24 448 GiB 4X P100 $- $- $- $- $- $- $- $- $-
NC24rs v2 24 448 GiB 4X P100 $- $- $- $- $- $- $- $- $-

NCsv3-series

Instance Core RAM GPU
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
NC6s v3 6 112 GiB 1X V100 $- $- $- $- $- $- $- $- $-
NC12s v3 12 224 GiB 2X V100 $- $- $- $- $- $- $- $- $-
NC24s v3 24 448 GiB 4X V100 $- $- $- $- $- $- $- $- $-
NC24rs v3 24 448 GiB 4X V100 $- $- $- $- $- $- $- $- $-

NV-series

Instance Core RAM GPU
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
NV6 6 56 GiB 1X M60 $- $- $- $- $- $- $- $- $-
NV12 12 112 GiB 2X M60 $- $- $- $- $- $- $- $- $-
NV24 24 224 GiB 4X M60 $- $- $- $- $- $- $- $- $-

NDs-series

Instance Core RAM GPU
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
ND6s 6 112 GiB 1X P40 $- $- $- $- $- $- $- $- $-
ND12s 12 224 GiB 2X P40 $- $- $- $- $- $- $- $- $-
ND24rs 24 448 GiB 4X P40 $- $- $- $- $- $- $- $- $-
ND24s 24 448 GiB 4X P40 $- $- $- $- $- $- $- $- $-

High performance compute

Our fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA).

H-series

Instance Core RAM
Linux VM Price
Machine Learning
Service Surcharge
Pay As You Go
Total Price
One Year Reserved
(% Savings)
Total Price
Three Year Reserved
(% Savings)
Total Price
H8 8 56 GiB $- $- $- $- $- $- $- $- $-
H16 16 112 GiB $- $- $- $- $- $- $- $- $-
H8m 8 112 GiB $- $- $- $- $- $- $- $- $-
H16m 16 224 GiB $- $- $- $- $- $- $- $- $-
H16mr 16 224 GiB $- $- $- $- $- $- $- $- $-
H16r 16 112 GiB $- $-