Using Cerebras With Roo Code
Cerebras AI specializes in extremely fast inference speeds (up to 2600 tokens/second) with competitive pricing, including a free tier. Their models are optimized for coding, general intelligence, and reasoning tasks.
Website: https://cloud.cerebras.ai/
Getting an API Key
- Sign Up/Sign In: Go to Cerebras Cloud. Create an account or sign in.
- Navigate to API Keys: Access the API keys section in your dashboard.
- Create a Key: Generate a new API key. Give it a descriptive name (e.g., "Roo Code").
- Copy the Key: Important: Copy the API key immediately. Store it securely.
Configuration in Roo Code
- Open Roo Code Settings: Click the gear icon () in the Roo Code panel.
- Select Provider: Choose "Cerebras" from the "API Provider" dropdown.
- Enter API Key: Paste your Cerebras API key into the "Cerebras API Key" field.
- Select Model: Choose your desired model from the "Model" dropdown.
Available Models
Roo Code automatically fetches all available models from Cerebras AI's API.
For the complete, up-to-date model list and pricing, see Cerebras Cloud.
Tips and Notes
- Performance: Cerebras specializes in extremely fast inference speeds, making it ideal for real-time coding assistance.
- Pricing: Check the Cerebras Cloud dashboard for current pricing and free tier details.