What makes up the bill
- Input tokens: the prompt, the conversation history, the injected documents (RAG).
- Output tokens: the answer, plus the reasoning tokens of models that "think". On GPT-5, they cost 8 times the input price.
- Deployment type: Global, Data Zone or regional, per token, or reserved throughput (PTU).
- Surrounding services: AI Search, storage, hosting of fine-tuned models (billed by the hour, even with no calls), logs.
The 7 levers
| Lever | Typical gain (public prices) | For which uses |
|---|---|---|
| Smaller model | 5 to 25 times cheaper per token | Classification, extraction, summary, routing |
| Limit output and reasoning | Proportional to the output tokens avoided | Overlong answers, reasoning effort set too high |
| Prompt caching | Up to 90% off cached input | Long, repeated system prompts |
| Batch | 50% | Jobs that need no immediate answer |
| Reserved PTUs | Worth it above a steady volume | Large regular volumes, guaranteed latency |
| Quotas and budgets per application | Prevents drift | Every application in prod |
| Tagging and chargeback | Makes each team accountable | Several teams on the same resource |
1. Pick the smallest model that does the job
According to Azure public prices, GPT-5 mini costs about 5 times less per token than GPT-5, and GPT-5 nano about 25 times less. In the previous generation, GPT-4o mini cost about 15 times less than GPT-4o. Many tasks do not need the flagship model. We test each use case on a set of examples, smallest model first, and only move up if quality requires it. A router that sends simple questions to the small model combines both.
2. Control output tokens
Set a maximum number of output tokens, ask for short or structured answers, and set the reasoning effort to the useful level: high effort multiplies billed tokens without always improving the answer.
3. Make the most of prompt caching
When the beginning of a prompt is identical from one call to the next (from 1,024 tokens), cached tokens are billed at a lower price: about 90% less on the GPT-5 family, 50% on GPT-4o. Put the fixed parts (instructions, examples, reference documents) first, and the variable parts at the end.
4. Move to batch what can wait
The Global Batch deployment processes requests asynchronously, within 24 hours, at half price. It is the right choice for document classification, data enrichment or evaluations.
5. PTU or pay-as-you-go
PTUs (Provisioned Throughput Units) reserve throughput, with predictable latency. By the hour they are expensive; a monthly or yearly reservation brings their price down to about a third of the hourly rate, according to public prices. They only pay off with a high, regular volume: we compare last month's per-token cost with the cost of the PTUs needed before any decision.
6. Set quotas and budgets per application
Create one deployment per application, with its own tokens-per-minute quota, or go through an API Management gateway that limits and counts tokens per consumer. A budget with an alert in Cost Management, per resource group, flags drift within days rather than at month end.
7. Tag to know who consumes
A resource shared by ten teams produces a single bill line. An application tag on each resource, or token metrics per consumer at the gateway, make chargeback possible. To go further, our AI FinOps offer sets up this steering end to end.