← Documentation

Enterprise Features

Granular policy controls with user, team, and organization-level settings.

Policy Hierarchy

1

User Overrides

Highest priority. Set per-user limits, bypass flags, and model access.

2

Team Settings

Applied to all team members. Inherited from organization if not set.

3

Organization Defaults

Fallback settings. Applied when no user or team overrides exist.

User Policy Overrides

Configure individual user settings that take precedence over team and organization defaults.

Cost Limits

  • Daily cost limit (cents)
  • Monthly cost limit (cents)

Token Limits

  • Daily token limit
  • Monthly token limit

Rate Limits

  • Requests per minute
  • Requests per hour
  • Requests per day

Model Access

  • Allowed models whitelist
  • Blocked models blacklist
  • Maximum model tier

Bypass Flags

Grant special privileges to specific users who need unrestricted access.

Bypass Cost Limits

User is not subject to daily/monthly cost limits

Use case: Senior developers, high-priority projects

Bypass Rate Limits

User is not subject to request rate limits

Use case: Automated systems, batch processing

Bypass Model Restrictions

User can access any model regardless of org restrictions

Use case: Researchers, special use cases

Warning: Use bypass flags sparingly. Users with bypasses can incur unlimited costs.

How Policy Evaluation Works

1. Request comes in

2. Check user-specific overrides

→ If bypass flag set, skip that check

→ If limit set, use user limit

3. Check team settings (if user in team)

→ If limit set, use team limit

4. Fall back to org defaults

5. Apply most restrictive limit

Configuration

  1. Navigate to Admin → User Policies
  2. Search for the user you want to configure
  3. Click on the user to open the policy editor
  4. Set limits, bypass flags, and notes
  5. Click Save Policy

Changes take effect immediately for all new requests.

API Reference

GET/api/admin/organizations/{orgId}/user-policies

List all users with their policy overrides

POST/api/admin/organizations/{orgId}/user-policies

Create or update a user policy override

Related Topics