Roo Code integration

Roo Code is a coding agent for VS Code. It connects to Modellane through its OpenAI Compatible provider, which uses the Chat Completions API (POST /v1/chat/completions).

Configure Roo Code#

  1. Open the Roo Code panel and its settings.
  2. Set API Provider to OpenAI Compatible.
  3. Fill in the fields:
ParamValue
Base URLhttps://usemodellane.com/v1
API KeyA key from API keys
Modeldeepseek-v4.1-flash, or any id from Models & pricing
  1. In the model options, set Context Window and Max Output Tokens to the values from the models table. Turn on Image Support only for models that list Vision.
  2. Save the settings.

Verify#

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

Images#