Connect Cline to ModelGo: Setup & Troubleshooting
Cline is an AI coding assistant in VS Code. Choose the OpenAI Compatible provider to connect it to ModelGo. Before you start, create an API key in the ModelGo console and pick a logical model name your key can call from the Model Catalog.
1. Install
Search for Cline in the VS Code Extensions marketplace and install it.

2. Configure ModelGo
Click the Cline icon in the activity bar, open API Configuration, fill in the values below, and click Done:
| Setting | Value for ModelGo |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://api.modelgo.ai/v1 |
| API Key | Your ModelGo API key |
| Model ID | A ModelGo logical model name |

Do not append /chat/completions to the Base URL.
3. Verify
Send a simple request in the Cline panel. A normal reply means the setup works.

To check the key and the models it can call:
bash
export MODELGO_API_KEY="mgk_your_api_key"
curl https://api.modelgo.ai/v1/models \
-H "Authorization: Bearer $MODELGO_API_KEY"Troubleshooting
- 401: check that the API key is complete with no extra spaces.
- 403 / model unavailable: the Model ID must be a logical model name your key can call; if the dropdown is empty, type it in manually.
- 404: the Base URL must be
https://api.modelgo.ai/v1.