Cohere
Cohere is a supported AI provider in Clanker. It uses the Cohere Chat API (v2).
Provider Details
| Property | Value |
|---|---|
| Config key | cohere |
| Default model | command-a-03-2025 |
| API endpoint | https://api.cohere.com |
| Auth method | API key |
Configuration
yaml
ai:
default_provider: cohere
providers:
cohere:
model: command-a-03-2025
api_key_env: COHERE_API_KEYEnvironment Variable
| Variable | Description |
|---|---|
COHERE_API_KEY | Cohere API key |
CLI Flag Overrides
| Flag | Description |
|---|---|
--ai-profile cohere | Select this provider |
--cohere-key <key> | Override the API key for this query |
--cohere-model <model> | Override the model for this query |
Usage Example
bash
export COHERE_API_KEY="abc123..."
clanker ask --ai-profile cohere "Show me all running EC2 instances"
# Override model inline
clanker ask --ai-profile cohere --cohere-model command-r-plus "List my S3 buckets and their sizes"