SETUP GUIDE
Use AIGateway models in Cline
Set AIGateway as the OpenAI-compatible endpoint in Cline. Top up your balance and create an API key first.
Values to enter
Enter these three values in Cline.
Base URL
https://api.ai.portomo.com/v1
Model ID
deepseek-v4.1-flash
Create your API key on the API keys page. Create an API key →
Setup steps
- Open Cline in VS Code and open its settings (the gear icon).
- For API Provider, choose "OpenAI Compatible".
- Enter the base URL above in Base URL and your AIGateway key in API Key.
- Enter the model ID above in Model ID and save.
- Send a short message and confirm that a reply comes back. For tasks such as editing files, choose a model that supports tool calls.
Setting names and locations may differ between versions of Cline. Cline documentation ↗
AIGateway API usage is deducted from your balance. See Models & pricing for the price of each model. View all pricing →
Troubleshooting
For 401 or 403, check your API key and balance. For 404, check the endpoint and API path. Use the model ID shown in Models & pricing. Never embed your API key in browser JavaScript.