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|
|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 20193|
|Microsoft Customer Agreement||Microsoft Azure Plan for Dev/Test||MSDNDevTest_2014-09-01||N/A||March 20193|
|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 Platforms4||MSDN_2014-09-01||MS-AZR-0062P||October 2, 20182|
|Pay-As-You-Go||Pay-As-You-Go||PayAsYouGo_2014-09-01||MS-AZR-0003P||October 2, 20182|
|Pay-As-You-Go||Pay-As-You-Go Dev/Test||MSDNDevTest_2014-09-01||MS-AZR-0023P||October 2, 20182|
|Pay-As-You-Go||Microsoft Partner Network||MPN_2014-09-01||MS-AZR-0025P||October 2, 20182|
|Pay-As-You-Go||Free Trial4||FreeTrial_2014-09-01||MS-AZR-0044P||October 2, 20182|
|Pay-As-You-Go||Azure in Open4||AzureInOpen_2014-09-01||MS-AZR-0111P||October 2, 20182|
|Pay-As-You-Go||Azure Pass4||AzurePass_2014-09-01||MS-AZR-0120P, MS-AZR-0122P - MS-AZR-0125P, MS-AZR-0128P - MS-AZR-0130P||October 2, 20182|
|Visual Studio||Visual Studio Enterprise – MPN4||MPN_2014-09-01||MS-AZR-0029P||October 2, 20182|
|Visual Studio||Visual Studio Professional4||MSDN_2014-09-01||MS-AZR-0059P||October 2, 20182|
|Visual Studio||Visual Studio Test Professional4||MSDNDevTest_2014-09-01||MS-AZR-0060P||October 2, 20182|
|Visual Studio||Visual Studio Enterprise4||MSDN_2014-09-01||MS-AZR-0063P||October 2, 20182|
|Visual Studio||Visual Studio Enterprise: BizSpark4||MSDN_2014-09-01||MS-AZR-0064P||October 2, 20182|
1 For data before May 2014, visit the Azure Enterprise portal.
2 For data before October 2, 2018, visit the Azure Account Center.
3 Microsoft Customer Agreements started in March 2019 and don't have any historical data before this point.
4 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|
|Azure Government||Azure Government Pay-As-You-Go||PayAsYouGo_2014-09-01||MS-AZR-USGOV-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 Students4||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 usage5||Support charges - For more information, see Invoice terms explained.|
|Marketplace offering usage6||Taxes - For more information, see Invoice terms explained.|
|Marketplace purchases6||Credits - For more information, see Invoice terms explained.|
|Amortization of reservation purchases7|
5 Azure service usage is based on reservation and negotiated prices.
6 Marketplace purchases are not available for MSDN and Visual Studio offers at this time.
7 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 are not 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 are not 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 (e.g. not 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 do not see a specific tag in Cost Management, consider the following:
- 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 do not 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
- 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 costs down by organization, application, environment, etc.
- Use Azure Policy to copy resource group tags to individual resources and enforce your tagging strategy.
- Use the Tags API in conjunction 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.
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 7 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, and consequently 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. However, 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. So, 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.