FAQ: Understanding Job Costs and Billing in Azure Quantum

In this article, you'll find the guidelines to understand the cost of running quantum programs in Azure Quantum and how to manage your invoices.

How many usage plans are available in Azure Quantum?

Azure Quantum makes solutions available from Microsoft and from our partner companies, so the billing details will depend on the provider and the pricing plan you select. In addition, Azure Quantum offers a free tier with a set of Azure Quantum Credits that you can use to run quantum programs. In the following table you can see the general pricing and credits guidance for using Azure Quantum.

Plan Description
Free Azure Quantum Credits When you create a new Azure Quantum workspace, you get USD500 free Azure Quantum Credits for use with each participating quantum hardware provider. For more information, see FAQ: Azure Quantum credits
Azure Quantum Credits program If you have consumed all the credits and you need more, you can apply to the Azure Quantum Credits program. Microsoft offers up to USD10,000 extra Azure Quantum Credits for use on quantum hardware. For more information,see FAQ: Applications to the Azure Quantum Credits Program.
Billing plans When you consumed all your Azure Quantum Credits, you have to switch to a billing plan. Most providers bill based on the resources you consume by running a job (pay-as-you-go), though some also offer subscription plans. For more information about how each provider charges, see Azure Quantum pricing.

Tip

First-time users automatically get USD500 free Azure Quantum Credits for use with each participating quantum hardware provider.

How can I modify the usage plan for my Azure Quantum workspace?

You can modify your current usage plan for each provider and see the different billing plans available in your local currency.

  1. Sign in to the Azure portal, using the credentials for your Azure subscription.

  2. Select your Azure Quantum workspace.

  3. In the left panel, under Operations, go to the Providers tab.

  4. You can check the current usage plan for each provider under Plan column.

  5. Click on Modify to see and modify the different billing plans available for that provider in your local currency.

    Screen shot showing how to select a provider to add to an Azure Quantum workspace.

The billing plans are set by the quantum hardware providers. For more information about the pricing offer, see Azure Quantum pricing page.

How can I estimate the cost of a job before running it?

Before running a job on actual quantum hardware, you can estimate how much the job cost to run.

To estimate the cost of running a job, use the estimate_cost Python method. The currency_code method will tell you the currency unit of the estimated cost.

cost = qpu_backend.estimate_cost(circuit, shots=100)

print(f"Estimated cost: {cost.estimated_total} {cost.currency_code}")

How can I view the job cost report after running?

After you run a job, you can check the detailed cost estimates and use this information to understand the cost of individual jobs. This cost is the cost billed by the provider; refer to your final bill for the exact charges including relevant taxes. For more information, see How do I receive my invoices?.

To review job costs:

  1. Sign in to the Azure portal, using the credentials for your Azure subscription.
  2. Select your Azure Quantum workspace.
  3. Navigate to the Job Management blade within your Azure Quantum workspace.
  4. In the job list, you see estimated costs reported for each job you run.

Prices below are shown for example purposes only.

Screenshot of the Job Management blade, with the Cost Estimate column highlighted.

To review detailed cost estimate information for a job, select the job in the Job Management pane and then open the Cost Estimation tab. The table displays the billing dimensions used by the job and their associated cost.

Prices below are shown for example purposes only.

Screenshot of the Job Details pane for a quantum job, with the Cost Estimation tab selected.

The following definitions help you understand the cost estimation table:

  • Dimension: The name of the dimension you're charged for by the provider.
  • Unit Price: The cost per one unit of the dimension.
  • Consumed Units: The number of units of the dimension the job consumed.
  • Billed Units: The number of units you're billed for. In some cases, this column may be less than consumed units if the providers billing plan offers an amount of included free usage or is credits-based. This column may also be less than consumed units in the event that a provider has a minimum job cost and the actual units consumed were less than required to satisfy the requirement.
  • Estimated Cost: The estimated cost for this dimension. It equals [Billed Units] * [Unit Price].

Note

IonQ has USD1.00 minimum cost to run a job on the IonQ QPU. For small jobs, you may notice that Consumed Units reported on the job cost estimation table are less than the Billed Units for this reason.

Why I don't see the cost of my job?

Some Azure Quantum providers don't support reporting per-job costs, however you can still see your invoice under Cost Management in the Azure portal. For more information, see How can I view my invoices?.

If you're using an Azure Quantum Credits plan, you'll see cost estimate equal to USD0. In this case, the estimated cost isn't reflected in the job details because there’s no effective charge against your Azure bill.

How do I receive my invoices?

The invoices are sent to the email address you used to sign up for Azure. If you need to change the email address, contact Azure Support.

If you're using a custom subscription, invoices might be sent to the email address of the person who setup the subscription.

The invoices from Azure Quantum third party providers are of type Azure Marketplace and Reservations. You receive a single invoice from Azure Marketplace and Reservation, which provides a breakdown of the charges from each quantum provider.

What does my Azure Quantum invoice include?

The Azure Marketplace and Reservations invoices include spending against Azure 3rd party providers. Azure Quantum currently offers quantum hardware from IonQ, Quantinuum and Rigetti. For more information, see Azure Quantum provider list.

The Azure Marketplace and Reservations invoices don't include spending against first party Azure services, such as storage accounts attached to the Azure Quantum workspace. These typically represent very small amounts.

For more information about Azure infrastructure costs, see Azure Blob Storage pricing.

How are invoices billed?

The invoices are paid using the same payment method you use for the Azure subscription of your Azure Quantum workspace. You may have different payment methods for different subscriptions.

The invoices are billed in arrears. For example, the invoice you receive in February corresponds to the usage you incurred in January.

How can I view my invoices?

You can view your past invoices in Azure portal.

  1. Sign in to the Azure portal, using the credentials for your Azure subscription.

  2. In the top search bar, type Cost Management + Billing.

  3. If you have more than one billing scope, select the scope you want to view in the Billing scope pane. If not, skip this step.

  4. In the left navigation pane, select Invoices.

    Screen shot of Azure portal showing the Invoices view and how to select and download the invoices.

In the Invoices view, you can see all your invoices. The invoices from Azure Quantum third party providers are of type Azure Marketplace and Reservations.

You can filter by date, subscription, and status. You can also download the invoices as PDF files. You can see the invoice date and the billing period. The billing period isn't the same as the month in which you receive the invoice.