Install
Step 1 — Set the auth variables
ANTHROPIC_API_KEY also works in place of ANTHROPIC_AUTH_TOKEN.
Step 2 — Choose the model
Use it by default:
Or add it next to the Claude models:
Switch models in a session with /model.
Step 3 — Save your config
Add to ~/.claude/settings.json:
Or add the same values as export lines to ~/.zshrc or ~/.bashrc.
CLAUDE_CODE_AUTO_COMPACT_WINDOW makes Claude Code summarize long sessions before they hit the 400 kB request limit. If you get 413 errors, lower it or run /compact.
Headless mode