Authentication
Pass your token in theAuthorization header as a Bearer token:
- cURL
- Python (OpenAI SDK)
- Node.js (OpenAI SDK)
Token properties
| Property | Description |
|---|---|
| Name | A label for your own reference. Useful for tracking which application or team uses each token. |
| Quota | The maximum number of credits this token can consume. Set to unlimited for no cap. |
| Expiry date | The date after which the token is no longer accepted. Leave blank for no expiry. |
| Allowed models | A list of model names this token is permitted to request. If empty, the token can access all models available to its group. |
| Allowed IPs | A comma-separated list of IP addresses or CIDR ranges allowed to use this token. Leave blank to allow any IP. |
| Group | The group this token belongs to. Groups determine pricing ratios and access scopes. |
Quota and usage
OpenOpen8 tracks quota consumption for each token. Usage is calculated in credits based on the model’s pricing ratio — models with higher pricing consume more credits per token of input or output.Model pricing ratios are configured by OpenOpen8. You can view the effective rate for each model in the dashboard.
Model restrictions
You can lock a token to a specific set of models. For example, you might create a token that can only callgpt-4o-mini to control costs, or one that can only call claude-3-5-sonnet-20241022 for a specific workflow.
Groups
Every token belongs to a group. Groups control pricing ratios and access scopes:- Different groups can have different pricing multipliers
- Groups segment traffic and access permissions
Related
Manage tokens
Step-by-step guide to creating and managing tokens.
Authentication reference
Full details on the Authorization header and supported formats.