Guide
Veo 3 API rate limit: how to queue, retry and use callbacks on TapModels
Prices checked Nov 26, 2026 · 3 min read

The Veo 3 API rate limit on TapModels is 20 new tasks per 10 seconds per account, by default. Submit faster and you get 429 with the error code rate_limited and a Retry-After header. That limit is ours, taken from our API contract, not Google's. We did not fetch Google's limits for this page, so we state none. If you need them, read Google's current documentation.
What the limit covers
From the API contract, the parts that matter for Veo:
- The limit counts new tasks submitted: 20 per 10 seconds per account.
- An over-limit submit gets
429with coderate_limitedandRetry-After. - A rejected submit creates no task, so nothing is held and nothing is charged.
- The contract sets no separate cap on how many tasks run at once, and none on how often you poll
GET /v1/tasks/{id}. If your plan depends on either, check the docs.
Limits are per account, not per key. Two keys on one account share the same 20 per 10 seconds.
The arithmetic of a batch
20 tasks per 10 seconds is 2 per second. A batch of 100 Veo clips needs at least 100 / 20 = 5 windows of 10 seconds, so 50 seconds just to submit.
Credits matter as much as speed. Each task holds its estimate when it is submitted:
| Batch | Tier | Hold per clip | Credits held |
|---|---|---|---|
| 100 clips | Fast 720p | $0.30 | $30.00 (3,000 credits) |
| 100 clips | Fast 1080p | $0.325 | $32.50 (3,250 credits) |
| 100 clips | Quality 1080p | $1.275 | $127.50 (12,750 credits) |
If your balance minus held credits is below a new task's estimate, that submit returns 402 insufficient_credits. A 100-clip Quality batch needs $127.50 free before it starts. Check GET /v1/balance first, and read the Veo 3.1 Fast vs Quality guide for tier prices.
Retry with retry-after
import os, random, time, requests
BASE = "https://api.tapmodels.com/v1"
H = {"Authorization": f"Bearer {os.environ['TAPMODELS_API_KEY']}"}
def submit(body, max_tries=6):
for attempt in range(max_tries):
r = requests.post(f"{BASE}/tasks", headers=H, json=body)
if r.status_code == 429:
wait = float(r.headers.get("Retry-After", 2 ** attempt))
time.sleep(wait + random.random())
continue
r.raise_for_status()
return r.json()
raise RuntimeError("still rate limited after retries")
Do not retry 402 (top up or raise the key's limit) or 422 (fix the input). Retrying them wastes calls. The same helper shape works for any API that sends Retry-After, and we cover OpenAI's version in the OpenAI rate limit guide.
Queue instead of looping
A bare for loop hits the limit and spends its time in retries. Pace the loop instead and stay under 20 submits per 10 seconds on your side.
prompts = [f"Shot {i}: a paper boat on a rain gutter" for i in range(100)]
ids = []
for i, p in enumerate(prompts):
task = submit({"model": "veo-3-1",
"input": {"prompt": p, "mode": "Fast", "resolution": "720p"},
"callback_url": "https://your.app/hooks/tapmodels"})
ids.append(task["id"])
if (i + 1) % 20 == 0:
time.sleep(10)
Sleeping 10 seconds after every 20 submits keeps you at the limit without hitting it. A batch of 100 finishes submitting in about 40 seconds of sleeps plus request time.
Use callback_url for batches
Polling 100 tasks every 3 seconds adds about 33 requests a second of your own traffic. A callback is cheaper: pass callback_url and we POST the task object when it reaches succeeded or failed. The request carries an X-Signature header in the form t=<unix>,v1=<hex hmac-sha256 of "t.body">, signed with your account's webhook secret.
import hashlib, hmac
def verify(secret: str, header: str, body: bytes) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
signed = f"{parts['t']}.".encode() + body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts["v1"])
Reject requests whose timestamp is old. If your server returns a non-2xx response, we retry with backoff for 24 hours, so the same task can arrive twice. Key your handler on the task id. Output files are kept for 14 days, so download them as callbacks arrive.
When you still hit the wall
- Many workers sharing one account need one queue in front of them. Per-worker pacing adds up to more than 20 per 10 seconds.
- If retries fire together, add the random delay shown above.
- A task that ends
failedwithupstream_errorcharges 0 credits. Resubmit it through the same queue. - If a nightly batch needs more than the default limit, check the docs for how to ask about it. The contract states only the default.
Next step: the full request and error table is in the Veo 3 API guide.
Frequently asked questions
What is the Veo 3 API rate limit on TapModels?
By default, 20 new tasks per 10 seconds per account. Going over returns HTTP 429 with the code rate_limited and a Retry-After header. This is our own limit, set in our API contract. It is not Google's, and we state no Google limit here because we did not fetch one.
How do I handle a 429 from the Veo API?
Read the Retry-After header, wait that many seconds, then resubmit the same request. Add a little random delay so parallel workers do not retry together, and cap the number of attempts. A 429 task was never created, so nothing is held or charged.
Does the rate limit cap how many videos run at once?
Our contract states the limit for new tasks submitted per 10 seconds. It gives no separate cap on tasks running at the same time. Your balance matters too: credits are held at submit, and a submit that would exceed your balance minus held credits returns 402.
Should I poll or use callback_url for many Veo clips?
Use callback_url for batches. Polling 100 tasks every few seconds adds requests of its own, while a callback sends you each task once it reaches a final status. Verify the X-Signature header and make the handler safe to run twice, since failed deliveries are retried.
Sources
- TapModels API contract (rate limit and error codes) · checked Nov 26, 2026