An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Immediately stop or restrict traffic to the gpt-5.6-sol deployment, then reconcile the charge by resource, meter, deployment, and token usage before submitting an Azure billing case for the unexplained amount.
1. Contain further spend
Choose the least disruptive action available:
- Pause application traffic to the deployment at the calling application, gateway, or routing layer.
- If the deployment is not currently required, delete it from Foundry after recording its configuration and exporting the relevant cost/usage evidence.
- If traffic must continue, reduce its assigned TPM:
- Microsoft Foundry → Manage → Quota → Token per minute.
- Open the deployment and edit its quota allocation.
- Allow up to 15 minutes for the change to propagate. TPM/RPM quota limits throughput; they are not monetary spending limits.^1^
The published 25-billion-token monthly usage tier for gpt-5.6-sol is not a cost cap. Usage tiers indicate levels above which response latency might vary; they do not prevent charges.^2^
2. Identify exactly which meter produced the charge
In the Azure portal:
- Open the affected Azure OpenAI resource.
- Select Resource Management → Cost analysis.
- Set the date range to the affected 15 days and choose Daily granularity.
- Change Group by to Meter and use a line chart.
- Record the meter names, quantities, costs, and the first day the increase appeared.
- Repeat at the resource-group or subscription scope:
- Cost Management → Reporting + analytics → Cost analysis.
- Filter Service tier to Azure OpenAI; filtering only by service might show Azure OpenAI under the broader Cognitive Services category.
- Group first by Resource, then by Meter.^3^
This distinguishes token inference from another charging mode or another Foundry-associated resource. Foundry solution costs can include multiple Azure services, not only the model endpoint.^3^
Also inspect Cost Analysis → Smart views → Resources → Insights. Open any anomaly insight to see the daily change by resource group. Anomaly evaluation runs after billing data is available, so it should not be treated as real-time protection.^4^
3. Reconcile billing against model telemetry
Open the Azure OpenAI resource and either:
- Azure portal → resource overview → Go to Microsoft Foundry portal → Tools → Metrics, or
- Azure portal → resource → Metrics.
Compare the spike period with these dashboard categories:
- Tokens-Based Usage
- HTTP Requests
- PTU Utilization, if applicable
- Fine-tuning, if applicable
Break the data down by deployment and API operation where those dimensions are available. Look for a matching rise in input/output tokens or request count, retry storms, agent/tool loops, batch jobs, test pipelines, or an unexpected caller. Azure OpenAI supplies resource dashboards for these usage categories.^5^
If diagnostic settings were not enabled before the incident, historical caller-level attribution might be unavailable: Azure records billing usage, but most user actions are not retrospectively logged. Preserve available application, gateway, activity, and identity logs now.^6^
4. If the measured usage is unauthorized
If token/request telemetry confirms real traffic that your applications cannot account for:
- Disable the affected application credential or identity assignment.
- For API-key authentication, rotate both keys safely:
- Move production clients to one known key.
- Azure OpenAI resource → Keys and Endpoint → Regenerate the unused key.
- Update clients to the regenerated key and verify them.
- Regenerate the other key.^7^
- Review repository secrets, deployment variables, API Management configuration, role assignments, and recent activity-log changes.
- Prefer managed identity over embedded API keys for the replacement configuration.
Key regeneration invalidates the old key immediately, so rotating an actively used key without migrating clients first causes HTTP 401 failures.^7^
5. Escalate the charge
If meter quantities do not reconcile with Azure Monitor/application records—or a credit or billing correction is requested—create a billing support request:
- Azure portal → Help + support.
- Select New support request.
- Choose Billing and the affected subscription.
- Attach:
- Resource ID and deployment name
- Exact UTC start/end dates
- Cost Analysis export grouped by resource and meter
- Token/request metric screenshots or exports
- Expected baseline and the 214K variance
- Relevant application/gateway logs
- Containment time and actions
Azure billing and subscription support is available continuously for assistance understanding Azure usage.^8^
Finally, configure Cost Management anomaly and budget alerts. These provide notification, not a native real-time dollar hard stop; enforce immediate protection through gateway request/token quotas or automated traffic blocking.^9^
References
- Manage Azure OpenAI in Microsoft Foundry Models quota
- Azure OpenAI in Microsoft Foundry Models quotas and limits
- Plan to manage costs for Azure OpenAI in Azure AI Foundry Models
- Identify anomalies and unexpected changes in cost
- Monitor Azure OpenAI
- Understand the terms in your Azure usage and charges file
- Rotate API keys
- Manage costs and billing for your Azure resources
- Hi, is there any way put a limit and do a stop based on cost in Azure AI Foundry GPT model deployed ? - Microsoft Q&A