Skip to content

Cohere

Cohere is a supported AI provider in Clanker. It uses the Cohere Chat API (v2).


Provider Details

PropertyValue
Config keycohere
Default modelcommand-a-03-2025
API endpointhttps://api.cohere.com
Auth methodAPI key

Configuration

yaml
ai:
  default_provider: cohere
  providers:
    cohere:
      model: command-a-03-2025
      api_key_env: COHERE_API_KEY

Environment Variable

VariableDescription
COHERE_API_KEYCohere API key

CLI Flag Overrides

FlagDescription
--ai-profile cohereSelect 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"