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
- 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.
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>
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.
Step 3 · STEP 0x03
Pick the model and try it
Continue chat
1
Model picker
Relay model
2
Message box
Hello
- 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
Cline (VS Code)Choose OpenAI Compatible in Cline and fill in the address, key and model.CursorPoint Cursor at our OpenAI-compatible address and add models by their alias.Can't connect, broken streams, which address to useA step-by-step check for requests that do not go out, time out or break mid-stream.
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).