Keep your API key secure. Never share it publicly or include it in client-side code (such as browsers or mobile apps). Instead, load it safely from an environment variable or a server-side key management service.
Authentication
The Cerebras API uses API keys for authentication. Create and manage API keys from our Inference Cloud Console.
API keys are passed using HTTP Bearer authentication:

