Tool setup/Claude Code

Claude Code

Use Claude Code with DirtCheapAI.

Recommended setup

Use the public installer scripts with your real API key.

Linux / macOS

bash
curl -fsSL https://dirtcheapai.com/install.sh | bash -s -- key_xxx

Windows (PowerShell)

powershell
& ([scriptblock]::Create((irm "https://dirtcheapai.com/install.ps1"))) key_xxx

What gets configured

  • ANTHROPIC_BASE_URL
  • ANTHROPIC_AUTH_TOKEN
  • ANTHROPIC_DEFAULT_OPUS_MODEL
  • ANTHROPIC_DEFAULT_SONNET_MODEL
  • ANTHROPIC_DEFAULT_HAIKU_MODEL
  • ~/.claude/settings.json

Recommended model choices

  • claude-sonnet-4.6 for most coding work
  • claude-opus-4.6 for the hardest reasoning tasks
  • claude-haiku-4.5 for cheap fast iterations