https://bettertoken.ai/v1 as the Base URL, paste your BetterToken API key, and use the exact model ID from the BetterToken Model Plaza. Then send a simple test message to verify the connection.
This is an independent BetterToken setup guide, not Cline’s official documentation. A link to Cline’s official OpenAI Compatible provider documentation is included in the References section.
If you need to start with installation, follow the complete Cline setup guide.
Quick setup
- Open Cline Settings from the Cline panel in VS Code.
- Select
OpenAI Compatibleas the API Provider. - Set Base URL to
https://bettertoken.ai/v1. - Paste your BetterToken API Key into API Key.
- Enter the exact API model ID from the BetterToken Model Plaza in Model ID.
- Click Verify to confirm the settings, then send a short test message.
What each field means
The API Key and Base URL must belong to the same provider. Do not combine a BetterToken API Key with another provider’s Base URL.
Verify the connection
Click Verify after entering all four fields. When verification succeeds, create a task and send a short test message. A model response confirms that the endpoint, API Key, and Model ID work together. If verification fails, use the messages below to identify the field that needs attention.Troubleshooting
Your provider setup needs a fix
Confirm that the API Provider is set toOpenAI Compatible. Check that the Base URL is a valid HTTPS endpoint ending in /v1, the API key field is not empty, and the model ID exactly matches a model available through BetterToken.
401 Unauthorized or Invalid API Key
Copy the API key again without leading or trailing spaces. Make sure the BetterToken API key is used together with the BetterToken Base URL. If the key was revoked or regenerated, replace the old value in Cline.Model Not Found or 404
Use the exact API model ID shown in the BetterToken Model Plaza, not the display name shown elsewhere in the interface. Also confirm that the Base URL ends with/v1.
Connection error or timeout
Confirm thathttps://bettertoken.ai/v1 is reachable from your network, then retry with a short test message. Check local proxy, VPN, firewall, or DNS settings if Cline cannot reach the endpoint.
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 BetterToken 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 BetterToken Model Plaza.Where this setup applies
These values connect Cline to provider models available 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

