Cline integration

Configure the Cline coding agent in VS Code to use Modellane as an OpenAI-compatible provider with your own API key.

Cline can use any OpenAI-compatible endpoint. Add Modellane as the provider in its settings and pick a model from our catalog.

Cline is a coding agent for VS Code. It can use any OpenAI-compatible endpoint, so Modellane plugs in through its provider settings and the Chat Completions API (POST /v1/chat/completions).

Configure Cline#

  1. Install the Cline extension from the VS Code marketplace and open the Cline panel.
  2. Open the settings (gear icon) and choose OpenAI Compatible as the API provider.
  3. Fill in the fields:
ParamValue
Base URLhttps://usemodellane.com/v1
API KeyA key from API keys
Model IDlane-1, or any id from Models & pricing
  1. Under the model configuration, set the context window and max output to the values in the models table, and turn on image support only for models that list Vision.
  2. Save.

Agents send long prompts with many files and tool results, so check the context length of the model you pick. Cached prompt tokens are billed at the lower cached input price, which makes repeated agent turns cheaper.

Verify#

Start a new task with a short prompt such as "Reply with the word ready." A reply means the base URL, key and model id are right. An authentication error points at the key, and model_not_found at the model id.

Images#

Limits#

Cline can run several requests in a row quickly. If you see HTTP 429, see Rate limits.