Rate limit tiers
TinyFn uses rate limiting to ensure fair usage and maintain API stability.| Plan | Price | Requests/month | Requests/minute |
|---|---|---|---|
| Free | $0 | 100 | 10 |
| Starter | $5/mo | 10,000 | 100 |
| Pro | $15/mo | 100,000 | 1,000 |
Rate limit headers
Every API response includes headers showing your current usage:| Header | Description |
|---|---|
X-RateLimit-Limit | Your rate limit per minute |
X-RateLimit-Remaining | Requests remaining in current window |
X-RateLimit-Reset | Unix timestamp when the limit resets |
Rate limit exceeded
When you exceed your rate limit, you’ll receive a429 Too Many Requests response:
Best practices
Implement exponential backoff
Implement exponential backoff
When you receive a 429 response, wait before retrying:
Cache responses
Cache responses
For endpoints with stable outputs (like validation), cache results to reduce API calls.
Batch requests
Batch requests
Where possible, combine multiple operations into fewer requests.
Need higher limits?
Upgrade your plan
Get higher rate limits with Pro or Business plans