Understand Cost Management data
This article helps you better understand Azure cost and usage data that's included in Azure Cost Management. It explains how frequently data is processed, collected, shown, and closed. You're billed for Azure usage monthly. Although billing cycles are monthly periods, cycle start and end dates vary by subscription type. How often Cost Management receives usage data varies based on different factors. Such factors include how long it takes to process the data and how frequently Azure services emit usage to the billing system.
Cost Management includes all usage and purchases, including reservations and third-party offerings for Enterprise Agreement (EA) accounts. Microsoft Customer Agreement accounts and individual subscriptions with pay-as-you-go rates only include usage from Azure and Marketplace services. Support and other costs aren't included. Costs are estimated until an invoice is generated and don't factor in credits.
If you have a new subscription, you can't immediately use Cost Management features. It might take up to 48 hours before you can use all Cost Management features.
Supported Microsoft Azure offers
The following information shows the currently supported Microsoft Azure offers in Azure Cost Management. An Azure offer is the type of the Azure subscription that you have. Data is available in Cost Management starting on the Data available from date. If a subscription changes offers, costs before the offer change date aren't available.
|Category||Offer name||Quota ID||Offer number||Data available from|
|Azure Government||Azure Government Enterprise||EnterpriseAgreement_2014-09-01||MS-AZR-USGOV-0017P||May 20141|
|Azure Government||Azure Government Pay-As-You-Go||PayAsYouGo_2014-09-01||MS-AZR-USGOV-0003P||October 2, 2018|
|Enterprise Agreement (EA)||Enterprise Dev/Test||MSDNDevTest_2014-09-01||MS-AZR-0148P||May 20141|
|Enterprise Agreement (EA)||Microsoft Azure Enterprise||EnterpriseAgreement_2014-09-01||MS-AZR-0017P||May 20141|
|Microsoft Customer Agreement||Microsoft Azure Plan||EnterpriseAgreement_2014-09-01||N/A||March 20192|
|Microsoft Customer Agreement||Microsoft Azure Plan for Dev/Test||MSDNDevTest_2014-09-01||N/A||March 20192|
|Microsoft Customer Agreement supported by partners||Microsoft Azure Plan||CSP_2015-05-01, CSP_MG_2017-12-01, and CSPDEVTEST_2018-05-01
The quota ID is reused for Microsoft Customer Agreement and legacy CSP subscriptions. Currently, only Microsoft Customer Agreement subscriptions are supported.
|Microsoft Developer Network (MSDN)||MSDN Platforms3||MSDN_2014-09-01||MS-AZR-0062P||October 2, 2018|
|Pay-As-You-Go||Pay-As-You-Go||PayAsYouGo_2014-09-01||MS-AZR-0003P||October 2, 2018|
|Pay-As-You-Go||Pay-As-You-Go Dev/Test||MSDNDevTest_2014-09-01||MS-AZR-0023P||October 2, 2018|
|Pay-As-You-Go||Microsoft Partner Network||MPN_2014-09-01||MS-AZR-0025P||October 2, 2018|
|Pay-As-You-Go||Free Trial3||FreeTrial_2014-09-01||MS-AZR-0044P||October 2, 2018|
|Pay-As-You-Go||Azure in Open3||AzureInOpen_2014-09-01||MS-AZR-0111P||October 2, 2018|
|Pay-As-You-Go||Azure Pass3||AzurePass_2014-09-01||MS-AZR-0120P, MS-AZR-0122P - MS-AZR-0125P, MS-AZR-0128P - MS-AZR-0130P||October 2, 2018|
|Visual Studio||Visual Studio Enterprise – MPN3||MPN_2014-09-01||MS-AZR-0029P||October 2, 2018|
|Visual Studio||Visual Studio Professional3||MSDN_2014-09-01||MS-AZR-0059P||October 2, 2018|
|Visual Studio||Visual Studio Test Professional3||MSDNDevTest_2014-09-01||MS-AZR-0060P||October 2, 2018|
|Visual Studio||Visual Studio Enterprise3||MSDN_2014-09-01||MS-AZR-0063P||October 2, 2018|
|Visual Studio||Visual Studio Enterprise: BizSpark3||MSDN_2014-09-01||MS-AZR-0064P||October 2, 2018|
1 For data before May 2014, visit the Azure Enterprise portal.
2 Microsoft Customer Agreements started in March 2019 and don't have any historical data before this point.
3 Historical data for credit-based and pay-in-advance subscriptions might not match your invoice. See Historical data may not match invoice below.
The following offers aren't supported yet:
|Category||Offer name||Quota ID||Offer number|
|Azure Germany||Azure Germany Pay-As-You-Go||PayAsYouGo_2014-09-01||MS-AZR-DE-0003P|
|Cloud Solution Provider (CSP)||Microsoft Azure||CSP_2015-05-01||MS-AZR-0145P|
|Cloud Solution Provider (CSP)||Azure Government CSP||CSP_2015-05-01||MS-AZR-USGOV-0145P|
|Cloud Solution Provider (CSP)||Azure Germany in CSP for Microsoft Cloud Germany||CSP_2015-05-01||MS-AZR-DE-0145P|
|Pay-As-You-Go||Azure for Students Starter||DreamSpark_2015-02-01||MS-AZR-0144P|
|Pay-As-You-Go||Azure for Students3||AzureForStudents_2018-01-01||MS-AZR-0170P|
|Pay-As-You-Go||Microsoft Azure Sponsorship||Sponsored_2016-01-01||MS-AZR-0036P|
|Support Plans||Standard support||Default_2014-09-01||MS-AZR-0041P|
|Support Plans||Professional Direct support||Default_2014-09-01||MS-AZR-0042P|
|Support Plans||Developer support||Default_2014-09-01||MS-AZR-0043P|
|Support Plans||Germany support plan||Default_2014-09-01||MS-AZR-DE-0043P|
|Support Plans||Azure Government Standard Support||Default_2014-09-01||MS-AZR-USGOV-0041P|
|Support Plans||Azure Government Pro-Direct Support||Default_2014-09-01||MS-AZR-USGOV-0042P|
|Support Plans||Azure Government Developer Support||Default_2014-09-01||MS-AZR-USGOV-0043P|
Free trial to pay-as-you-go upgrade
For information about the availability of free tier services after you upgrade to pay-as-you-go pricing from a Free trial, see the Azure free account FAQ.
Determine your offer type
If you don't see data for a subscription and you want to determine if your subscription falls under the supported offers, you can validate that your subscription is supported. To validate an Azure subscription is supported, sign in to the Azure portal. Then select All Services in the left menu pane. In the list of services, select Subscriptions. In the subscription list menu, select the subscription that you want to verify. Your subscription is shown on the Overview tab and you can see the Offer and Offer ID. The following image shows an example.
Costs included in Cost Management
The following tables show data that's included or isn't in Cost Management. All costs are estimated until an invoice is generated. Costs shown don't include free and prepaid credits.
|Azure service usage4||Support charges - For more information, see Invoice terms explained.|
|Marketplace offering usage5||Taxes - For more information, see Invoice terms explained.|
|Marketplace purchases5||Credits - For more information, see Invoice terms explained.|
|Amortization of reservation purchases6|
4 Azure service usage is based on reservation and negotiated prices.
5 Marketplace purchases aren't available for MSDN and Visual Studio offers at this time.
6 Reservation purchases are only available for Enterprise Agreement (EA) and Microsoft Customer Agreement accounts at this time.
How tags are used in cost and usage data
Azure Cost Management receives tags as part of each usage record submitted by the individual services. The following constraints apply to these tags:
- Tags must be applied directly to resources and aren't implicitly inherited from the parent resource group.
- Resource tags are only supported for resources deployed to resource groups.
- Some deployed resources may not support tags or may not include tags in usage data.
- Resource tags are only included in usage data while the tag is applied – tags aren't applied to historical data.
- Resource tags are only available in Cost Management after the data is refreshed.
- Resource tags are only available in Cost Management when the resource is active/running and producing usage records. For example, when a VM is deallocated.
- Managing tags requires contributor access to each resource.
- Managing tag policies requires either owner or policy contributor access to a management group, subscription, or resource group.
If you don't see a specific tag in Cost Management, consider the following questions:
- Was the tag applied directly to the resource?
- Was the tag applied more than 24 hours ago?
- Does the resource type support tags? The following resource types don't support tags in usage data as of December 1, 2019. See Tags support for Azure resources for the full list of what is supported.
- Azure Active Directory B2C Directories
- Azure Bastion
- Azure Firewalls
- Azure NetApp Files
- Data Factory
- Load balancers
- Machine Learning workspace Compute instances
- Network Watcher
- Notification Hubs
- Service Bus
- Time Series Insights
Here are a few tips for working with tags:
- Plan ahead and define a tagging strategy that allows you to break down costs by organization, application, environment, and so on.
- Use Azure Policy to copy resource group tags to individual resources and enforce your tagging strategy.
- Use the Tags API with either Query or UsageDetails to get all cost based on the current tags.
Cost and usage data updates and retention
Cost and usage data is typically available in Cost Management + Billing in the Azure portal and supporting APIs within 8-24 hours. Keep the following points in mind as you review costs:
- Each Azure service (such as Storage, Compute, and SQL) emits usage at different intervals – You might see data for some services sooner than others.
- Estimated charges for the current billing period are updated six times per day.
- Estimated charges for the current billing period can change as you incur more usage.
- Each update is cumulative and includes all the line items and information from the previous update.
- Azure finalizes or closes the current billing period up to 72 hours (three calendar days) after the billing period ends.
- During the open month (uninvoiced) period, cost management data should be considered an estimate only. In some cases, charges may be latent in arriving to the system after the usage actually occurred.
The following examples illustrate how billing periods could end:
- Enterprise Agreement (EA) subscriptions – If the billing month ends on March 31, estimated charges are updated up to 72 hours later. In this example, by midnight (UTC) April 4.
- Pay-as-you-go subscriptions – If the billing month ends on May 15, then the estimated charges might get updated up to 72 hours later. In this example, by midnight (UTC) May 19.
Once cost and usage data becomes available in Cost Management + Billing, it will be retained for at least seven years.
Whether you use the Cost Management APIs, Power BI, or the Azure portal to retrieve data, expect the current billing period's charges to get rerated. Charges might change until the invoice is closed.
Costs shown in Cost Management are rounded. Costs returned by the Query API aren't rounded. For example:
- Cost analysis in the Azure portal - Charges are rounded using standard rounding rules: values more than 0.5 and higher are rounded up, otherwise costs are rounded down. Rounding occurs only when values are shown. Rounding doesn't happen during data processing and aggregation. For example, cost analysis aggregates costs as follows:
- Charge 1: $0.004
- Charge 2: $0.004
- Aggregate charge rendered: 0.004 + 0.004 = 0.008. The charge shown is $0.01.
- Query API - Charges are shown at eight decimal places and rounding doesn't occur.
Historical data might not match invoice
Historical data for credit-based and pay-in-advance offers might not match your invoice. Some Azure pay-as-you-go, MSDN, and Visual Studio offers can have Azure credits and advanced payments applied to the invoice. The historical data shown in Cost Management is based on your estimated consumption charges only. Cost Management historical data doesn't include payments and credits. Historical data shown for the following offers may not match exactly with your invoice.
- Azure for Students (MS-AZR-0170P)
- Azure in Open (MS-AZR-0111P)
- Azure Pass (MS-AZR-0120P, MS-AZR-0123P, MS-AZR-0125P, MS-AZR-0128P, MS-AZR-0129P)
- Free Trial (MS-AZR-0044P)
- MSDN (MS-AZR-0062P)
- Visual Studio (MS-AZR-0029P, MS-AZR-0059P, MS-AZR-0060P, MS-AZR-0063P, MS-AZR-0064P)
- If you haven't already completed the first quickstart for Cost Management, read it at Start analyzing costs.