- Create a key: Go to the API Keys page in the Cloud Console. On paid accounts, select a project first to scope the key to that project’s rate limits and usage.
- Use the key: Set the
Authorization: Bearerheader on direct HTTP requests, or set theCEREBRAS_API_KEYenvironment variable. Learn more in our Authentication guide.
API Keys
Authenticate to the Cerebras API with API keys.
API keys are static secrets you generate in the Cloud Console and include in every request for authentication.

