Skip to main content

Overview

Cerebras provides an OpenAI-compatible API at https://api.cerebras.ai/v1 for fast inference. Some OpenAI parameters are not supported: frequency_penalty, logit_bias, presence_penalty, parallel_tool_calls, and service_tier. Model Class: CerebrasModel

Authentication

Examples

Model Settings

You can set model parameters in two ways: on the model or on the Agent. On the model:
On the Agent:

Parameters

Not supported by Cerebras: presence_penalty, frequency_penalty, logit_bias, parallel_tool_calls, service_tier. Omit these in settings when using the Cerebras provider.