A worked example, rendered from real sample data. Sign in to run the tool on your own input.
capacity=100
refill_rate=10
interval=1
requests=50API Rate Limiter
════════════════
Token Bucket Config:
Capacity: 100 tokens
Refill Rate: 10 tokens/1s
Requests: 50
Result:
Allowed: 50
Throttled: 0
Wait Time: 0.00s
Simulate API rate limiting with token bucket, sliding window algorithms and quota management. Part of the DevTools Surf developer suite. Browse more tools in the API / Config collection.