Direct answer
In Cline, select OpenAI Compatible, set Base URL tohttps://www.bettertoken.ai/v1, paste your BetterToken API Key, and enter a Model ID from the GPT Key group. Do not use the Anthropic-compatible address for Claude Code, and do not select the official OpenAI provider.
This FAQ focuses on the values for each field and connection troubleshooting. If you need to start with installation, follow the complete Cline setup guide.
Complete setup
1
Prepare the API Key and Model ID
Create an API Key, then copy a currently available Model ID from the GPT Key group in the model plaza. Enter the ID exactly as shown instead of using the marketing display name.
2
Open Cline settings
Open the Cline panel in VS Code and click the gear icon.
3
Select OpenAI Compatible
Under API Provider, select OpenAI Compatible. This provider connects Cline to a third-party OpenAI-compatible endpoint.
4
Enter the four required values
Fill in Provider, Base URL, API Key, and Model ID using the table above. The Base URL must include
/v1.If Use Azure Identity Authentication appears, leave it disabled. BetterToken authenticates with an API Key, not Azure Identity.5
Verify the connection
Click Verify in Cline. After verification succeeds, create a task and send a simple prompt to confirm that the model responds and tool calls work.
Which advanced fields should you change?
Cline may also show Context Window, Max Output Tokens, Image Support, or Computer Use. Keep the defaults for the first connection. Change a field only when the model plaza or model documentation confirms the relevant capability and limit. Model prices can change. Do not rely on a fixed price saved in local Cline settings; check the current model and price in the model plaza.Common errors
Where this setup applies
These values connect Cline to GPT Key group models through the BetterToken OpenAI-compatible endpoint. They do not change Cline Rules, Memory Bank, MCP, or local tool permissions. For Claude Code, use the Anthropic-compatible address without/v1 and follow the Claude Code setup guide.
Related docs
- Complete Cline setup guide
- OpenAI-compatible vs Anthropic-compatible API
- How Base URL, API Key, and Model ID fit together
- MCP vs API Key and Base URL