OpenRouter's guardrails let a team enforce spending limits across its AI applications without adding budget checks to each ApplicationSoftware arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.Full definition →. Limits can apply to individual APIApplication programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.Full definition → keys or team members, with daily, weekly or monthly resets. Requests exceeding the applicable limit are rejected.
The accounting detail matters: assigning the same guardrail to several people gives each person a separate allowance. A member's overall limit and each key's limit are checked independently, so creating additional keys does not bypass the member-level cap. This gives teams separate controls over an application's spending and a person's combined usage.
Terms in this piece · Glossary
guardrails — The checks around a model that block bad inputs and outputs — filters, validators, and permission rules the model itself can't override.
Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
prompt injection — An attack that hides instructions in content an AI will read — a webpage, email, or document — tricking it into following the attacker instead of the user.