Skip to content

Routing and reliabilityGuide

Azure OpenAI 429: tokens-per-minute quota and how to fix it

An Azure OpenAI 429 is the deployment telling you it spent its tokens-per-minute or requests-per-minute allowance. This guide covers where those limits come from, how to read the error, and which fixes add capacity: more quota, more deployments, or the same model on the OpenAI API.

By INFRO Editorial

Published

10 min read

Luminous routing paths connecting one application node to many AI model endpoints

In short

An Azure OpenAI 429 ("rate limit exceeded") means the deployment reached its tokens-per-minute or requests-per-minute limit, both set by the TPM you assigned it from your subscription's quota 1. Back off, raise or request quota, add capacity in another deployment, region or subscription, or fail over to the same model on the OpenAI API after a data-handling review.

Key takeaways

  • A 429 from Azure OpenAI is a per-deployment limit: the TPM you assigned sets the token limit, and a model-specific ratio sets the RPM limit.
  • RPM is enforced over 1- or 10-second windows, so a bursty client can get 429s while its per-minute average is under the limit.
  • Where quota is pooled depends on the model: Microsoft describes subscription-level pools for onboarded models and per-region, per-model pools for the rest, so check the Scope column before adding deployments.
  • Extra deployments only add capacity if they draw on separate quota; the same pool split two ways adds nothing.
  • Failing over to the same model on the OpenAI API adds an independent limit, but it sends prompts to a different operator, so review data handling first.

What an Azure OpenAI 429 means

A 429 from Azure OpenAI means one deployment has used up its rate limit. Microsoft's quota documentation says that when a deployment reaches its tokens-per-minute (TPM) limit, further requests get an HTTP 429 until token capacity becomes available1. The "rate limit exceeded" message in your logs is the same event. It is not an outage, and it is not an account-wide block: the limit belongs to a single deployment.

Two limits can trigger it. The TPM limit counts tokens, and the RPM (requests-per-minute) limit counts calls. Each response carries headers that show where you stand: x-ratelimit-limit-requests, x-ratelimit-limit-tokens, x-ratelimit-remaining-requests, x-ratelimit-remaining-tokens, and reset times for each. A 429 response also includes retry-after-ms, the wait Azure recommends before retrying1.

Read those headers before you change anything. If remaining-tokens is near zero when the 429 lands, you are token-bound: prompts or completions are too large for the TPM assigned. If remaining-requests is the one that collapses, you are request-bound, often from many small calls or a burst. The fix differs, and so does the arithmetic in the next section.

How TPM and RPM relate

You do not set TPM and RPM independently. When you assign TPM to a deployment, that value maps directly to the token limit enforced on its requests, and an RPM limit is set proportionally by a ratio that varies by model1. Quota is allocated in units of capacity, and each unit carries a fixed amount of both.

Model family1 capacity unit givesRPM per 1,000 TPM
Older chat models6 RPM, 1,000 TPM6
o3, o4-mini1 RPM, 1,000 TPM1
o1 and o1-preview1 RPM, 6,000 TPM0.17
o3-mini, o1-mini, o3-pro1 RPM, 10,000 TPM0.1
Capacity units from Microsoft's quota page; the ratio varies by model.

The tier tables show the same thing from the other side. At Tier 1, gpt-5.4 on Global Standard is listed at 2,500 RPM and 250,000 TPM, while the Data Zone Standard row is 100 RPM and 100,000 TPM2. The page also notes that for gpt-chat-latest some versions use 10 RPM per 1,000 TPM and newer ones use 1 RPM per 1,000 TPM2. So never assume a ratio: read it for your model, version and deployment type, and be careful when deploying programmatically, because a different ratio can silently misallocate quota1.

Two details change how 429s look in practice. First, the token count uses actual input and generated tokens, not the max_tokens you configured, so a high output cap does not reserve anything1. Second, RPM is not a per-minute bucket. Azure evaluates the request rate over a short window, typically 1 or 10 seconds, and returns 429 if the count in that window exceeds what the RPM limit implies. A 600-RPM deployment can throttle if more than 10 requests arrive within a one-second window1.

Where quota lives: deployment, region, subscription

Quota is held by the subscription, then divided among deployments. Microsoft describes it as assigned to your subscription per region, per model and per deployment type, in units of TPM. You assign TPM to each deployment as you create it, and the available quota for that model drops by that amount1. The doc's own example: with 240,000 TPM of GPT-4o in East US, you can make one 240K deployment, or two of 120K, as long as the total stays within that region's quota1.

That is the per-deployment, per-region model, and it is why splitting one pool into more deployments does not add a token. It only divides what you have.

There is a newer wrinkle. Microsoft says subscription-level quota management started after May 7, 2026, and is rolling out model by model. For onboarded models, Global Standard deployments of the same model and version share one pool across all regions in the subscription, and Data Zone Standard deployments share one pool per data zone, such as US or EU2. Models not yet onboarded keep per-region limits3. The Scope column on the Foundry portal's Quota page tells you which applies to a model: "Global" or "Data Zone" means subscription-level management, and a region name means per-region management3.

This matters for the fixes below. If your model uses a Global pool, a second Global deployment in another region in the same subscription draws on the same quota. Check the scope before you build a topology around regions.

Limits also move with your subscription's tier. Microsoft documents seven tiers (Free, then Tier 1 to 6) that rise automatically with usage, influenced by payment history and enterprise agreements, and you can opt out of automatic upgrades with a NoAutoUpgrade flag2. Microsoft also says quota is not the recommended tool for managing spend3.

Fix one: retry properly, then trim the load

Before adding capacity, make sure your client is not creating the problem. Microsoft's guidance is retry with exponential backoff and random jitter, honour retry-after-ms when present, and cap the retries at something like 5 to 101. The Python SDK retries 429s by default, twice, and you can raise max_retries1. If you use your own retry library, set the SDK's max_retries to 0 so the two do not multiply.

retry.py
from openai import OpenAI

client = OpenAI(
    base_url="https://YOUR-RESOURCE.openai.azure.com/openai/v1/",
    api_key="...",
    max_retries=5,  # SDK backs off with jitter and respects retry headers
)

resp = client.chat.completions.create(
    model="my-gpt-deployment",  # your deployment name
    messages=[{"role": "user", "content": "Summarise this ticket."}],
)

Retries fix bursts, not sustained overload. If the deployment is saturated for minutes, retries only add load: failed requests still count against the per-minute limit1. Then cut tokens. Shorten prompts, limit generated output to what the feature needs, and smooth your traffic so requests are spread across the minute rather than released in a wave. Watch x-ratelimit-remaining-tokens and throttle on the client before the 429 arrives.

Fix two: more quota

If the deployment is genuinely too small, there are two routes. The first is internal: free TPM from a deployment that is oversized and reassign it. In the Foundry portal, open the deployment's Quota pane, find "Affiliated deployments using shared quota" and edit the allocation1. Allow up to 15 minutes for the change to propagate.

The second is a quota increase request. In the Foundry portal, go to your project, select Manage, then Quota, choose Token per minute or Provisioned throughput unit, and select Request quota. If the portal will not let you submit, Microsoft points to the legacy request form1. Know the constraints before you rely on it:

  • Submitting a request does not guarantee approval. Requests are processed in order, with priority for customers who actively use their existing quota, and a request can be denied if you are not using what you have1.
  • Free tier (Tier 0) subscriptions are not eligible2.
  • An approved increase adds quota but does not change your tier or bypass model-access requirements2.
  • Quota increases are generally not available for partner and community models1.

Treat an increase as a planned change, not an incident response. If the 429s are costing you right now, you need one of the capacity fixes below in the meantime. For steady, high-volume workloads, provisioned throughput is the other option, and provisioned throughput vs pay-as-you-go covers when it pays.

Fix three: another deployment, region or subscription

More deployments add capacity only when they draw on separate quota. The honest test is to look at the Quota page: do two deployments appear under the same shared pool, or under different ones?

Options that typically give you a separate limit, subject to the scope rules above:

  1. A different region, for models with per-region quota. Each region has its own TPM allowance, so a second deployment in another region has its own headroom3.
  2. A different deployment type. Global Standard and Data Zone Standard are described as separate pools2. Note that they differ in where prompts may be processed, which is a data-handling question rather than a capacity one4.
  3. A different subscription. Quota is scoped at the subscription level, not the tenant2. A second subscription brings its own quota, though its tier and eligibility are evaluated separately.

Each extra deployment is its own endpoint with its own key and deployment name, so your application needs a way to choose among them. Doing that in application code means a list of clients, a counter, and your own handling for which one just returned 429. It works, but it is the part teams most often get subtly wrong: round-robin that ignores a throttled deployment keeps sending it traffic.

Fix four: the same model on the OpenAI API

The last option is a different operator altogether. The OpenAI API serves the same model family under its own organization and project limits, independent of any Azure quota. When Azure is saturated, a request for the same model can go there instead. The two products have different identifiers (a model id on OpenAI, your deployment name on Azure) and different error vocabularies, so your calling layer must map between them. Azure OpenAI vs the OpenAI API compares what differs.

Do not fail over blindly, because the two hosts can differ on data handling. This is a point for your own review, not a claim either way. Microsoft's page says Azure keeps prompts and completions in the customer-specified geography unless you use a Global or Data Zone deployment type, in which case processing can happen in other geographies, and that its models do not interact with OpenAI's own services such as the OpenAI API4. A fallback to the OpenAI API therefore sends the same prompt to a separate service, with its own retention, abuse-monitoring and location terms. Read OpenAI's current terms against your data classification, and decide which workloads may fail over and which must not. Also confirm the fallback model really is the same model and version, not a near neighbour; is your fallback model good enough covers the check.

Letting a gateway do the spreading

Everything above can live in application code, but it is routing logic, and a gateway is a natural home for it. In INFRO you connect your own accounts, so each Azure deployment (a resource, a deployment name and its key) is its own connection, and the OpenAI account is another5. Your provider bills you directly; INFRO adds no markup to model spend.

What happens on a 429 is documented. When a request names a model directly, INFRO tries every enabled, healthy connection that serves that vendor's model, spreading requests across a provider's active keys and trying standby keys and keys that just answered 429 last. When it names a route, it tries the route's targets in priority or weighted order. Every upstream failure before the first token moves on to the next connection, including a 429, and a provider 429 does not count against the connection's health6. A weighted route picks the first target in proportion to its weight and still falls through the rest if it fails; a priority route is a primary with fallbacks7.

call_route.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.infro.io/v1",
    api_key="INFRO_GATEWAY_KEY",
)

# "support-agent" is a route: Azure deployments first, OpenAI last
resp = client.chat.completions.create(
    model="support-agent",
    messages=[{"role": "user", "content": "Where is my order?"}],
)

Three limits to keep in view. Failover moves the request to a different connection; it cannot create quota inside Azure, so it helps only if your targets are backed by separate limits. A connection's alternate hosts are extra API hosts for the same key, tried when the first cannot be reached, which is for reachability, not for adding TPM. And failover happens before the response starts, so a stream that has begun is not moved.

For the data-handling decision, use the controls to enforce it. Put the OpenAI connection only on routes whose traffic you have approved for it, and limit a gateway key to the providers its application should use, so a workload you have kept on Azure is not eligible for the fallback. Gateway keys can also be rotated with an overlap window while you redeploy. Provider quota is short: which requests should survive covers deciding what gets the scarce capacity first.

A short triage list

When the 429s start, work through this in order:

  • Read x-ratelimit-remaining-tokens and -requests on a failing call: token-bound or request-bound?
  • Check the deployment's assigned TPM, and the RPM ratio for that model and version.
  • Confirm retries use backoff, honour retry-after-ms, and are not doubled by two retry layers.
  • Look at the Quota page's Scope for the model: regional or subscription pool?
  • Reassign unused TPM from other deployments, then file a quota request if still short.
  • Add capacity only where it has separate quota: another region, deployment type or subscription.
  • Decide, with your data owner, which traffic may fail over to the OpenAI API.

Questions readers ask

Does a higher max_tokens make Azure OpenAI return 429 sooner?
According to Microsoft's quota page, token rate-limit calculations use actual input and generated tokens, not the configured maximum output-token value, so a higher max_tokens does not reserve TPM 1. Oversized prompts and long answers are what consume the budget.
How long does a quota change take to apply?
Microsoft says to allow up to 15 minutes after you edit an allocation or submit a request, then refresh the Quota page to confirm 1. Approval of a request is separate and is not guaranteed.
Will retrying immediately fix a 429?
No. Microsoft notes that unsuccessful requests still count toward your per-minute limit, so resending without backing off makes throttling worse 1. Wait for the retry-after-ms value when the response includes it.
Can I get Azure OpenAI quota increased on a free-tier subscription?
Not through the request flow. Microsoft states that Free tier (Tier 0) subscriptions are not eligible for quota increases; they use the quota available at their tier until the subscription moves to a higher one 2.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Manage Azure OpenAI in Microsoft Foundry Models quota (opens in a new tab) — Microsoft Learn. Accessed Nov 25, 2026.
  2. 2.Azure OpenAI in Microsoft Foundry Models quotas and limits (opens in a new tab) — Microsoft Learn. Accessed Nov 25, 2026.
  3. 3.Microsoft Foundry Models quotas and limits (opens in a new tab) — Microsoft Learn. Accessed Nov 25, 2026.
  4. 4.Data, privacy, and security for Models sold by Azure in Microsoft Foundry (opens in a new tab) — Microsoft Learn. Accessed Nov 25, 2026.
  5. 5.Connect a provider (opens in a new tab) — INFRO Docs. Accessed Nov 25, 2026.
  6. 6.Failover & fallbacks (opens in a new tab) — INFRO Docs. Accessed Nov 25, 2026.
  7. 7.Routes (opens in a new tab) — INFRO Docs. Accessed Nov 25, 2026.

About this article

Read on 2026-11-25: Microsoft Learn's Azure OpenAI quotas and limits, quota management, Foundry Models quotas and data-privacy pages, and INFRO's docs pages on failover, routes and provider connections. OpenAI's own retention and rate-limit terms were not read for this post, so nothing is claimed about them.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.