429 errors on Gemini Enterprise Agent Platform: a playbook
The path below applies to any generative model you call on Gemini Enterprise Agent Platform (formerly Vertex AI). We illustrate it with a real case: in November 2026, a customer launch was blocked by HTTP 429 errors from gemini-3.1-flash-image. The customer had a brand-new Google Cloud organization and billing account, with no prior spend. From about 4 simultaneous requests, requests waited 6β15 minutes on retries. We spent a week measuring the problem with Google. The numbers come from that case. Google Support confirmed the root cause (section 5); the limits themselves change over time.
TL;DRβ
- A 429 on a Gemini model is rarely a project quota. It is usually Dynamic Shared Quota (DSQ): shared capacity that you cannot see or raise in the console.
- Measure before you change anything: burst vs. paced traffic,
trafficTypeper response, andx-goog-request-idfor Google. - A new billing account starts with a hard limit. Google applies an automated initial rate limit to newly created billing accounts: for image-generation models, 1 request every 30 seconds (November 2026). Accounts with an established invoicing history are exempt, and a usage-tier upgrade does not lift the limit: our customer had been moved to Tier 3, and the dashboard showed Tier 3, but the limit stayed. In our case, the same project ran 50 simultaneous requests without a single 429 on an older billing account, and one request per ~30 s on the customer's new one. Only Google can lift the limit (see section 5).
- The Priority PayGo header helps only below a per-organization ceiling, only on the endpoints where the model supports it, and only if Google has enabled it for the model.
- The only assured capacity is Provisioned Throughput (PT). It is billed per GSU, for a week or longer: about 1,200 USD per GSU-week on
globaland 1,320 USD oneu(list price, November 2026). Forgemini-3.1-flash-image, 1 GSU covers about 53 1K images per hour, so a few GSUs for a launch week quickly cost thousands.
1. Classify the 429β
| Message | Meaning |
|---|---|
Resource has been exhausted (e.g. check quota). | Rejected at Google's admission layer. Generic text: despite the wording, usually not a project quota. This was ~99% of our errors. |
Resource exhausted. Please try again later. β¦error-code-429β¦ | Admitted, then rejected by a busy model backend. |
Quota exceeded for aiplatform.googleapis.com/<metric>β¦ | A real project quota. Raise it on the Quotas page. |
Make sure no quota is involved:
- Quotas & System Limits: filter for
aiplatform.googleapis.comand your model, and look for usage near a limit. Gemini models on Standard PayGo run on DSQ, without a per-project quota. Partner models (for example Claude) use classic per-project quotas, which you can see and raise. - Cloud Monitoring:
serviceruntime.googleapis.com/quota/exceededhas data when a quota rejects you. If it is empty, you are looking at DSQ.
2. Rule out the basicsβ
- Budget or spend cap: a spend cap that pauses Agent Platform calls produces fast 429s on every model and endpoint.
- Endpoint: multi-region (
eu,us) and regional endpoints are separate, smaller pools thanglobal. Check the model card for the consumption options (Standard, Priority, Flex PayGo, PT) that each endpoint supports for your model. - New billing account without invoicing history: the highest-risk setup, and the usual one for a new customer launch. Google confirmed that newly created billing accounts get an automated initial rate limit on image-generation models (1 request every 30 seconds in November 2026); accounts with an established invoicing history are exempt. The limit follows the billing account, not the organization or the project. It does not appear on the Quotas page or in Monitoring. Start the capacity conversation with Google weeks before go-live, and load-test on the customer's own billing account, not on a partner's: an older billing account hides the problem.
- Usage tiers: tiers are calculated from 30-day spend. Google's docs say they are set per organization, apply to the
globalendpoint, and exclude some models (for example the image models). A tier upgrade does not lift the new-billing-account limit. In our case Google moved the customer's organization to Tier 3 on 23 October, the customer saw Tier 3 on the dashboard three days later, and our tests from 4 to 9 November still ran into the 1-request-per-30-seconds limit. Ask your customer engineer to verify what Google actually applies; do not rely on the dashboard badge or an upgrade email.
3. Reproduce and measureβ
Use a load test against the customer's project. Ours is a stdlib Python tool in the Maxon delivery repo: tools/gemini-image-load-test. It is written for an image model, but the request body is easy to swap. It runs bursts (all requests at once), paced launches (--min-start-gap), the Priority header (--priority) and PT headers, and it logs every attempt as JSON lines.
What to record per attempt:
usageMetadata.trafficType:ON_DEMAND(Standard),ON_DEMAND_PRIORITY, orPROVISIONED_THROUGHPUT. Without it you cannot tell whether a header worked.x-goog-request-idand the UTC send time: Google support needs them to trace requests.- Total time per request including retries, not only the model latency. In our case generation took 8β9 s; everything above that was 429 waiting.
Rules that saved us from wrong conclusions:
- One test at a time per project. Two overlapping runs compete for the same capacity.
- Repeat on another day and at another time. Our results varied between runs.
- For a ceiling test, disable retries and use a fixed launch rate, so retries do not distort the rate.
- Note every change to the project in between (billing account, IAM, quotas). The audit log (
AssignResourceToBillingAccount) gives exact times.
4. Levers, cheapest firstβ
| Lever | What it does | What we saw |
|---|---|---|
| Client-side pacing and a concurrency cap | A short queue that starts at most N requests and paces launches; retries also go through the queue. | Pacing halved the 429s and cut the median wait from 7.5 to 2 minutes at 15 requests. It does not raise the ceiling. |
| Retries with jitter | SDK defaults: 1 s first delay, Γ2, at most 60 s, full jitter. Retry 408, 429 and 5xx only. Cap the attempts for interactive traffic. | Needed, but uncoordinated retries from many clients make a retry storm. Retry through the same queue. |
| Billing account history | Newly created billing accounts are rate-limited on image-generation models until they have an invoicing history. | On a billing account with history: 50 simultaneous requests on global and 15 on eu, 0 Γ 429, 11 s. Back on the customer's new billing account: 429s again within a minute. Google Support confirmed the mechanism. Moving the project to an older billing account works only if that is commercially acceptable. |
Priority PayGo (X-Vertex-AI-LLM-Shared-Request-Type: priority) | Higher priority in the shared pool, at a higher price, up to a per-organization ceiling. Above it, requests silently fall back to Standard. Supported endpoints differ per model, and Priority is not always enabled by default. | Google's engineering said Priority PayGo was not configured by default for gemini-3.1-flash-image, so priority requests fell back to Standard. Support's first answer (750,000 TPM per organization) did not match our measurements. Check trafficType, and ask Google to enable Priority as part of the limit request. |
| Support case and customer engineer | Only Google can lift the new-account limit or raise an admission or Priority ceiling. | See section 5. Google reacted within hours once it had the test table and request IDs, but the override itself took days. |
| Provisioned Throughput | Reserved capacity per model and location, outside the shared pool. | The only assured option. See the sizing below. |
What did not help in our case: the global endpoint on its own, random spreading of arrivals, warm-up and keep-alive traffic (this made it worse), and the Priority header on the throttled billing account.
We received precise-sounding explanations of the admission mechanism, partly AI-generated, from several sides, for example "1-second token buckets with 2 Priority and 2 Standard slots". A 5-minute test refuted that one. Treat a mechanism as a hypothesis until a measurement supports it.
5. Request a limit increaseβ
Default limits we were given for gemini-3.1-flash-image (November 2026; Google changes them):
| Limit | Value |
|---|---|
| New billing account, no invoicing history | 1 request every 30 seconds on image-generation models |
| Baseline admission ceiling (established account) | Enforced in burndown tokens per second; about 1 request per second for 1K images (~135,000 burndown tokens each) |
| Priority PayGo | Not configured by default for this model |
The process that worked:
- Open a support case with the measurements: project ID and number, organization ID, billing account, model, endpoints, the test table and request IDs (see the last section). A premium support case needs a billing account with premium support.
- Ask your customer engineer to file an internal emergency quota override with Google's capacity and engineering teams. State the target concurrency, the endpoints (
globaland regional), the model, and the go-live date. Ask for Priority PayGo to be enabled in the same request. - Plan for days, not hours. Support found the cause in about 2 days; the override review was still running on day 3. Start at least 2 weeks before go-live.
- Bridge the gap meanwhile: pace requests to the current limit, use an older billing account if that is acceptable, or buy Provisioned Throughput through the customer engineer.
6. Size Provisioned Throughputβ
- Burndown: every model has its own throughput per GSU and its own burndown rates in the supported models table. Output tokens usually count more than input tokens, and image output counts most. Example: for
gemini-3.1-flash-imagean output image token counts Γ120, so one 1K image costs about 136,000 burndown tokens, and 1 GSU (2,015 tokens/s) covers about 53 images per hour. - Enforcement window: PT checks usage per window, and the window shrinks as you buy more GSUs. Image models have their own window table. Size for the burst you need inside one window, not only for the hourly average. Example: at 1β4 GSUs,
gemini-3.1-flash-imageadmits about 6 images per window; 8 simultaneous images need about 6 GSUs, and 15 need about 11. - Price: about 1,200 USD per GSU-week on
globaland 1,320 USD oneu(list price, November 2026; confirm with Google). Per request, PT usually costs more than Standard PayGo (about twice, in the image example). You buy assurance, not savings. - The admission estimate is not documented. Verify it in the first days with the
dedicatedheader andtrafficType. - Ask what "concurrent" means. "50 concurrent users" and "50 requests in flight" can differ by roughly 5Γ, and the PT bill differs with them.
What to send Googleβ
Project ID and number, organization ID, billing account, model, endpoint, request size. A table of batch size β 429 count β slowest request β
trafficTypemix, for burst and paced traffic. 5β10x-goog-request-idvalues with UTC times (successes, fallbacks toON_DEMAND, 429s). Any change to the project during the tests, with times. The target peak, expressed as requests per minute. The questions: which limit applies, its unit and value, and how to raise it before the go-live date.