Skip to content

Limits

Requests and tokens per minute, and caps in credits, for the project, each key, each task and each person.

Applies to EngineCloud
View as Markdown
On this page
  1. Who a limit applies to
  2. What a limit counts
  3. Notices
  4. Limits above yours

Who a limit applies to

ScopeExample at La EspigaSet in
Projectall of the project’s AIai.limits.project in sypnia.toml
Keythe key used by the morning jobai keys create … --credits-per-day
Taskallergen-answerthe route’s limits
Use caseask-about-a-productai.limits.cases in sypnia.toml
Person of your appeach customer who asksthe route’s limits.end_user

What a limit counts

KindMeaningWhen it is reached
requests_per_minutecalls started in a minute429 rate_limited, with retry-after
tokens_per_minutetokens read and written in a minute429 rate_limited, with retry-after
requests_per_daycalls in a day (people of your app)429 end_user_limit
credits_per_day, credits_per_monthcredits spent402 budget_exceeded, naming the scope
sypnia.toml
[ai.limits]
project = { credits_per_month = 20000 }
cases = { ask-about-a-product = { credits_per_day = 400 } }

[ai.tasks.allergen-answer]
limits = { requests_per_minute = 120, end_user = { requests_per_day = 40, credits_per_day = 10 } }

The numbers are La Espiga’s own choices.

Notices

At 80 % and 100 % of every cap in credits, the project’s owners and admins get a notice in App and an e-mail. Days and months follow the calendar, in your organization’s time zone.

Limits above yours

  • Your organization’s spending limits, set in App for the organization, a project or a product, also apply: past them, 402 spending_limit_reached. Cloud
  • Your plan sets how many requests and tokens per minute a project can reach; the values are published with the plans. Cloud
  1. Who a limit applies to
  2. What a limit counts
  3. Notices
  4. Limits above yours

    Search pages, sections and terms