Skip Navigation

Azure Machine Learning service pricing

Build, train, and deploy models from the cloud to the edge

Build and train machine learning models faster, then easily deploy to the cloud or the edge with Azure Machine Learning service.

Use the latest open source innovations such as TensorFlow, PyTorch, Jupyter. Experiment locally, then quickly scale up or out with large GPU clusters in the cloud. Speed up data science with automated machine learning and hyper-parameter tuning. Track your experiments, manage models, and easily deploy with integrated CI/CD tooling.

Pricing details

Below prices are for Deploying Machine Learning models using AKS including the compute costs. Pay only for the underlying compute to train your models using Machine Learning Service. Please refer the Virtual Machines pricing page for compute prices.

Please Note: Azure Machine Learning service meters will be free to use until further notice. Customers will still be charged for compute.

General purpose

Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.

B-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.00 GiB $- $- $- $- $-
B2S 2 4.00 GiB $- $- $- $- $-
B1MS 1 2.00 GiB $- $- $- $- $-
B2MS 2 8.00 GiB $- $- $- $- $-
B4MS 4 16.00 GiB $- $- $- $- $-
B8MS 8 32.00 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.00 GiB $- $- $- – – Blank – – Blank
A2 v2 2 4.00 GiB $- $- $- – – Blank – – Blank
A4 v2 4 8.00 GiB $- $- $- – – Blank – – Blank
A8 v2 8 16.00 GiB $- $- $- – – Blank – – Blank
A2m v2 2 16.00 GiB $- $- $- – – Blank – – Blank
A4m v2 4 32.00 GiB $- $- $- – – Blank – – Blank
A8m v2 8 64.00 GiB $- $- $- – – Blank – – Blank

Reserved Virtual Machine Instances are 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.00 GiB $- $- $- $- $-
D4 v3 4 16.00 GiB $- $- $- $- $-
D8 v3 8 32.00 GiB $- $- $- $- $-
D16 v3 16 64.00 GiB $- $- $- $- $-
D32 v3 32 128.00 GiB $- $- $- $- $-
D64 v3 64 256.00 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.00 GiB $- $- $- $- $-
D4s v3 4 16.00 GiB $- $- $- $- $-
D8s v3 8 32.00 GiB $- $- $- $- $-
D16s v3 16 64.00 GiB $- $- $- $- $-
D32s v3 32 128.00 GiB $- $- $- $- $-
D64s v3 64 256.00 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.50 GiB $- $- $- $- $-
D2 v2 2 7.00 GiB $- $- $- $- $-
D3 v2 4 14.00 GiB $- $- $- $- $-
D4 v2 8 28.00 GiB $- $- $- $- $-
D5 v2 16 56.00 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.50 GiB $- $- $- $- $-
DS2 v2 2 7.00 GiB $- $- $- $- $-
DS3 v2 4 14.00 GiB $- $- $- $- $-
DS4 v2 8 28.00 GiB $- $- $- $- $-
DS5 v2 16 56.00 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.00 GiB $- $- $- $- $-
F4s v2 4 8.00 GiB $- $- $- $- $-
F8s v2 8 16.00 GiB $- $- $- $- $-
F16s v2 16 32.00 GiB $- $- $- $- $-
F32s v2 32 64.00 GiB $- $- $- $- $-
F64s v2 64 128.00 GiB $- $- $- $- $-
F72s v2 72 144.00 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.00 GiB $- $- $- $- $-
F2 2 4.00 GiB $- $- $- $- $-
F4 4 8.00 GiB $- $- $- $- $-
F8 8 16.00 GiB $- $- $- $- $-
F16 16 32.00 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.00 GiB $- $- $- $- $-
E4 v3 4 32.00 GiB $- $- $- $- $-
E8 v3 8 64.00 GiB $- $- $- $- $-
E16 v3 16 128.00 GiB $- $- $- $- $-
E20 v3 20 160.00 GiB $- $- $- Not available Not available
E32 v3 32 256.00 GiB $- $- $- $- $-
E64i v3 1 64 432.00 GiB $- $- $- $- Not available
E64 v3 64 432.00 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.00 GiB $- $- $- $- $-
E4s v3 4 32.00 GiB $- $- $- $- $-
E8s v3 8 64.00 GiB $- $- $- $- $-
E16s v3 16 128.00 GiB $- $- $- $- $-
E20s v3 20 160.00 GiB $- $- $- Not available Not available
E32s v3 32 256.00 GiB $- $- $- $- $-
E64is v3 1 64 432.00 GiB $- $- $- $- Not available
E64s v3 64 432.00 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.00 GiB $- $- $- $- $-
D12 v2 4 28.00 GiB $- $- $- $- $-
D13 v2 8 56.00 GiB $- $- $- $- $-
D14 v2 16 112.00 GiB $- $- $- $- $-
D15 v2 20 140.00 GiB $- $- $- $- $-

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.00 GiB $- $- $- $- $-
DS12 v2 4 28.00 GiB $- $- $- $- $-
DS13 v2 8 56.00 GiB $- $- $- $- $-
DS14 v2 16 112.00 GiB $- $- $- $- $-
DS15 v2 20 140.00 GiB $- $- $- $- $-

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.00 GiB $- $- $- – – Blank – – Blank
G2 4 56.00 GiB $- $- $- – – Blank – – Blank
G3 8 112.00 GiB $- $- $- – – Blank – – Blank
G4 16 224.00 GiB $- $- $- – – Blank – – Blank
G5 32 448.00 GiB $- $- $- – – Blank – – Blank

Reserved Virtual Machine Instances are 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.00 GiB $- $- $- $- $-
M32ls 32 256.00 GiB $- $- $- $- $-
M64ls 64 512.00 GiB $- $- $- $- $-
M64m 64 1,792.00 GiB $- $- $- $- $-
M128m 128 3,892.00 GiB $- $- $- $- $-
M8ms 8 219.00 GiB $- $- $- $- $-
M16ms 16 438.00 GiB $- $- $- $- $-
M32ms 32 875.00 GiB $- $- $- $- $-
M64ms 64 1,792.00 GiB $- $- $- $- $-
M128ms 128 3,892.00 GiB $- $- $- $- $-
M64s 64 1,024.00 GiB $- $- $- $- $-
M128 128 2,048.00 GiB $- $- $- $- $-
M128s 128 2,048.00 GiB $- $- $- $- $-
M32ts 32 192.00 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.00 GiB $- $- $- $- $-
DS12-1 v2 1 / 4 28.00 GiB $- $- $- $- $-
DS12-2 v2 2 / 4 28.00 GiB $- $- $- $- $-
DS13-2 v2 2 / 8 56.00 GiB $- $- $- $- $-
DS13-4 v2 4 / 8 56.00 GiB $- $- $- $- $-
DS14-4 v2 4 / 16 112.00 GiB $- $- $- $- $-
DS14-8 v2 8 / 16 112.00 GiB $- $- $- $- $-
E4-2s v3 2 / 4 32.00 GiB $- $- $- $- $-
E8-2s v3 2 / 8 64.00 GiB $- $- $- $- $-
E8-2s v3 4 / 8 64.00 GiB $- $- $- $- $-
E16-4s v3 4 / 16 128.00 GiB $- $- $- $- $-
E16-8s v3 8 / 16 128.00 GiB $- $- $- $- $-
E32-8s v3 8 / 32 256.00 GiB $- $- $- $- $-
E32-16s v3 16 / 32 256.00 GiB $- $- $- $- $-
E64-16s v3 16 / 64 432.00 GiB $- $- $- $- $-
E64-32s v3 32 / 64 432.00 GiB $- $- $- $- $-
Gs4-4 4 / 16 224.00 GiB $- $- $- Not available Not available
Gs4-8 8 / 16 224.00 GiB $- $- $- Not available Not available
Gs5-8 8 / 32 448.00 GiB $- $- $- Not available Not available
Gs5-16 16 / 32 448.00 GiB $- $- $- Not available Not available
M64-16ms 16 / 64 1,750.00 GiB $- $- $- $- $-
M64-32ms 32 / 64 1,750.00 GiB $- $- $- $- $-
M128-32ms 32 / 128 3,800.00 GiB $- $- $- $- $-
M128-64ms 64 / 128 3,800.00 GiB $- $- $- $- $-

Storage optimized

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

L-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
L4 4 32.00 GiB $- $- $- $- $-
L8 8 64.00 GiB $- $- $- $- $-
L16 16 128.00 GiB $- $- $- $- $-
L32 32 256.00 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.00 GiB 1X K80 $- $- $- $- $-
NC12 12 112.00 GiB 2X K80 $- $- $- $- $-
NC24 24 224.00 GiB 4X K80 $- $- $- $- $-
NC24r 24 224.00 GiB 4X K80 $- $- $- $- $-

NCv2 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 v2 6 112.00 GiB 1X P100 $- $- $- $- $-
NC12 v2 12 224.00 GiB 2X P100 $- $- $- $- $-
NC24 v2 24 448.00 GiB 4X P100 $- $- $- $- $-
NC24r v2 24 448.00 GiB 4X P100 $- $- $- $- $-

NCv3 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 v3 6 112.00 GiB 1X V100 $- $- $- $- $-
NC12 v3 12 224.00 GiB 2X V100 $- $- $- $- $-
NC24 v3 24 448.00 GiB 4X V100 $- $- $- $- $-
NC24r v3 24 448.00 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.00 GiB 1X M60 $- $- $- $- $-
NV12 12 112.00 GiB 2X M60 $- $- $- $- $-
NV24 24 224.00 GiB 4X M60 $- $- $- $- $-

ND-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
ND6 6 112.00 GiB 1X P40 $- $- $- $- $-
ND12 12 224.00 GiB 2X P40 $- $- $- $- $-
ND24 24 448.00 GiB 4X P40 $- $- $- $- $-
ND24r 24 448.00 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.00 GiB $- $- $- $- $-
H16 16 112.00 GiB $- $- $- $- $-
H8m 8 112.00 GiB $- $- $- $- $-
H16m 16 224.00 GiB $- $- $- $- $-
H16mr 16 224.00 GiB $- $- $- $- $-
H16r 16 112.00 GiB $- $- $- $- $-

Additional Information

  • In addition to the above costs, three additional resources will be deployed that will incur additional charges

    1. Azure Container Registry Standard account
    2. Azure Block Blob Storage (general purpose v1)
    3. Key Vault
  • We provide technical support for all Azure services released to general availability through Azure Support starting at $29/month. Billing and subscription management support is provided at no cost.
  • Monthly Uptime Calculation and Service Levels for Machine Learning Services Realtime Scoring*

    "Total Transaction Attempts" is the total number of API requests by Customer during a billing month for a given Microsoft Azure subscription.

    "Failed Transactions" is the set of all requests within Total Transaction Attempts that fail to return either a Success Code, HTTP 4xx, HTTP 502, or HTTP 503 response.

    "Monthly Uptime Percentage" is calculated as Total Transaction Attempts less Failed Transactions divided by Total Transaction Attempts in a billing month for a given Microsoft Azure subscription. Monthly Uptime Percentage is represented by the following formula:

    Monthly Uptime % = (Total Transaction Attempts - Failed Transactions) / Total Transaction Attempts

    The following Service Levels and Service Credits are applicable to Customer's use of the Machine Learning Services Realtime Scoring.

    Monthly Uptime Percentage Service Credit**
    < 99.95% 10%
    < 99% 25%

    *We guarantee to call the compute target (AKS) that user has chosen for service deployment and commit to SLA as long as there are no user errors (ex. Corrupt model or error in web service code) and there are no issues with the environment (ex. not enough AKS agents to handle the request). Any service failures due to user errors like the ones explained above will not count against the SLA

    **Service credit would apply to the surcharge only

    To learn more about the SLA, please visit the SLA page.

FAQ

  • Please review the migration process here: How to Migrate.

  • You can continue to use your experimentation and model management accounts as well as the Workbench application for a while longer after September 2018. Support for the following resources will be removed progressively in the 3-4 months after that release. You can still find the documentation for the old features in the Resources section at the bottom of the table of contents.

    Phase Support Details For Earlier Feature
    1 The ability to create Azure Machine Learning Experimentation account and Model Management account in the Azure portal and from the CLI. The ability to create ML Compute Environments from the CLI also ends. If you have an existing account, the CLI and the desktop Workbench continue to work in this phase.
    2 The underlying APIs for creating old workspaces and projects in the desktop Workbench and with the CLI ends. You can still open existing projects, add additional scripts to it, run scripts in existing projects, and deploy web services to existing ML Compute Environments in this phase.
    3 Support for everything else, including the remaining APIs and the desktop Workbench end in this phase.

    Start migrating today. All of the latest capabilities are available using the new SDK, CLI, and portal.

    Please review the migration details.

  • Azure Machine Learning service and the Azure Machine Learning SDK for Python replaces the Azure Machine Learning Experimentation service and the Azure Machine Learning Model Management service, currently in preview. Customers of Azure Machine Learning Experimentation and Model Management services will need to migrate all experiments, models and deployments to the new service. We sincerely apologize for the inconvenience this may cause. Migration is required because we made architectural changes in response to customer feedback received during preview. Azure Machine Learning will now enable faster, more efficient, end to end data science from a single Azure Service.

    We have also simplified the pricing for the service and now you only pay only for what you use.

    Customers of Azure Machine Learning Experimentation can now use Machine Learning service to train their models with no additional surcharge for the service. You only pay for the underlying compute, BatchAI, or DSVM and other Azure services consumed.

    Customers of Azure Machine Learning Model Management service now pay only for what you want to deploy via AKS. You pay for the underlying compute, a small surcharge for the Machine Learning service and any other Azure services consumed.

  • No. Training models using Azure Machine Learning service is a free . You have to pay for using underlying compute and VMs. Please refer here for the VM prices.
  • No. You do not pay additional Azure Machine Learning surcharge for deploying models on your own VMs. You will however have to pay for provisioning the VMs. Please refer here for the VM prices.
  • You will be billed daily. For billing purposes, a day commences at midnight UTC. Bills are generated monthly. As a specific example, let’s say you deploy your models using 10 DS14 v2 VMs. For a billing month of 30 days, you can calculate the prices

    Azure Machine Learning service charges: (10 * 30 * 24 ) * hourly PAYG rate

    Please note the compute charges are included with Azure Machine Learning service rates above. In addition, you will incur separate charges for any Azure services consumed in conjunction with Azure Machine Learning, including but not limited to HDInsight, Azure Container Registry, Azure Blob Storage, Application Insights, Azure Key Vault, Virtual Network, Azure Event Hub, and Azure Stream Analytics.

Resources

Estimate your monthly costs for Azure services

Review Azure pricing frequently asked questions

Learn more about Azure Machine Learning service

Review technical tutorials, videos, and more resources

Added to estimate. Press 'v' to view on calculator View on calculator

Learn and build with $200 in credit, and keep going for free