Skip to content
VS CODE EXTENSION

Cline (VS Code)OpenAI Compatible.

Follow the numbered steps in the app. Technical examples are optional.

Before you start

Have your API key and some Outrun credit ready. Keep your key private.

Optional setup helperUse an AI assistant to walk through these steps

Copy the setup instructions into an AI assistant you already use. Review any file changes it suggests before allowing them.

Enter your API key directly in the app or local settings. Keep it out of the assistant’s chat.

Connection settingsShow
Connection settings
API Provider: OpenAI Compatible
Base URL: https://api.outrun.to/v1
Model ID: claude-sonnet-5

Get your key from Outrun → API keys and enter it privately in the app or local settings. Test with “Reply with OK only.” Tests use credit; check Activity before retrying.

Setup Steps

  1. 1
    Install VS Code

    Download VS Code for your computer using the button below. Open the installer, follow its prompts, then open VS Code. Cline is an extension that runs inside VS Code.

    Download VS Code
  2. 2
    Install Cline

    In VS Code, click Extensions (the four-squares icon on the left), search Cline and click Install. Open the Cline icon on the left when installation finishes.

  3. 3
    Open Cline settings

    In the Cline panel, click the settings gear. In API Provider choose OpenAI Compatible.

  4. 4
    Fill in each field

    Base URL: https://api.outrun.to/v1. API Key: paste your own Outrun key into that field. Model ID: claude-sonnet-5 for a first test, or copy another available model ID from Models & Pricing. Do not add /chat/completions to the Base URL.

  5. 5
    Save and test

    Click Save or Done, then start a new chat. Start a new chat and send: Reply with OK only. A short reply with no connection error means the first test worked. This request uses Outrun credit; check Activity if it is interrupted before trying again.

Manual settings and examplesShow
Install Command
code --install-extension saoudrizwan.claude-dev
Optional · key variable for the cURL test
# Only needed for the cURL test below (Cline stores its key in its own settings).
export OUTRUN_API_KEY="KEY"

Replace KEY with your own key only in your local app, editor or terminal. Never send that key to an AI chat. Copy one command block at a time.

Configuration Template

Config Settings
Cline settings (gear icon in the Cline panel)
API Provider:  OpenAI Compatible
Base URL:      https://api.outrun.to/v1
API Key:       your Outrun key (starts with sk-rs-)
Model ID:      claude-sonnet-5
# Other Model IDs (change any time): gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-6-sol, gpt-6.1-sol, claude-opus-5-5, claude-opus-5, claude-sonnet-5, claude-fable-5-1, claude-fable-5, gemini-3.8-flash, gemini-3.1-pro-preview, gemini-3.7-flash, grok-4.7, kimi-k3, MiniMax-M3, deepseek-v4-pro, deepseek-v4-flash, deepseek-v4.1-flash, glm-5.3, glm-5.3-flash, claude-sonnet-5-5, glm-5.3-flash-uncensored, glm-5.3-flash-abliterated, glm-5.3-abliterated, deepseek-v4-pro-uncensored, glm-5.3-uncensored
# Do not append /chat/completions to the Base URL.
Optional: test with a script (uses credit)Show
Test cURL
curl https://api.outrun.to/v1/chat/completions \
  -H "Authorization: Bearer $OUTRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Reply with OK only."}],"max_tokens":16}' 

If something goes wrong

Key missing or rejected (401)

Copy your current key from API keys. Paste it only into the app’s key field or your local key variable, then save and reopen the app.

Not enough available credit (402)

Check Balance and the key’s spending cap. Another request may have temporarily reserved credit; read the message before adding funds.

Wrong URL, model or limit (400/404)

Copy the exact values above. Do not add an operation such as /chat/completions to a Base URL. For GLM, context is 1000000 and maximum output is 65536.

Busy or rate limited (429)

Wait for the active request to finish or the rate limit to reset. Avoid repeatedly submitting the same request.

Interrupted request or uncertain charge

Check Activity first. Keep the request ID for support; never include your key in a message or screenshot.

Model choices and service notes

Cline connects with its OpenAI Compatible provider. Choose an available text model from Models & Pricing, including the Uncensored models (glm-5.3-uncensored, glm-5.3-flash-uncensored, glm-5.3-flash-abliterated, glm-5.3-abliterated, deepseek-v4-pro-uncensored); claude-sonnet-5 and gpt-5.6-sol are good defaults. If a request returns 402, check your account balance and key spending cap. For 429, read the error: wait for the active request to finish or the rate limit to reset. If a paid request is interrupted or its outcome is uncertain, check Activity before trying again; do not automatically repeat it. Choose an available model from Models & Pricing; paused models cannot be used.

Contact @outrunsupport