Usage Limits

Usage limits are the number of runs that a user can make to the Langbase API within their subscription plan.


Overview

We offer the folllowing runs and overage limits for each subscription plan:

PlanRunsOverage
Hobby1,000-
Pro20,000$0.002/run
EnterpriseContact UsContact Us
Note

What is a run?

Each run is an API request which can have at the max 1,000 Tokens in it which is equivalent to almost 750 words (an article). If your API request has, for instance, 1500 tokens in it, it will count as 2 runs.

Free Users

The usage limit for free tier users is as follows:

  • Limit: 1000 runs per month.
  • Overage: No overage.

Pro/Enterprise Users

The first 20K runs in Pro tier are included in the subscription. After that, each run costs $0.002. So there are no hard usage limits for Pro or Enterprise. Instead, users in these tiers are billed according to the number of runs made within each billing period.

If you have questions about your usage or need assistance, please don't hesitate to contact us.


Usage Limit Headers

Free tier runs to the Langbase API have the following response headers. These headers convey status of the usage limits.

HeaderDescription
lb-usagelimit-limitThe usage limit applicable to your request.
lb-usagelimit-remainingThe number of runs remaining in the current usage limit window.
lb-usagelimit-usedThe number of runs made in the current usage limit window.

About Usage Limits

  • If a free tier user exceeds the usage limit, an HTTP status code 403 USAGE_EXCEEDED error will be sent.

  • Usage limits are applied on a per-user or per-organization basis. For organizations, all runs made by the organization are collectively restricted within a single limit window.