Connect Cline to WanAPIs
Cline is an open-source AI coding agent for VS Code that supports OpenAI-compatible endpoints. Point its Base URL at WanAPIs to use models from many providers, paying per token.
Setup steps
- 1
Get an API key
Create an account in the WanAPIs console and generate an API key starting with sk-. New accounts get free trial credit.
- 2
Choose OpenAI Compatible in Cline
Open Cline settings (gear icon), set API Provider to "OpenAI Compatible" and fill in the Base URL, API key and model ID as below.
Cline → SettingsAPI Provider: OpenAI Compatible Base URL: https://api.wanapis.com/v1 API Key: sk-xxx Model ID: gpt-5.5 - 3
Save and start a task
Save, then start a task from the Cline panel. To switch models, just change the Model ID — see the model marketplace for what's available.
FAQ
Should the Base URL include /v1?
Yes. In OpenAI Compatible mode, use https://api.wanapis.com/v1.
Can I use Claude models?
Yes. Enter the Claude model name and it's called through the OpenAI-compatible endpoint. See the model marketplace for the list.
Connect Cline to WanAPIs now
One API key for GPT, Claude, Gemini, DeepSeek, Kimi, GLM and more — pay only for the tokens you use.