Skip to main content
Version: Next

remote::cerebras

Description​

Cerebras inference provider for running models on Cerebras Cloud platform.

Configuration​

FieldTypeRequiredDefaultDescription
allowed_modelslist[str | NoneNoList of models that should be registered with the model registry. If None, all models are allowed.
refresh_models<class 'bool'>NoFalseWhether to refresh models periodically from the provider
api_keypydantic.types.SecretStr | NoneNoAuthentication credential for the provider
base_url<class 'str'>Nohttps://api.cerebras.aiBase URL for the Cerebras API

Sample Configuration​

base_url: https://api.cerebras.ai
api_key: ${env.CEREBRAS_API_KEY:=}