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.

Azure Machine Learning makes it easy for developers and data scientists to accelerate the end-to-end machine learning lifecycle.

  • Data for machine learning

    Create, view, or edit datasets and datastores

    Labeling using private workforce, including ML assisted labeling (Image classification and Object detection)

    Dataset monitors UI (preview)

  • Build and Train

    Managed compute for training

    Integrated Jupyter notebooks

    Automated ML (Large data support up to 10GB+, Classification and Regression Tasks, create experiments, advanced forecasting)

    Drag and drop ML designer

  • Deploy and Manage

    Model registry and profiling

    ML pipelines for repeatable workflows

    Batch and real-time inferencing

  • Security, Governance, and Control

    Role Based Access Control (RBAC) support (preview)

    Virtual Network (VNet) support for compute (preview)

    Workspace Private Link Support

    Cross workspace compute capacity sharing with quotas

Pricing details

Azure Machine Learning is currently generally available (GA) and customers incur the costs associated with the Azure resources consumed (for example, compute and storage costs). There are no additional fees associated with Azure Machine Learning.

Azure Machine Learning Basic and Enterprise Editions are merging on September 22, 2020. Customers can access all the Enterprise Edition capabilities in the Basic Edition, which is generally available (GA), at no additional charge.

On December 21, 2020 onwards, all existing Enterprise workspaces will be migrated to Basic Edition. The migration will be automatic and seamless and no action is required. On January 1, 2021 Enterprise Edition will be retired. For concepts, tutorials, and samples, see our documentation.

The table below shows the pricing for a broad category of VM’s. There is no additional ML charge for Azure Machine Learning. 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 (GA) Consumed Azure resources Only (No Azure Machine Learning fee for training/inference) Consumed Azure resources (e.g. compute, storage) (No Azure Machine Learning fee for training/inference)
Enterprise (preview)
All Enterprise Edition features are now available in the Basic Edition. Enterprise Edition will be retired on January 1, 2021.
Consumed Azure resources Only (No Azure Machine Learning fee for training/inference). Azure Machine Learning Fee is $-+ per vCPU hour Consumed Azure resources (e.g. compute, storage) (No Azure Machine Learning fee for training/inference). Azure Machine Learning Fee is $-+ per vCPU hour

General purpose

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

Bs-series

Instance vCPU(s) 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
B2S 2 4 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(s) 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
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

Instance vCPU(s) 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

Instance vCPU(s) 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(s) 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 $- $- $- $- $- $- $- $- $-

D1s-5s v2

Instance vCPU(s) 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(s) 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
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

Instance vCPU(s) 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

Instance vCPU(s) 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(s) 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

D11S-15S v2

Instance vCPU(s) 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(s) 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
M64m 64 1.792 GiB $- $- $- $- $- $- $- $- $-
M128m 128 3.892 GiB $- $- $- $- $- $- $- $- $-
M128 128 2.048 GiB $- $- $- $- $- $- $- $- $-

Constrained vCPUs capable

Instance Active vCPU(s) /
Underlying vCPU(s)
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
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-2ds v4 2 / 4 32 GiB $- $- $- $- $- $- $- $- $-
E8-2ds v4 2 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E8-4ds v4 4 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E16-4ds v4 4 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E16-8ds v4 8 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E32-8ds v4 8 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E32-16ds v4 16 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E64-16ds v4 16 / 64 504 GiB $- $- $- $- $- $- $- $- $-
E64-32ds v4 32 / 64 504 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 $- $- $- $- $- $- $- $- $-
E4-2s v4 2 / 4 32 GiB $- $- $- $- $- $- $- $- $-
E8-2s v4 2 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E8-4s v4 4 / 8 64 GiB $- $- $- $- $- $- $- $- $-
E16-4s v4 4 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E16-8s v4 8 / 16 128 GiB $- $- $- $- $- $- $- $- $-
E32-8s v4 8 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E32-16s v4 16 / 32 256 GiB $- $- $- $- $- $- $- $- $-
E64-16s v4 16 / 64 504 GiB $- $- $- $- $- $- $- $- $-
E64-32s v4 32 / 64 504 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
M8-2ms 2 / 8 219 GiB $- $- $- $- $- $- $- $- $-
M8-4ms 4 / 8 219 GiB $- $- $- $- $- $- $- $- $-
M16-4ms 4 / 16 438 GiB $- $- $- $- $- $- $- $- $-
M16-8ms 8 / 16 438 GiB $- $- $- $- $- $- $- $- $-
M32-8ms 8 / 32 875 GiB $- $- $- $- $- $- $- $- $-
M32-16ms 16 / 32 875 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 $- $- $- $-