mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
27 lines
926 B
Text
27 lines
926 B
Text
---
|
|
description: "Cerebras inference provider for running models on Cerebras Cloud platform."
|
|
sidebar_label: Remote - Cerebras
|
|
title: remote::cerebras
|
|
---
|
|
|
|
# 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` | `str` | No | https://api.cerebras.ai | Base URL for the Cerebras API |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
base_url: https://api.cerebras.ai
|
|
api_key: ${env.CEREBRAS_API_KEY:=}
|
|
```
|