Cline (gateway)
Route Cline ’s LLM calls through the Respan gateway for automatic logging, caching, and model switching. Cline 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 Cline integration.
Follow https://www.respan.ai/docs/integrations/gateway/cline.mdSetup
Install Cline
Install the Cline extension from the VS Code Marketplace, then open it from the sidebar. For the terminal, install the CLI:
npm install -g clineConfigure the OpenAI Compatible provider
In the extension:
- Click the gear icon to open Cline Settings.
- Under API Provider, choose OpenAI Compatible.
- Fill in the fields:
- Base URL:
https://gateway.respan.ai - API Key:
YOUR_RESPAN_API_KEY - Model:
gpt-4o
- Base URL:
- Save.
In the CLI, the same settings are one command:
cline auth openai -b "https://gateway.respan.ai" -k "YOUR_RESPAN_API_KEY" -m gpt-4oNo separate provider key needed. The Respan gateway handles provider authentication.
Start coding
Open the Cline chat panel and send a message, or run a task from the terminal:
cline "your prompt"All LLM calls now route through Respan.
Switch models
Change the Model field (or pass -m <model> to the CLI) to use any of the 1000+ models available through the gateway.
gpt-4o
claude-sonnet-4-5-20250929
gemini/gemini-3.5-flashSee the full model list .