API Batch Time Calculator
Check whether a batch will finish within its processing window given request limits, token limits and parallel workers.
Loading calculator…
Results are estimates for informational purposes only. Consult professionals for important decisions.
How to use this calculator
Use the quota and time available to your job
Start with current request and token budgets after allowing for shared traffic. Measure how long an ordinary request remains in flight. Use input or output tokens according to your provider’s accounting.
Space starts and wait for a slot
Use the slower interval implied by the request and token budgets, rounded up to a millisecond. Start the first request immediately and each subsequent one when both the spacing and a parallel slot allow it. Include the last request’s full response time.
Work through a 500-request batch
At 120 requests per minute and 60,000 tokens per minute with 1,000 tokens per request, start at most once per second. Three slots with four-second requests begin at seconds 0, 1 and 2, then 4, 5 and 6. The last request finishes at 669 seconds, leaving 51 seconds in a 12-minute window.
Frequently asked questions
Which tokens should I count?
Will my actual job take exactly this long?
Related calculators
Cloud Spend Guardrails Calculator
Calculate safe cloud spend limits and set alert thresholds. Project spend growth and maintain margins.
Hardware vs Cloud Compute Cost (AI)
Compare owned GPU hardware vs cloud compute monthly cost, including capex amortization, power/colo, bandwidth, labor, egress, and hybrid overflow.