Azure Batch Service billing

Ihor Dyrman 181 Reputation points

Hi, I have several questions about Azure Batch Service billing.

  • Is there any way to get a price for VM I want to create, programmatically, through Azure SDK?
  • The price for VM I want is 5$ per hour. If I'll remove VM after 20 minutes of using it, what price I'll need to pay? Per hour or per 20 minutes?
  • And when I'll need to pay that price? At the end of the month or after removing VM?


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,052 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
301 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 94,706 Reputation points MVP

    Regarding #2:

    VMs (compute capacities) are charged per second.
    You example: 5$ x 20 minutes (1/3 hours) = 1,67$


    Regarding #3:
    You will be charged at the end of the billing period.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Andreas Baumgarten

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful