Skip to Content

Roo Code (gateway)

Route Roo Code ’s LLM calls through the Respan gateway for automatic logging, caching, and model switching. Roo Code has a built-in OpenAI Compatible provider, so only your RESPAN_API_KEY is needed.

Paste this into your coding agent:

Help me set up the Respan gateway with the Roo Code integration. Follow https://www.respan.ai/docs/integrations/gateway/roo-code.md

Setup

Install Roo Code

Install the Roo Code extension from the VS Code Marketplace, then open it from the sidebar.

Configure the OpenAI Compatible provider

  1. Click the gear icon to open Roo Code Settings.
  2. Under API Provider, choose OpenAI Compatible.
  3. Fill in the fields:
    • Base URL: https://gateway.respan.ai
    • API Key: YOUR_RESPAN_API_KEY
    • Model: gpt-4o
  4. Save.

No separate provider key needed. The Respan gateway handles provider authentication.

Start coding

Open the Roo Code chat panel and send a message. All LLM calls now route through Respan.

Switch models

Change the Model field to use any of the 1000+ models available through the gateway.

gpt-4o claude-sonnet-4-5-20250929 gemini/gemini-3.5-flash

See the full model list .