Skip to main content
With one Capriole AI API key, you can run GPT-6.2 Astra, Claude Fable 5.2, Opus 5.5, and Gemini 4 Carbon in Cline at up to 90% less than official API prices.

What is Cline

Cline is an open-source coding agent for the terminal and for VS Code. Its OpenAI Compatible provider sends model requests to Capriole AI through Chat Completions.

Prerequisites

Before you begin, make sure you have:
  • A Capriole AI account (Sign up here)
  • A Premium plan (USD 9 per month, also includes unlimited web chat) or a Team plan, required for an API key (Subscribe)
  • A Capriole AI API key (Get your key)

Installation

Install the Cline CLI with npm:
Verify the install:

Connect with one command

On the API page, select Connect agent, choose Cline and macOS or Linux, and paste your API key. Run the command it shows in Terminal. It sets up Cline CLI as the cline auth command below does: it saves the provider and your key to ~/.cline/data/settings/providers.json, with claude-latest as the default model. The script lists every change and asks before it writes anything. It backs up the files it changes, sends one test request, and puts every file back if that request fails. To undo it, choose disconnect in the same dialog and run that command. To set up Cline yourself or in VS Code, follow the steps below.

Configuration

Model validation

Cline CLI 3.0.73 passes a file-read, file-write, and final-answer check through Capriole AI with every model in Supported models, using the configuration below. Save Capriole AI as the provider:
What each setting does:
  • -p openai-compatible uses Cline’s OpenAI Compatible provider, which sends the key as a Bearer token.
  • -b is the base URL. It includes /v1, because Cline adds /chat/completions itself.
  • -m is the default model.
Cline saves these values in ~/.cline, so you run cline auth once. In the VS Code extension, open Cline’s settings, choose OpenAI Compatible, and enter the same base URL, API key, and model ID.

Run Cline

Start Cline from your project directory:
For a one-off task, pass the prompt. Use -m to pick another model for that run:

Supported models

All models use Chat Completions. openai-latest, claude-latest, and google-latest always point to our latest flagship in each family, currently GPT-6.2 Astra, Claude Fable 5.2, and Gemini 4 Carbon. GET https://api.caprioletech.com/v1/models lists every model ID.

Troubleshooting

Why does Cline return an authentication error?

Run cline auth again with your current Capriole AI API key.

Why does a Claude model fail with Unsupported chat model_key?

On Chat Completions, use the anthropic/-prefixed Claude IDs, such as anthropic/claude-opus-5-5. The bare IDs, such as claude-opus-5-5, are for Anthropic Messages.

Why do requests fail with endpoint errors?

Confirm that the base URL is https://api.caprioletech.com/v1.

Notes

  • Cline runs coding tools on your computer. Capriole AI processes the model requests.
  • Gemini 4 Carbon thinks longer than Gemini 4 Argon, so its turns can take longer and use more tokens. For quicker turns, use google/gemini-4-argon.
  • To use the same key with your other coding agents, see Use one API key with coding agents.
  • Official references: Cline CLI and Cline OpenAI Compatible provider.
Last modified on December 4, 2026