Suanlimao
← Back to all tutorials

Connect your tools

Continue (VS Code / JetBrains)

Add an OpenAI-compatible model to Continue's config.

About 5 minFor:Developers using Continue

Before you start

  • The Continue extension is installed
  • A key and a model name

Step 1 · STEP 0x01

Open Continue's config file

Continue
1
Settings / Configure
2
Open config file
Diagram only — the real screen in your version may differ
  • Find the open-config entry in Continue's settings; its position depends on your version.
  • The current format is YAML; the old JSON config is marked deprecated.

Create a key →

Step 2 · STEP 0x02

Add a model

config.yaml
1

provider

openai
2

model

<MODEL_NAME>
3

apiBase

https://api.suanlimao.shop/v1
4

apiKey

<YOUR_API_KEY>
Diagram only — the real screen in your version may differ
yaml
name: My Config
version: 0.0.1
schema: v1

models:
  - name: Relay model
    provider: openai
    model: <MODEL_NAME>
    apiBase: https://api.suanlimao.shop/v1
    apiKey: <YOUR_API_KEY>
The file contains your key — never commit it to a public repository.
Don't guess the model name: open the model plaza, click “Copy model id” on a model card and paste it. A wrong model name is the most common error.

Open the model plaza →

Step 3 · STEP 0x03

Pick the model and try it

Continue chat
1

Model picker

Relay model
2

Message box

Hello
Diagram only — the real screen in your version may differ
  • Pick the new name in the chat panel's model dropdown and send a message.

✓ How to tell it worked

  • Continue answers and the Usage page shows the request.

FAQ

Nothing changed after saving.

Check the YAML indentation and reload the window after saving.

404 or model does not exist?

apiBase needs /v1 and model must match the plaza.

Related tutorials

Still stuck?

Read the troubleshooting tutorials first. If that does not help, open a ticket with the request_id, time, model and the exact error (never paste your key).