# Connect Roo Code to WanAPIs

> In Roo Code (formerly Roo Cline), choose OpenAI Compatible and point the Base URL at WanAPIs to call GPT, Claude, Gemini and more with one key, paying per token.

Web page: https://wanapi.ai/docs/roo-code

Roo Code (formerly Roo Cline) is an AI coding agent for VS Code that supports OpenAI-compatible endpoints. Point it at WanAPIs to use models from many providers on a pay-as-you-go basis.

## Setup steps

### 1. Get an API key

Create an account in the WanAPIs console and generate an API key starting with sk-.

### 2. Configure the provider

Open Roo Code settings, set API Provider to "OpenAI Compatible" and fill in the following.

**Roo Code → Settings**

```
API Provider: OpenAI Compatible
Base URL: https://api.wanapis.com/v1
API Key: sk-xxx
Model: gpt-5.5
```

### 3. Save and use

Save, and you can start AI tasks from the editor.

## FAQ

### Is the setup the same as Cline?

Essentially yes: OpenAI Compatible + a Base URL ending in /v1 + your key + a model name.

### Which models are supported?

GPT, Claude, Gemini, DeepSeek, Kimi, GLM and more — see the model marketplace.

---

Generated by the WanAPIs website and kept in sync with the web page. All guides in Markdown: https://wanapi.ai/docs/index.md
