Skip to main content
The Cerebras integration for VS Code allows you to use Cerebras’ fast inference for AI-powered coding assistance directly within the editor.

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.
step1

Configure VS Code

1

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.step2
2

Install the Cerebras extension

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

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.step4Click on Manage Models.step5Click +Add Models and choose Cerebras from the list.step6Enter your Cerebras API key.step7
4

Configure Models

Select which models to enable by clicking the eye icon next to each one.step8
5

Select a model and start coding!

step9

Available Models

The Cerebras extension for VS Code supports all Cerebras models:
ModelParametersBest For
llama3.1-8b8BFastest option for simple tasks and high-throughput scenarios
gpt-oss-120b120BLargest model for the most demanding tasks
zai-glm-4.7357BAdvanced 357B parameter model with strong reasoning capabilities
qwen-3-235b-a22b-instruct-2507235BPowerful non-thinking model with strong instruction following, reasoning, math, coding, and tool use
Select your preferred model from the VS Code chat interface to switch between them.