# Cline > Configure the Cline VS Code extension against the Anthropic-format endpoint. _Source: https://aiprimetech.io/docs/guides/cline/ · Home > Docs > Integration guides_ Cline speaks the Anthropic Messages format natively, so it uses `/v1/messages` and the base URL takes **no** `/v1` suffix. ## Setup 1. Install Cline from the VS Code marketplace and open its settings panel. 2. Set **API Provider** to **Anthropic**. 3. Paste your `sk-` key into the API key field. 4. Enable the custom base URL option and set it to `https://aiprimetech.io`. 5. Pick a model id, for example `claude-sonnet-4-6`. - **Provider:** Anthropic - **Base URL:** `https://aiprimetech.io` — no `/v1` - **Endpoint used:** `/v1/messages` > If Cline's settings offer an OpenAI-Compatible provider instead, that path works too — but then the base URL becomes `https://aiprimetech.io/v1`. Pick one and match the suffix to it. ## Cost notes Cline is an agent: it reads files, runs commands and feeds results back as context. The same economics as [Claude Code](/docs/guides/claude-code/) apply — output tokens dominate, and tool results accumulate. Start new tasks rather than continuing one long thread. - [Messages API](https://aiprimetech.io/docs/api-reference/messages/) — The format Cline uses - [Cost control](https://aiprimetech.io/docs/guides/cost-control/) — Keeping agent runs affordable --- _ClaudeAPIKey.dev is an independently operated, Anthropic-compatible API gateway. Not affiliated with Anthropic._