Docs contents

Use Cline / Roo Code with GoiAPI

Set up Cline and Roo Code in VS Code to call models with your API key: choose the OpenAI Compatible provider, enter the base URL, key and model name.

Ask AI and more
View as Markdown

Step 1: Before you start

  • An API key: sign up, top up your balance, then create a key in the dashboard. Put your key where <API_KEY> appears below.
  • The name of the model you want to use, from Models. The examples below use claude-haiku-5-5.

Step 2: Set up Cline / Roo Code

In Cline or Roo Code, choose the "OpenAI Compatible" option, then fill in the 3 fields below.

  1. Open the Cline (or Roo Code) settings.
  2. API Provider: choose "OpenAI Compatible".
  3. Base URL: https://api.goiapi.com/v1
  4. API Key: <API_KEY>
  5. Model ID: claude-haiku-5-5
  6. Save the settings, then send a test message.

Step 3: Send a test message

Send a short message (for example "Hello") from Cline / Roo Code. The Request history page in the dashboard shows the request as soon as it happens, with token counts and cost.

If something fails, see Error codes: 401 means the key is wrong or missing, 402 means your balance is too low, 404 means the model name is wrong.