Prerequisites
To use Cerebras with Agno, you need to:-
Install the required packages:
-
Set your API key:
The Cerebras SDK expects your API key to be available as an environment variable:
Basic Usage
Here’s how to use a Cerebras model with Agno:Supported Models
Cerebras currently supports the following models (see docs for the latest list):
* DeepSeek R1 Distill Llama 70B is available in private preview.
Configuration Options
TheCerebras class accepts the following parameters:
Resources
SDK Examples
- View more examples here.