The usage field that sums prompt_tokens and completion_tokens, for example 37 + 86 = 123. Billing applies to both kinds of token.
Also called usage.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains total_tokens in context, with comparison tables and the common traps.
Terms in this definition
- Token
The unit of text an LLM works with, which may be a word, part of a word or punctuation. Billing, limits and context windows are all counted in these units.
Related terms
- Agent Dashboard
Gives leaders and analysts a picture of agent uptake and the credits those agents burn through, inside Viva Insights. It won't show data until a tenant has 50 or more Microsoft Copilot licences plus some agent usage.
- aggregation type
In a resource usage alarm rule, this option picks whether the minimum, maximum or average of the values gathered during the rule's time window is what gets tested against the threshold.
- analysis depth
Used by certain resource usage alarm rules in place of a fixed time window: it sets how many of the most recent values are averaged, and each fresh value is compared with that average.
- API Management llm-token-limit policy
Inbound AI gateway policy that caps token usage per counter key. Exceeding tokens-per-minute produces 429, an exhausted token quota produces 403, and estimate-prompt-tokens lets it reject before calling the backend.
- Automatic rebalance
A vSAN cluster option that shifts components across capacity devices when the gap in usage between any two exceeds a threshold, 30% unless changed. VCF advises turning it on to keep data evenly spread, despite more resync traffic when hosts join; it is distinct from reactive rebalancing, which begins once a device is 80% full.
- Azure SRE Agent
An AI agent in Azure built for reliability engineering. When an incident happens it digs through telemetry, code and Azure resources, then suggests or applies a fix, bounded by its managed identity's role assignments and approval rules. Usage is charged in Azure Agent Units.
- Background operation
Refreshes, scheduled jobs and most warehouse work fall into this Fabric capacity category, and their compute usage is smoothed across a full 24 hours. Interactive work, report queries for example, is smoothed over a much shorter 5 to 64 minutes.
- Billing policy
Ties an Azure subscription and resource group to the whole tenant or to one group, so that pay-as-you-go Copilot usage (SharePoint agents or agents in Copilot Chat, for instance) gets charged. Admins create them in the Microsoft 365 admin center, can have 50 at most, and a budget on one only raises alerts.