Skip to main content
In Cline, open Settings, select OpenAI Compatible as the API Provider, enter 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

  1. Open Cline Settings from the Cline panel in VS Code.
  2. Select OpenAI Compatible as the API Provider.
  3. Set Base URL to https://bettertoken.ai/v1.
  4. Paste your BetterToken API Key into API Key.
  5. Enter the exact API model ID from the BetterToken Model Plaza in Model ID.
  6. Click Verify to confirm the settings, then send a short test message.
If Use Azure Identity Authentication appears, leave it disabled. BetterToken authenticates with an API Key, not Azure Identity.

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 to OpenAI 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 that https://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.

References