Skip to main content
API keys are static secrets you generate in the Cloud Console and include in every request for authentication.
This page documents how API keys work. To manage them, open the Cloud Console: cloud.cerebras.aiAPI Keys in the left nav.

Create a Key

  1. Open the Cloud Console and go to API Keys in the left nav.
  2. On paid accounts, select a project first. The key inherits that project’s rate limits and usage tracking.
  3. Click Generate API Key, give it a descriptive name, and confirm.
  4. The key is created and appears in the list. The list shows a truncated preview, but you can copy the full key at any time by clicking the copy icon next to it.

Use the Key

Set the CEREBRAS_API_KEY environment variable, or pass the key in the Authorization: Bearer <key> header on direct HTTP requests. See the Authentication guide for SDK initialization and shell setup.

Rotate or Delete a Key

API keys do not expire. Store them in a secrets manager and rotate them periodically. To rotate a key, create a new one, update your application to use it, then delete the old one. To delete a key, click the delete icon next to it on the API Keys page. Deletion is immediate and permanent — any application still using the key will receive 401 Unauthorized errors.