Models
Providers
Bring any model you already pay for across 200+ providers.
#Available providers
| Provider | Config ID | Auth |
|---|---|---|
| Anthropic | anthropic | API key (ANTHROPIC_API_KEY) |
| OpenAI | openai | API key or OAuth (OPENAI_API_KEY) |
| Google Gemini | gemini | API key (GEMINI_API_KEY) |
| Ollama (local) | ollama | Local endpoint, no key |
| Amazon Bedrock | amazon-bedrock | AWS profile or IAM credentials |
| OpenRouter | openrouter | API key (OPENROUTER_API_KEY) |
#Configure Amazon Bedrock
json
{
"provider": {
"amazon-bedrock": {
"options": {
"region": "us-east-1",
"profile": "my-development-profile",
"endpoint": "https://bedrock-runtime.us-east-1.amazonaws.com"
}
}
}
}Point Bedrock at your region, profile, and endpoint in config. Omit the endpoint to use the default regional runtime.
#Manage credentials
#List providers
bash
codey auth listList every configured provider and account before changing anything.
#Log out
bash
codey auth logout <provider-id>Logging out revokes the stored tokens for that provider. Re-authenticate before your next run.
#Route through the gateway
Prefer one bill and one key by routing supported providers through the Codey Gateway with your own keys. Bring any OpenAI- or Anthropic-compatible endpoint as a custom provider with automatic model discovery.