> ## 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). 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.

<img src="https://mintcdn.com/cerebras-inference/r9MnC-Dy6Hs1LzF6/images/vscode/step1.png?fit=max&auto=format&n=r9MnC-Dy6Hs1LzF6&q=85&s=c497fb0d0327ec989a61c8b2a2ae46de" alt="step1" width="3024" height="1782" data-path="images/vscode/step1.png" />

## Configure VS Code

<Steps>
  <Step title="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.

    <img src="https://mintcdn.com/cerebras-inference/r9MnC-Dy6Hs1LzF6/images/vscode/step2.png?fit=max&auto=format&n=r9MnC-Dy6Hs1LzF6&q=85&s=e41b0c9689c99cc75feeb77f7406ef2e" alt="step2" width="3024" height="1784" data-path="images/vscode/step2.png" />
  </Step>

  <Step title="Install the Cerebras extension">
    Click on the Extensions tab on the left side. Search for "Cerebras" and click **Install**.

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step3.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=f8698c021a614e3c601f5f3e4cfa0105" alt="step3" width="3024" height="1776" data-path="images/vscode/step3.png" />
  </Step>

  <Step title="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**.

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step4.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=49d62bbf91c5ece911a2d753ffc57fee" alt="step4" width="422" height="214" data-path="images/vscode/step4.png" />

    Click on **Manage Models**.

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step5.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=3049dd2f52a20ad839b01b2951f62520" alt="step5" width="421" height="340" data-path="images/vscode/step5.png" />

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

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step6.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=4802f7043af623a4958a09e3ef693b13" alt="step6" width="1389" height="410" data-path="images/vscode/step6.png" />

    Enter your Cerebras API key.

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step7.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=aeb3c50895317d3f9a0dfb05bbf410a9" alt="step7" width="1297" height="465" data-path="images/vscode/step7.png" />
  </Step>

  <Step title="Configure Models">
    Select which models to enable by clicking the eye icon next to each one.

    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step8.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=fc0f74d1648051f5016252261ec80989" alt="step8" width="1297" height="541" data-path="images/vscode/step8.png" />
  </Step>

  <Step title="Select a model and start coding!">
    <img src="https://mintcdn.com/cerebras-inference/fR9nLqYmlhUajIC4/images/vscode/step9.png?fit=max&auto=format&n=fR9nLqYmlhUajIC4&q=85&s=e9ff79a060a2aba3be2cde44a49fe03e" alt="step9" width="396" height="208" data-path="images/vscode/step9.png" />
  </Step>
</Steps>

## Available Models

The Cerebras VS Code extension currently supports Z.ai GLM 4.7. Additional models may be added in future releases.
