Skip to main content

Model Restrictions

When creating or editing a key in the dashboard you can select a subset of models.
  • GET /v1/models will only return models the key may call.
  • Requests to other models return 403.
  • Empty restriction = all active models.
This is useful for giving different keys to different team members or tools. ZDR mode filters the same listing for a different reason: a key with ZDR mode enabled only sees models served by a zero-data-retention provider, and other models return 403 model_not_available_in_zdr_mode. Unlike restrictions, this is not a per-model pick — it follows from which providers serve each model.