// IDE Plugin
Use Cline with llmrelay
The open-source VS Code agent plugin. Point it at api.llmrelay.dev and get the same models at half the price.
Recommended model
claude-opus-4-7
Route
anthropic-compatible
On llmrelay
$2.5/M · $12.5/M
Setup
- 1 Install Cline from the VS Code marketplace.
- 2 Click the Cline icon in the activity bar.
- 3 Under "API Provider" pick "Anthropic".
- 4 Set API Key = your llmrelay key.
- 5 Under "Anthropic Base URL" (advanced settings) enter https://api.llmrelay.dev.
- 6 Save. Start a task with @codebase to smoke test.
Config
// VS Code Command Palette → Cline: Open Settings
Provider: Anthropic API Key: sk-llmrelay-... Anthropic Base URL: https://api.llmrelay.dev Model: claude-opus-4-7
Smoke test
Copy, paste, run. If you get JSON back with a message, you're good.
curl https://api.llmrelay.dev/v1/messages \
-H "x-api-key: $LLMRELAY_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"claude-opus-4-7","max_tokens":50,"messages":[{"role":"user","content":"say hi"}]}' Gotchas
- !Cline eats prompt tokens fast because it embeds file trees. Turn on prompt caching if your task > 5k tokens.
- !The Anthropic Base URL must NOT include /v1 — Cline appends /v1/messages itself.
You need an llmrelay key first
Sign up in about 30 seconds. New accounts get $0.20 in free credit — enough to smoke-test every model.