Skip to main content

Roo Code Setup

Connect Roo Code to GonkaGate.

Connect Roo Code to GonkaGate through Roo’s OpenAI-compatible provider, then prove the setup in two steps: one plain-text reply and one read-only workspace task.

Set the provider values

Open Roo Code settings and set:

  • API Provider: OpenAI Compatible
  • Base URL: https://api.gonkagate.com/v1
  • API Key: gp-your-api-key
  • Model ID: use a model from GET /v1/models

If Roo asks for advanced model configuration, treat that as Roo-specific tuning. Start with the working model ID first, then adjust optional settings only after the connection succeeds.

Before you start

  • Roo Code is already installed.
  • You already have a GonkaGate API key in gp-... format.
  • You need the narrow Roo provider path, not a broader migration or raw SDK walkthrough.
  • For real Roo workflows, you will separately validate a model and provider pair that can handle tool-driven tasks.

Verify the basic connection

Send a short prompt in Roo Code:

Reply with exactly: Roo Code connected to GonkaGate

That confirms the base URL, API key, and model ID are wired correctly.

Validate one read-only workspace task

Roo Code uses native tool calling in real coding sessions. Before you trust the setup for actual edits, run one read-only workspace prompt such as:

List the files in the current workspace and summarize the repo root without changing anything.

Treat that as a first canary before a real coding session, not as a blanket guarantee for every model or every tool-heavy workflow.

Roo-specific rules

  • GET /v1/models gives you valid GonkaGate model IDs, but it is not a tool-support contract by itself.
  • A plain text reply proves the connection path works. It does not prove that a tool-driven Roo workflow is ready.
  • If you need Roo for real workspace tasks, validate the model against the live models catalog and the Tool Calling guide before you blame the provider setup.

Common first failures

If you seeWhat it usually meansWhat to do
401 invalid_api_keyThe key is missing, invalid, or pasted into the wrong provider profileRecheck the key and Authentication and API Keys
404 or model not foundThe model ID does not match a current GonkaGate model from GET /v1/modelsRefresh the model ID before treating the provider setup as broken
429 insufficient_quotaThe prepaid USD balance is too low for this requestCheck Pricing before retrying
429 rate_limit_exceededThe request was throttledRetry with bounded backoff and use Rate Limit Handling for the full policy
Text prompts work but workspace tasks failThe connection path works, but the selected model/provider pair is not ready for tool-driven Roo tasksRecheck the model against the live models catalog and the Tool Calling guide before blaming the provider setup

Official references

Last verified: 2026-03-13 against the official Roo Code OpenAI-compatible provider docs.

See also

Was this page helpful?