This capability covers models in the LLM product line. Standalone image and video multimodal capabilities are not currently included in model access configuration.
- Separate keys by purpose: let production keys call only stable models and experimental keys call only low-cost models.
- Limit unexpected costs: if a key makes unexpected calls to high-cost models, restrict it to a smaller set of models.
- Limit shared keys: for a key shared with a contractor or partner, allow only the agreed models.
Access modes
Each API key has one of two access modes:
In both modes, the accessible models never exceed your team’s enabled model range and never include models that the platform has taken offline.
- All enabled models: accessible models = team’s enabled models (including future ones) − excluded models.
- Selected models only: accessible models = selected models (intersected with the team’s enabled models).
Configure model access
Only team admins can configure model access for an API key. Developers and Basic members see a read-only summary for keys they can access but cannot edit it. Billing members do not see model access.
1
Open Key Management
Go to Key Management and find the API key you want to configure.
2
Open model access settings
While creating or editing the key, open the Model Access section.
3
Choose an access mode
Select All enabled models or Selected models only:
- For All enabled models, add any models you want to block under Excluded models.
- For Selected models only, add at least one model under Accessible models.
4
Save
After you save, the new model access settings may take some time to take effect.
When a model is taken offline
If the platform takes a model offline, it is removed from the set of available models:- Calls to that model immediately return a “model unavailable” response, even if the key previously had access to it.
- If a key’s saved configuration still contains the offline model, the model remains visible but is greyed out. Remove it before saving; otherwise, the configuration cannot be saved.
When a call is rejected
When an API key calls a model outside its model access policy, the call returns HTTP 403 with the error codemodel_access_denied. Contact your team admin to adjust the policy.
See also Common Error Codes.
Related
- API Keys — create, store, and manage API keys, including expiration and OpenAPI boundaries.
- Network Access for API Keys — restrict which source IPs can use a key.
- Get API Key Model Access Policy — read a key’s model access policy programmatically.