Cline is an AI coding assistant in VS Code that supports OpenAI-compatible provider configuration. This guide covers using Cline with a ShopAIKey API key.
Endpoint
code
https://api.shopaikey.com/v1
1. Install Cline
- Open VS Code.
- Go to Extensions.
- Search for Cline.
- Install the official extension.
- Open Cline from the VS Code sidebar.
2. Open provider configuration
In Cline:
- Click the settings icon.
- Find the API Provider section.
- Select OpenAI Compatible.
Do not select the default OpenAI provider if you need to enter a custom Base URL. Make sure to choose OpenAI Compatible.
3. Enter ShopAIKey details
Fill in the fields as follows:
Then click Verify if Cline has a connection test button.
4. Model suggestions
You can start with one of these models:
code
gpt-5.2
gpt-5.3-codex
claude-sonnet-4-5
claude-opus-4-5
deepseek-v3.2
qwen3-coder-plus
If a model doesn't work, check the current model list on ShopAIKey's Models page.
5. Advanced settings
In Cline's model configuration section, you can adjust:
- Max Output Tokens: maximum tokens for the response.
- Context Window: maximum context of the model.
- Image Support: enable if the model supports images.
- Computer Use / Tool Use: only enable when the model and Cline version support it.
- Input Price / Output Price: can leave as default if you just need to use the API, without tracking cost in Cline.
6. How to use
After configuration:
- Open a project in VS Code.
- Open Cline in the sidebar.
- Enter a request, for example:
code
Read this project and explain the login flow.
Or:
code
Write tests for the current payment component.
7. Important notes
- Your ShopAIKey API key must have remaining credit.
- Base URL must end with
/v1. - If using Claude models via OpenAI-compatible provider, still use endpoint
https://api.shopaikey.com/v1. - Do not commit your API key to a repository.
- If Cline reports a connection error, try restarting VS Code after changing the provider.
8. Troubleshooting
Invalid API Key
- Check that the key was copied correctly.
- Check that the key still has credit.
- Check that the key hasn't been revoked.
Model Not Found
- Check that the model ID was entered correctly.
- Try a popular model like
gpt-5.2orclaude-sonnet-4-5. - View the latest model list on the Models page.
Connection Error
- Check that the Base URL is
https://api.shopaikey.com/v1. - Check your internet connection.
- Restart VS Code and try again.