Rate Limits
Langbase API sets limits on how often users or organizations can request the API within a specific time period.
Free Tiers
The rate limit for free tier users is as follows:
- Limit: 1 request per second
Pro Tiers
The rate limit for pro and enterprise tier users is as follows:
- Limit: 10 requests per second
Custom enterprise packages can go upto 1K requests per second. Contact us for higher limits.
Unauthenticated Requests
If your request does not have a valid API key, it is considered an unauthenticated request. Limits for them are:
- Limit: 60 requests per minute
- Reset Interval: 60 seconds
Rate Limit Headers
When you make a request to the Langbase API, it returns the following response headers. These headers convey you the rate limit status.
Header | Description |
---|---|
lb-ratelimit-limit | The rate limit applicable to your request. |
lb-ratelimit-remaining | The number of requests remaining in the current rate limit window. |
lb-ratelimit-reset | The time at which the current rate limit window resets. |
About Rate Limits
-
If you exceed the rate limit, you will receive an HTTP status code
429 Too Many Requests
error. -
Rate limits are applied on a per-user or per-organization basis. For organizations, all requests made by the organization are collectively restricted within a single limit window.
-
These limits are subject to adjustment and may differ depending on your subscription plan.
-
If you need higher rate limits, please contact us.