| 1 | --- |
| 2 | title: "Cerebras" |
| 3 | description: "Configure Cerebras Inference with Continue for fast model inference using specialized silicon, including setup instructions for Llama 3.1 70B model" |
| 4 | --- |
| 5 | |
| 6 | Cerebras Inference uses specialized silicon to provides fast inference. |
| 7 | |
| 8 | 1. Create an account in the portal [here](https://cloud.cerebras.ai/). |
| 9 | 2. Create and copy the API key for use in Continue. |
| 10 | 3. Update your Continue config file: |
| 11 | |
| 12 | <Tabs> |
| 13 | <Tab title="YAML"> |
| 14 | ```yaml title="config.yaml" |
| 15 | models: |
| 16 | - name: Cerebras Llama 3.1 70B |
| 17 | provider: cerebras |
| 18 | model: llama3.1-70b |
| 19 | apiKey: <YOUR_CEREBRAS_API_KEY> |
| 20 | ``` |
| 21 | </Tab> |
| 22 | <Tab title="JSON"> |
| 23 | ```json title="config.json" |
| 24 | { |
| 25 | "models": [ |
| 26 | { |
| 27 | "title": "Cerebras Llama 3.1 70B", |
| 28 | "provider": "cerebras", |
| 29 | "model": "llama3.1-70b", |
| 30 | "apiKey": "<YOUR_CEREBRAS_API_KEY>" |
| 31 | } |
| 32 | ] |
| 33 | } |
| 34 | ``` |
| 35 | </Tab> |
| 36 | </Tabs> |