Skip to main content

Connect Cline

The documented Primex path uses Cline's Anthropic provider and a compatible Claude offering. Select one in Cline Setup.

Configure​

Open the Cline extension's settings in VS Code:

  1. Choose Anthropic as the API provider.
  2. Enter your Primex key into the API-key field.
  3. Enable Use custom base URL and set https://gateway.primexos.com.
  4. Select the supported Claude model matching the offering ID from Setup.

Do not add /v1 to this base URL. Cline's Anthropic adapter appends the Messages path. Cline's Claude Code/subscription provider is a separate configuration and does not use this direct Primex API-key setup.

See Cline's Anthropic provider guide for current UI labels and Messages for the gateway contract.

Verify a task​

Use a disposable project. Ask Cline to read a harmless file and report its first heading. Review any requested tool action, then confirm it completes a tool-result turn. Check the resulting requests in Usage.

This verifies more than a plain hello: coding tasks depend on tool schemas, streaming and continuation behavior. Use only published model features. Extended thinking and other options may have model-specific requirements.

Common fixes​

  • 401: check the key in the Anthropic field; it must be an active Primex key.
  • 404/wrong endpoint: remove a duplicated /v1 and confirm the selected provider.
  • Unsupported model: choose the compatible Claude offering in Setup.
  • Tool or thinking error: review model options and preserve required thinking/tool results when continuing. A different provider mode needs its own verification.
  • 402/429: inspect balance or the exact limit reason in Errors & Limits.

To disconnect, replace the provider/key/base URL in Cline settings. Revoke any key you no longer want to authorize in Primex API Keys.

Need help connecting? Report a setup issue.