Skip to content

Commit 3195e9c

Browse files
Merge pull request #7450 from msakande/ptu-spillover-updates
updates to spillover for PTU doc
2 parents 7c115be + ba8d8d7 commit 3195e9c

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

articles/ai-foundry/openai/how-to/spillover-traffic-management.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: mopeakande
66
ms.service: azure-ai-foundry
77
ms.subservice: azure-ai-foundry-openai
88
ms.topic: how-to
9-
ms.date: 09/03/2025
9+
ms.date: 10/02/2025
1010
---
1111

1212
# Manage traffic with spillover for provisioned deployments
@@ -27,7 +27,25 @@ Spillover manages traffic fluctuations on provisioned deployments by routing ove
2727
To maximize the utilization of your provisioned deployment, you can enable spillover for all global and data zone provisioned deployments. With spillover, bursts or fluctuations in traffic can be automatically managed by the service. This capability reduces the risk of experiencing disruptions when a provisioned deployment is fully utilized. Alternatively, spillover is configurable per-request to provide flexibility across different scenarios and workloads. Spillover can also now be used for the [Azure AI Foundry Agent Service](../../agents/overview.md).
2828

2929
## When does spillover come into effect?
30-
When spillover is enabled for a deployment or configured for a given inference request, spillover is initiated when a non-200 response code is received for a given inference request. When a request results in a non-200 response code, the Azure OpenAI automatically sends the request from your provisioned deployment to your standard deployment to be processed. Even if a subset of requests is routed to the standard deployment, the service prioritizes sending requests to the provisioned deployment before sending any overage requests to the standard deployment, which may incur additional latency.
30+
When you enable spillover for a deployment or configure it for a given inference request, spillover initiates when a specific non-`200` response code is received for a given inference request as a result of one of these scenarios:
31+
32+
- Provisioned throughput units (PTU) are completely used, resulting in a `429` response code.
33+
34+
- You send a long context token request, resulting in a `400` error code. For example, when using `gpt 4.1` series models, PTU supports only context lengths less than 128k and returns HTTP 400.
35+
36+
- Server errors when processing your request, resulting in error code `500` or `503`.
37+
38+
When a request results in one of these non-`200` response codes, Azure OpenAI automatically sends the request from your provisioned deployment to your standard deployment to be processed. Even if a subset of requests is routed to the standard deployment, the service prioritizes sending requests to the provisioned deployment before sending any overage requests to the standard deployment, which might incur additional latency.
39+
40+
## How to know a request spilled over
41+
42+
The following HTTP response headers indicate that a specific request spilled over:
43+
44+
- `x-ms-spillover-from-<deployment-name>`. This header contains the PTU deployment name. The presence of this header indicates that the request was a spillover request.
45+
46+
- `x-ms-<deployment-name>`. This header contains the name of the deployment that served the request. If the request spilled over, the deployment name is the name of the standard deployment.
47+
48+
For a request that spilled over, if the standard deployment request failed for any reason, the original PTU response is used in the response to the customer. The customer sees a header `x-ms-spillover-error` that contains the response code of the spillover request (such as `429` or `500`) so that they know the reason for the failed spillover.
3149

3250
## How does spillover affect cost?
3351
Since spillover uses a combination of provisioned and standard deployments to manage traffic fluctuations, billing for spillover involves two components:

0 commit comments

Comments
 (0)