Skip to content

Commit a3fc28b

Browse files
committed
update'
1 parent 1238efa commit a3fc28b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/ai-services/openai/quotas-limits.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ For other rate limits, [submit a service request](../cognitive-services-support-
276276

277277
You can view quota availability by region for your subscription in the [Azure AI Foundry portal](https://ai.azure.com/resource/quota).
278278

279-
Alternatively to view quota capacity by region you can query the [capacity API](/rest/api/aiservices/accountmanagement/model-capacities/list) for your subscription. Provide a `subscriptionId`, `model_name`, and `model_version` and the API will return the available capacity for that model across all regions, and deployment types for your subscription.
279+
Alternatively to view quota capacity by region for a specific model/version you can query the [capacity API](/rest/api/aiservices/accountmanagement/model-capacities/list) for your subscription. Provide a `subscriptionId`, `model_name`, and `model_version` and the API will return the available capacity for that model across all regions, and deployment types for your subscription.
280+
281+
> [!NOTE]
282+
> Currently both the Azure AI Foundry portal and the capacity API will return quota/capacity information for models that are [retired](./concepts/model-retirements.md) and no longer available.
280283
281284
[API Reference](/rest/api/aiservices/accountmanagement/model-capacities/list)
282285

@@ -302,8 +305,9 @@ params = {
302305
}
303306

304307
response = requests.get(url, params=params, headers=headers)
308+
model_capacity = response.json()
305309

306-
print(json.dumps(model_capacities, indent=2))
310+
print(json.dumps(model_capacity, indent=2))
307311

308312
```
309313

0 commit comments

Comments
 (0)