Connect Cline to byesu API
Cline is an open-source autonomous coding agent for VS Code. It supports both Anthropic native (recommended for Claude models with prompt caching) and OpenAI Compatible (for GPT, Gemini, Grok, DeepSeek) endpoints on byesu.
Quick configuration
- For Claude models (recommended): API Provider =
Anthropic, check Use custom base URL →https://byesu.com(no/v1), API Key = yoursk-...token. - For GPT / Gemini / Grok / DeepSeek: API Provider =
OpenAI Compatible, Base URL =https://byesu.com/v1, API Key = yoursk-...token.
Option 1: Anthropic Native (Best for Claude + Prompt Caching)
- Create a token in the byesu Console under the default
autogroup. - Open the Cline sidebar in VS Code → click the gear icon (Settings).
- Set API Provider to Anthropic.
- Paste your byesu token into Anthropic API Key.
- Check Use custom base URL and enter:text(Do not append
https://byesu.com/v1— Cline appends/v1/messagesautomatically.) - Select a Claude model such as
claude-opus-5-5,claude-sonnet-5-5, orclaude-fable-5-2.
Option 2: OpenAI Compatible (All Models)
- In Cline Settings, set API Provider to OpenAI Compatible.
- Set Base URL to:text
https://byesu.com/v1 - Paste your byesu token into API Key.
- Enter any active model ID in Model ID, e.g.
gpt-6.2-sol,gpt-6.1-sol,gemini-4-argon, ordeepseek-v4-pro.
Troubleshooting & Benchmarks
- 404 on Anthropic provider: remove trailing
/v1from the custom base URL (Claude 404 fix). - 400 prompt too long / context limit: compact or start a new task; see Claude 400 prompt too long and Prompt Caching.
- Live speed & uptime: check weekly production benchmarks and live status.