Azure Compute Pricing

Pricing Overview

Azure Compute services are billed based on the resources you provision and the duration of usage. Prices vary by region, VM size, and operating system. All prices listed are on a pay-as-you-go basis unless otherwise noted.

Open Pricing Calculator

Virtual Machines (VMs)

VM Series vCPUs RAM (GiB) Pay‑As‑You‑Go $/hr Reserved (1 yr) $/hr
B1s Burstable 1 1 0.012 0.008
D2s_v3 2 8 0.096 0.072
F4s_v2 4 8 0.158 0.119
E8-2s_v3 8 64 0.456 0.342

Container Instances

Azure Container Instances (ACI) are billed per second based on vCPU and memory allocation.

vCPU Memory (GiB) Price $/second
0.25 0.5 0.000014
1 2 0.000056
2 4 0.000112

Azure Functions

Serverless functions are charged based on execution time and memory consumption, plus a free grant each month.