Anthropic
To work with Anthropic’s models, you need to provide your
Anthropic API key
either in the ANTHROPIC_API_KEY
environment variable or
via the --anthropic-api-key
command line switch.
PairPilot has some built in shortcuts for the most popular Anthropic models and has been tested and benchmarked to work well with them:
python -m pip install -U PairPilot-chat
export ANTHROPIC_API_KEY=<key> # Mac/Linux
setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx
# PairPilot uses Claude 3.5 Sonnet by default (or use --sonnet)
PairPilot
# Claude 3 Opus
PairPilot --opus
# List models available from Anthropic
PairPilot --list-models anthropic/
Anthropic has very low rate limits. You can access all the Anthropic models via OpenRouter or Google Vertex AI with more generous rate limits.
You can use PairPilot --model <model-name>
to use any other Anthropic model.
For example, if you want to use a specific version of Opus
you could do PairPilot --model claude-3-opus-20240229
.