What Guardrails Enforce
| Control | Description |
|---|---|
| Model allow-list | Restrict which models members can use |
| Provider allow-list | Restrict which providers requests can route to |
| Spending limits | Per-key and per-organization budget caps |
| Rate limits | Request rate limits per key or member |
| Data policies | ZDR enforcement, data collection restrictions |
Spending Limits
Set a hard credit limit on any API key. Requests that would exceed the limit are rejected with a402 error.
Via Dashboard
Go to API Keys → Edit Key → set Credit Limit.Via API
| Field | Type | Description |
|---|---|---|
limit_usd | number | Maximum cumulative spend in USD. null = unlimited. |
Rate Limits
Restrict requests per minute or per day per API key.Via API
| Field | Type | Description |
|---|---|---|
requests_per_minute | integer | Max requests per minute. null = unlimited. |
requests_per_day | integer | Max requests per day. null = unlimited. |
429 Too Many Requests.
Model Allow-Lists
Restrict an API key to a specific set of models. Requests to other models are rejected.Via Dashboard
Go to API Keys → Edit Key → Allowed Models.Via API
allowed_models returns:
Provider Allow-Lists
Restrict which providers requests can route to. Combine with model allow-lists for fine-grained control.Data Policy Enforcement
Enforce Zero Data Retention (ZDR) for all requests made with a key:enforce_zdr: true, ARouter only routes to providers that have signed Zero Data Retention agreements. See ZDR for details.
Guardrail Hierarchy
Policies are applied in this order (most restrictive wins):Viewing Policy Violations
All guardrail rejections are logged in the Activity page with:- Timestamp
- API key used
- Rejection reason (
rate_limit_exceeded,model_not_allowed,credit_limit_exceeded,provider_not_allowed) - Request metadata (model, tokens if applicable)
Enterprise Controls
For enterprise organizations, additional controls are available:- Organization-wide model allow-lists — Apply to all keys in the org automatically
- Member-level budget allocation — Assign individual spending budgets to team members
- Audit logs — Full request audit trail for compliance
Related
- Key Management — Create and manage API keys
- ZDR — Zero Data Retention enforcement
- Organization Management — Manage team members and shared resources
- Usage Accounting — Track spending per key and member