Loading
Skip to content
RedRouterRedRouter
Sign inBook call ↗

Cline with RedRouter

Cline is a coding agent available as a CLI and editor extension; this page configures its custom endpoint for RedRouter.

Cline CLI 3.0.74 tested 2026-10-27 with qwen3.8-27b-red; other versions and models not run.

Setup

With the Cline CLI installed, authenticate using the commands below. In the editor extension, choose OpenAI Compatible and use the same base URL, key and model ID.

{
printf 'RedRouter API key: '
read -r -s REDROUTER_API_KEY
printf '\n'
cline auth openai --baseurl https://redrouter.org/v1 \
  --apikey "$REDROUTER_API_KEY" --modelid 'red-cyber-1'
}
$REDROUTER_API_KEY = [System.Net.NetworkCredential]::new('', (Read-Host 'RedRouter API key' -AsSecureString)).Password
cline auth openai --baseurl https://redrouter.org/v1 `
  --apikey $REDROUTER_API_KEY --modelid 'red-cyber-1'

Free key check

GET /v1/key checks your key and its restrictions without generating tokens or spending inference credit. It does not establish Cline compatibility.

{
printf 'RedRouter API key: '
read -r -s REDROUTER_API_KEY
printf '\n'
curl --fail-with-body -sS https://redrouter.org/v1/key \
  -H "Authorization: Bearer $REDROUTER_API_KEY"
}
$REDROUTER_API_KEY = [System.Net.NetworkCredential]::new('', (Read-Host 'RedRouter API key' -AsSecureString)).Password
Invoke-RestMethod -Method Get -Uri 'https://redrouter.org/v1/key' `
  -Headers @{ Authorization = "Bearer $REDROUTER_API_KEY" }

Known limits

  • The source uses CLI 3.0.74 and extension 4.1.26 settings; other versions may differ.
  • Unsupported request fields return 400 with the rejected field identified.
  • A custom endpoint does not establish that every model works with Cline. Check the selected model's capabilities before using tools or images.

Read the full coding-agent setup guide.

↑ ↓ to select · Enter to open · Esc to close