Hello Gareth Jayne,
Greetings and Welcome to Microsoft Q&A! Thanks for posting the question.
I understand that you are increased the rate limit to maximum and still encountering the issue.
I attempted to reproduce the issue in my environment, and it is working correctly for me.
To give more context, As each request is received, Azure OpenAI computes an estimated max processed-token count that includes the following:
- Prompt text and count
- The max_tokens parameter setting
- The best_of parameter setting
As requests come into the deployment endpoint, the estimated max-processed-token count is added to a running token count of all requests that is reset each minute. If at any time during that minute, the TPM rate limit value is reached, then further requests will receive a 429 response code until the counter resets. For more details, see Understanding rate limits.
Please see Manage Azure OpenAI Service quota for more details.
If you are using Azure AI studio:
You can view your quotas and limits in Azure AI studio Model Quota section.
Did you check if you have exceeded the quota limit for your Azure OpenAI resources? You can view your quotas and limits in Azure AI studio Model Quota section.
Please see Manage and increase quotas for resources with Azure AI Studio for more details.
If you are using OpenAI studio:
To view your quota allocations across deployments in a given region, select Shared Resources> Quota in Azure OpenAI studio and click on the link to increase the quota*.*
Also, to minimize issues related to rate limits, it's a good idea to use the following techniques:
- Set max_tokens and best_of to the minimum values that serve the needs of your scenario. For example, don’t set a large max-tokens value if you expect your responses to be small.
- Use quota management to increase TPM on deployments with high traffic, and to reduce TPM on deployments with limited needs.
- Implement retry logic in your application.
- Avoid sharp changes in the workload. Increase the workload gradually.
- Test different load increase patterns.
Hope this helps. Do let me know if you have any further queries.
If the response helped, please do click Accept Answer
and Yes
for was this answer helpful.
Thank you!