remote::cerebras
Description​
Cerebras inference provider for running models on Cerebras Cloud platform.
Configuration​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
allowed_models | list[str] | None | No | List of models that should be registered with the model registry. If None, all models are allowed. | |
refresh_models | bool | No | False | Whether to refresh models periodically from the provider |
api_key | SecretStr | None | No | Authentication credential for the provider | |
base_url | HttpUrl | None | No | https://api.cerebras.ai/v1 | Base URL for the Cerebras API |
Sample Configuration​
base_url: https://api.cerebras.ai/v1
api_key: ${env.CEREBRAS_API_KEY:=}