{"uid":"cap_RHEZrX0FjlfwnzdyKLNHF","slug":"llm-rate-limit-capacity-planner-0e1ea880","name":"LLM Rate Limit & Capacity Planner","description":"Sustainable requests per minute under RPM and TPM limits, job duration for N requests, and concurrency needed.","url":"https://llm-cost-calc.x402tookit.com/rate-limit-plan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["requestsPerMinuteLimit","tokensPerMinuteLimit","tokensPerRequest"],"properties":{"totalRequests":{"type":"integer","description":"Size of the job in requests (default 1000)"},"tokensPerRequest":{"type":"number","description":"Average tokens counted per request"},"secondsPerRequest":{"type":"number","description":"Average latency of one request, to compute concurrency (default 5)"},"tokensPerMinuteLimit":{"type":"number","description":"Provider tokens-per-minute limit (input + output as your provider counts)"},"requestsPerMinuteLimit":{"type":"number","description":"Provider requests-per-minute limit"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"jobHours":{"type":["null","number"]},"limitedBy":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"jobMinutes":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"concurrencyNeeded":{"type":["null","number"]},"tokensPerMinuteUsed":{"type":["null","number"]},"requestsAllowedByRpm":{"type":["null","number"]},"requestsAllowedByTpm":{"type":["null","number"]},"rpmUtilizationPercent":{"type":["null","number"]},"tpmUtilizationPercent":{"type":["null","number"]},"sustainedRequestsPerMinute":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cydL10FvJjvwG1uXsodoo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates sustainable requests per minute, job duration, and concurrency needed given RPM and TPM provider limits and tokens per request.","exampleAgentPrompt":"Given my LLM provider's limits of 500 requests per minute and 100,000 tokens per minute, with an average of 800 tokens per request and about 3 seconds per request, how long will it take to process 5,000 requests and how many concurrent calls do I need?","exampleUseCases":[{"title":"Batch job duration estimation","prompt":"I need to process 20,000 documents through GPT-4 and my plan allows 200 requests per minute and 80,000 tokens per minute. Each request uses about 1,200 tokens and takes around 4 seconds. How long will the whole job take and what concurrency should I run?"},{"title":"Throughput bottleneck diagnosis","prompt":"My OpenAI tier gives me 3,000 requests per minute and 250,000 tokens per minute. My average request uses 500 tokens. What's my sustainable requests-per-minute rate and am I being throttled by RPM or TPM?"},{"title":"Concurrency planning for real-time pipeline","prompt":"I'm building a live processing pipeline — my provider caps me at 60 requests per minute and 40,000 tokens per minute, each request averages 1,500 tokens and takes 6 seconds. How many parallel workers do I actually need to hit that throughput?"}],"resultDescription":"Returns the sustainable requests per minute achievable under both RPM and TPM limits, which limit is the binding constraint, estimated job duration in minutes and hours for N total requests, concurrency needed, utilization percentages for both RPM and TPM, and a plain-English summary and verdict.","failureModes":["Missing required parameters (requestsPerMinuteLimit, tokensPerMinuteLimit, tokensPerRequest) returns validation error","Zero or negative token/rate values may produce division errors or nonsensical results","Very high token counts per request exceeding TPM limit entirely may return zero sustainable rate","Payment failure ($0.02 USDC) prevents the request from being processed"],"whenToPreferThis":"Use this endpoint when you need to plan or validate a batch LLM workload against a provider's rate limits, determine the binding constraint (RPM vs TPM), estimate job completion time, or figure out how many concurrent workers to spin up. Prefer this over manual calculation when both RPM and TPM limits interact and you need to know which one dominates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:17.507Z","isFirstParty":false,"canonicalSlug":"llm-rate-limit-capacity-planner-0e1ea880"}