Skip to content

Configuring Cerebras Models

This page explains how to retrieve or generate API credentials for Cerebras models. Once you have the configuration details, you can follow the guide here to set up the model in the Flexpilot IDE.

🎁 Free Getting Started

Cerebras offers a generous free tier for developers to get started with their models. You can start using them without any payment required.

🔗 Quick Links

Setup Guide

🔒 Security Warning

Never commit API keys to version control or share them publicly. Keep them secure!

  1. Login to Cerebras Platform or sign up for a new account if you don't have one.
  2. Navigate to API Keys section to create a new API key.
  3. Click Generate API Key and give it a descriptive name (recommended).
  4. Once you create the API key, copy it immediately as it won't be visible again.
  5. Visit the Cerebras Models documentation to select the appropriate model for your needs.

Configuration Reference

Use these settings when configuring Cerebras in Flexpilot IDE:

Configuration Fields
FieldDescriptionDefault/Recommended
API URLBase endpoint URLhttps://api.cerebras.ai/v1
API KeyYour secret keyFrom Setup Guide
Model IDModel identifierllama-3.3-70b
TemperatureResponse creativity (0-1)0.2 for code generation
HeadersCustom HTTP headersLeave it blank
URL ParametersQuery parametersLeave it blank
Tool CallingFunction calling supporttrue

💡 Pro Tips

  • Use lower temperatures (0.1-0.3) for more deterministic code generation
  • The default API URL works for most users - only change if using a proxy

Next Steps

Set up the API credentials obtained from this page's instructions in the Flexpilot IDE to enable the Chat Model. For detailed guidance, refer to the Setup Guide.