tip to use openrouter for sonnet

This commit is contained in:
Paul Gauthier 2024-07-06 16:33:00 -03:00
parent b7f8687679
commit 3294f22c68
2 changed files with 12 additions and 0 deletions

View file

@ -29,6 +29,12 @@ aider --opus
aider --models anthropic/ aider --models anthropic/
``` ```
{: .tip }
Anthropic has very low rate limits.
You can access all the Anthropic models via
[OpenRouter](openrouter.md)
without rate limits.
You can use `aider --model <model-name>` to use any other Anthropic model. You can use `aider --model <model-name>` to use any other Anthropic model.
For example, if you want to use a specific version of Opus For example, if you want to use a specific version of Opus
you could do `aider --model claude-3-opus-20240229`. you could do `aider --model claude-3-opus-20240229`.

View file

@ -32,4 +32,10 @@ setx OPENROUTER_API_KEY <key> # Windows
aider --model openrouter/meta-llama/llama-3-70b-instruct aider --model openrouter/meta-llama/llama-3-70b-instruct
``` ```
You can access Claude 3.5 Sonnet via OpenRouter:
```
aider --model openrouter/anthropic/claude-3.5-sonnet
```