Prerequisites
Before you begin, ensure you have:- Cerebras API Key - Get a free API key here.
- VS Code - Download and install from code.visualstudio.com. If you already have VS Code installed, make sure you’re on the latest version.
- GitHub account that is not enrolled in the GitHub Copilot Enterprise plan.

Configure VS Code
Sign up for a free GitHub Copilot account
Follow the instructions in VS Code to sign up for a free GitHub Copilot account. You can also click on the Extensions tab on the left side and search for Copilot.

Install the Cerebras extension
Click on the Extensions tab on the left side. Search for “Cerebras” and click Install.

Configure API key
At the bottom of the chat window, click on the model selection list (this is set to Auto by default), then click Other Models.
Click on Manage Models.
Click +Add Models and choose Cerebras from the list.
Enter your Cerebras API key.




Available Models
The Cerebras extension for VS Code supports all Cerebras models:| Model | Parameters | Best For |
|---|---|---|
| llama3.1-8b | 8B | Fastest option for simple tasks and high-throughput scenarios |
| gpt-oss-120b | 120B | Largest model for the most demanding tasks |
| zai-glm-4.7 | 357B | Advanced 357B parameter model with strong reasoning capabilities |
| qwen-3-235b-a22b-instruct-2507 | 235B | Powerful non-thinking model with strong instruction following, reasoning, math, coding, and tool use |



