Back to guides

Cline Setup Guide

Configure Cline to use your AI subscriptions through KorProxy

1Overview

  • Cline is an autonomous AI coding agent for VS Code
  • KorProxy enables using your own subscriptions with Cline
  • Supports multiple AI providers (Claude, GPT, Gemini, and more)

2Prerequisites

  • KorProxy app installed and running
  • VS Code with Cline extension installed
  • Provider authenticated in KorProxy

3Configuration Steps

Step 1: Open Cline Settings

  • • Click the Cline icon in VS Code sidebar
  • • Click the gear icon to open settings

Step 2: Configure API Provider

  • • Select "OpenAI Compatible" as the provider
  • • Set Base URL: http://localhost:1337/v1
  • • Set API Key: korproxy (any string works)

Step 3: Select Model

Enter a model name - KorProxy routes based on the model name:

claude-opus-4-5-thinking-highclaude-sonnet-4-5-thinkingclaude-haiku-4-5-20251001gpt-5.1-codex-max-xhighgpt-5.1-codex-highgemini-3-pro-image-preview

For Anthropic/Claude directly:

  • • Select "Anthropic" as provider
  • • Set Base URL: http://localhost:1337
  • • API Key: korproxy

4Environment Variables (Alternative)

Add to your shell profile:
export OPENAI_BASE_URL=http://localhost:1337/v1
export OPENAI_API_KEY=korproxy

5Troubleshooting

"Invalid API key"

Any key works - check base URL is correct

"Model not found"

Verify provider is authenticated in KorProxy

Connection errors

Check VS Code Developer Tools (Help → Toggle Developer Tools) for detailed errors