Skip to main content

Overview

Caspen applies a single throttle: 60 requests per minute for each API key. The throttle window starts when you make the first request and resets 60 seconds later, at which point the allowance refills to 60 calls.

Current limit

Reset behavior

When you send a request, the counter tracks how many calls you have made in the last 60 seconds. Once a call becomes older than 60 seconds, it no longer counts against the quota. There is no separate daily or monthly limit.

Response headers

Every response includes throttling headers so you can monitor usage:

When you exceed the limit

If you send more than 60 requests within 60 seconds, Caspen returns 429 Too Many Requests with a short error body and backoff headers.
Wait for the number of seconds indicated in Retry-After or until the time reported in X-RateLimit-Reset before sending the next request.