> ## 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 Cline and Cerebras

> Set up Cline, an open-source AI coding assistant, to work with Cerebras inference.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/jxA3gA_J0BQ?si=wuGzco76G3YUUJ3K" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

Cline is an autonomous AI coding agent that runs in your IDE to assist with software development tasks.

## Prerequisites

Before you begin, ensure you have:

* **Cerebras API Key** - Get a free API key [here](https://cloud.cerebras.ai/?utm_source=3pi_cline\&utm_campaign=integrations).
* **Cline** - Download and install from [cline.bot](https://cline.bot/?utm_source=cerebras\&utm_campaign=cline).
  <img src="https://mintcdn.com/cerebras-inference/b3jx4ZXgBWCXv7Rn/images/cline/step2.png?fit=max&auto=format&n=b3jx4ZXgBWCXv7Rn&q=85&s=a88f3d83b7441aa2c6bae0537b78b057" alt="Step 2" width="640" height="461" data-path="images/cline/step2.png" />

## Configure Cline

<Steps>
  <Step title="Configure your Cerebras API key">
    * Inside of your code editor, go to your Cline settings:
          <img src="https://mintcdn.com/cerebras-inference/b3jx4ZXgBWCXv7Rn/images/cline/step3.png?fit=max&auto=format&n=b3jx4ZXgBWCXv7Rn&q=85&s=79b2cc48652fc5d02fca9ad16d9adb52" alt="Step 3" width="1202" height="780" data-path="images/cline/step3.png" />
    * In your Cline settings, select `Cerebras`:
          <img src="https://mintcdn.com/cerebras-inference/b3jx4ZXgBWCXv7Rn/images/cline/step3-1.png?fit=max&auto=format&n=b3jx4ZXgBWCXv7Rn&q=85&s=5642db1b9412186e26bc5446b9ad99dd" alt="Step 3-1" width="1202" height="780" data-path="images/cline/step3-1.png" />
    * Paste in your API key:
          <img src="https://mintcdn.com/cerebras-inference/b3jx4ZXgBWCXv7Rn/images/cline/step3-2.png?fit=max&auto=format&n=b3jx4ZXgBWCXv7Rn&q=85&s=bc96d91d1f4866f31509f22e8a359cf6" alt="Step 3-2" width="1202" height="780" data-path="images/cline/step3-2.png" />
  </Step>

  <Step title="Choose a Cerebras-backed model">
    In the model selector, pick `gpt-oss-120b`, `Qwen-3-235B`, or `zai-glm-4.7` to tap into lightning-fast inference.

    <img src="https://mintcdn.com/cerebras-inference/b3jx4ZXgBWCXv7Rn/images/cline/step4.png?fit=max&auto=format&n=b3jx4ZXgBWCXv7Rn&q=85&s=a0d247715644c4c0aec57ed827249f0a" alt="Step 4" width="1202" height="780" data-path="images/cline/step4.png" />
  </Step>

  <Step title="Start coding — but faster">
    Use Cline as usual: refactor, generate, build agents, or explore codebases — now with near-zero latency
  </Step>

  <Step title="Need more speed or scale?">
    * [Upgrade with Cerebras credits](https://cloud.cerebras.ai/?utm_source=3pi_cline\&utm_campaign=integrations) for 24/7 access to premium models like Qwen3-235B.
    * [Migrate to GLM4.7](/resources/glm-47-migration)\*\* - Ready to upgrade? Follow our migration guide to start using our latest model.
  </Step>
</Steps>

## Available Models

Cline supports all Cerebras models for AI coding assistance:

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

Select your preferred model from the Cline model selector to switch between them.
