> ## Documentation Index
> Fetch the complete documentation index at: https://inference-docs.cerebras.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Started with Cerebras for VS Code

> Configure Visual Studio Code to use Cerebras Inference for autonomous coding assistance. 

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](https://cloud.cerebras.ai/?utm_source=3pi_vscode\&utm_campaign=integrations).
* **VS Code** - Download and install from [code.visualstudio.com](https://code.visualstudio.com/?utm_source=cerebras\&utm_campaign=vscode). Gemma 4 31B support requires VS Code 1.120 or later and Cerebras extension 0.1.21 or later.
* **GitHub account** that is not enrolled in the GitHub Copilot Enterprise plan.

![step1](https://mintcdn.com/cerebras-inference/r9MnC-Dy6Hs1LzF6/images/vscode/step1.png?fit=max\&auto=format\&n=r9MnC-Dy6Hs1LzF6\&q=85\&s=c497fb0d0327ec989a61c8b2a2ae46de)

## 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](https://mintcdn.com/cerebras-inference/r9MnC-Dy6Hs1LzF6/images/vscode/step2.png?fit=max\&auto=format\&n=r9MnC-Dy6Hs1LzF6\&q=85\&s=e41b0c9689c99cc75feeb77f7406ef2e)

**2. Install the Cerebras extension**

Click on the Extensions tab on the left side. Search for "Cerebras" and click **Install**.

![step3](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step3.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=f8698c021a614e3c601f5f3e4cfa0105)

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

![step4](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step4.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=49d62bbf91c5ece911a2d753ffc57fee)

Click on **Manage Models**.

![step5](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step5.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=3049dd2f52a20ad839b01b2951f62520)

Click **+Add Models** and choose Cerebras from the list.

![step6](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step6.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=4802f7043af623a4958a09e3ef693b13)

Enter your Cerebras API key.

![step7](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step7.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=aeb3c50895317d3f9a0dfb05bbf410a9)

**4. Configure Models**

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

![step8](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step8.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=fc0f74d1648051f5016252261ec80989)

**5. Select a model and start coding!**

![step9](https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step9.png?fit=max\&auto=format\&n=fR9nLqYmlhUajIC4\&q=85\&s=e9ff79a060a2aba3be2cde44a49fe03e)

## Available Models

The Cerebras VS Code extension supports these models:

| Model | Mode | Capabilities |
| - | - | - |
| **gemma-4-31b** | Agent and chat | Tool calling, reasoning, and PNG or JPEG image inputs |
| **gpt-oss-120b** | Chat | Fast text generation for coding tasks |

> [!NOTE]
>
> Gemma 4 31B requires Cerebras extension 0.1.21 or later. Free-tier requests support up to 65K input tokens and 32K output tokens. Paid requests support up to 131K input tokens and 40K output tokens.

See [Image Inputs](https://inference-docs.cerebras.ai/capabilities/image-inputs.md) for image requirements and current limits.
