Prerequisites

Before you begin, ensure you have:
  • Cerebras API Key - Get a free API key here.
  • Cursor IDE - Download and install from Cursor.com. Follow the steps to download the software on your machine. Install Pn

Configure Cursor

1

Open up Cursor settings

Settings Pn
2

Select the "Models" tab

Models Pn
3

Deactivate Models

Models PnDeactivate all other models in the list. You must deactivate all other models in order to use custom ones.
4

Add a Cerebras model

You can find a list of available models here.Add Cerebras Model Pn
5

Setting custom API key

Click “API Keys“ and set the default OpenAI key to your Cerebras key.Api Key Pn
6

Override the OpenAI base URL

7

Confirm Settings

You can now click the “Verify“ button to confirm your API key and URL overrides!Confirm Settings Pn
8

Try it out!

Now, go select your custom model just like any other!Try Model Pn