Authentication
Include your API key in theAuthorization header with the Bearer prefix:
Accessing Models
Models are referenced using the formatprovider/model-name. This allows you to call models from different providers through the same API endpoint.
Example: Calling GPT-5.1
Environment Variables
Store your API key in an environment variable to avoid hardcoding it:Error Responses
| Status Code | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 403 | API key does not have permission for this resource |
| 429 | Rate limit exceeded |
Security Tips
- Never expose API keys in client-side code
- Use environment variables or secret management tools
- Implement key rotation in production environments

