KLINCH / Claude Code without a subscription
Claude Code without a subscription
Claude Code runs on a KLINCH key instead of an Anthropic account. Set two environment variables and the agent codes on Opus, Sonnet or Fable, paying per token.
Set up in a minute (macOS and Linux)
Install Claude Code: npm install -g @anthropic-ai/claude-code. Then in a terminal:
export ANTHROPIC_BASE_URL="https://api.klinch.cloud"
export ANTHROPIC_AUTH_TOKEN="kl_live_…"
claudeWindows (PowerShell)
$env:ANTHROPIC_BASE_URL="https://api.klinch.cloud"
$env:ANTHROPIC_AUTH_TOKEN="kl_live_…"
claudeSave it for good
Put the settings into ~/.claude/settings.json:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.klinch.cloud",
"ANTHROPIC_AUTH_TOKEN": "kl_live_…",
"ANTHROPIC_MODEL": "claude-sonnet-5-5"
}
}Common errors
- It asks to sign in to Anthropic. The variables did not reach it: on Windows
exportdoes not work, use$env:or settings.json. - 404. ANTHROPIC_BASE_URL has no
/v1and no trailing slash. - Auth conflict. Run
/logoutin Claude Code and remove an old ANTHROPIC_API_KEY variable.
Start in 3 minutes
- Buy a token pack on FunPay: your
kl_live_…key arrives in the chat right after payment. - Sign in to the klinch.app cabinet with Google or GitHub and add the key. You also get the chat, a GitHub agent and daily spend.
- Set the address
https://api.klinch.cloudand the key in your tool or SDK. Nothing else changes.
FAQ
Do I need Claude Pro or Max?
No. Claude Code runs on your KLINCH API key and you pay only for tokens.
Which models work in Claude Code?
Claude Opus, Sonnet, Haiku and Fable, plus DeepSeek, GPT and the other models from the cabinet list.
Related
One key, one balance, every top model
Claude, GPT, Gemini, DeepSeek and Grok at a tenth of the official price. No subscription, pay as you go.