Claude CLI (command line)
Download Claude Code, then connect it to CheapAI with CC Switch or Folkbench Switch.
If you haven't installed a setup tool yet, start with Setup tools (required).
Install Claude CLI (Claude Code)
Open Terminal, paste the official install command, and press Return:
curl -fsSL https://claude.ai/install.sh | bashOr install with Homebrew:
brew install --cask claude-codeWhen it finishes, run claude --version to confirm. See also the official Claude Code guide.
Configure with CC Switch
Open CC Switch, select Claude Code in the left sidebar, then click Add provider.

- Choose Custom

Fill in the following fields:
- Name:
CheapAI - API Key: paste the key from API Keys
- URL:
https://cheapai.info(no/v1)

- Name:
- Click Add. CheapAI should show In use (if not, click ▷ on the card).

- Relaunch
claude
Configure with Folkbench Switch
Open Folkbench Switch, then:
- Switch to Pro in the top-right
- Select Claude Code in the top bar
- Click + Add service

- Choose Quick fill from listed sites

- Pick CheapAI

In Prepare service, confirm and fill in:
- Protocol:
Anthropic Messages (recommended) - API Base URL: keep
https://cheapai.info/v1(Folkbench strips the trailing/v1when writing Claude settings) - API Key: paste the key from API Keys
- Model: pick a Claude model
Then click Save.

- Protocol:
Saving only adds it to the local list.
On the service card at the bottom, click Switch.

- Restart
claude
Manual setup
If you prefer not to use CC Switch or Folkbench Switch, set the site root (no /v1) and your CheapAI key as environment variables, then start claude.
export ANTHROPIC_BASE_URL="https://cheapai.info"
export ANTHROPIC_AUTH_TOKEN="$CHEAPAI_API_KEY"
claude --model YOUR_CLAUDE_MODEL_ID