Connect your tools
Cline (VS Code)
Choose OpenAI Compatible in Cline and fill in the address, key and model.
About 5 minFor:Developers using Cline in VS Code
Before you start
- The Cline extension is installed in VS Code
- A key and a model name
Step 1 · STEP 0x01
Open Cline's settings
Cline
1
⚙ Settings
2
API Provider
OpenAI Compatible
- Click the gear icon in the Cline panel.
- Set API Provider to OpenAI Compatible.
Step 2 · STEP 0x02
Enter the address, key and model
Cline settings
1
Base URL
https://api.suanlimao.shop/v1
2
API Key
<YOUR_API_KEY>
3
Model ID
<MODEL_NAME>
4
Verify
Use
https://api.suanlimao.shop/v1 as the API address (with /v1). If the tool says 404, check whether /v1 is missing or doubled, then read the FAQ below.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
Verify and try it
Cline
1
Task box
Describe this project in one sentence
2
Send
- Click Verify to test the connection; if it fails see the FAQ.
- Under Model Configuration you can set max output and the context window according to your model.
✓ How to tell it worked
- Cline answers and the Usage page shows the request.
FAQ
“Model not found”?
The Model ID differs from the plaza or the model is not available at that address. Copy it again.
Can the Base URL be api.openai.com?
No. Use our address; Cline's docs also say to enter your provider's own endpoint.
Connection errors?
Check the address, network and any firewall; try the alternative domain, see the connection tutorial.
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).