Skip to content

DeepSeek

DeepSeek is a supported AI provider in Clanker. It uses the DeepSeek Chat API, which is compatible with the OpenAI API format.


Provider Details

PropertyValue
Config keydeepseek
Default modeldeepseek-chat
API endpointhttps://api.deepseek.com/v1
Auth methodAPI key

Configuration

yaml
ai:
  default_provider: deepseek
  providers:
    deepseek:
      model: deepseek-chat
      api_key_env: DEEPSEEK_API_KEY

Available Models

ModelDescription
deepseek-chatGeneral-purpose chat model
deepseek-reasonerReasoning-optimized model

Environment Variable

VariableDescription
DEEPSEEK_API_KEYDeepSeek API key

CLI Flag Overrides

FlagDescription
--ai-profile deepseekSelect this provider
--deepseek-key <key>Override the API key for this query
--deepseek-model <model>Override the model for this query

Usage Example

bash
export DEEPSEEK_API_KEY="sk-..."

clanker ask --ai-profile deepseek "What Lambda functions exist in my account?"

# Use the reasoning model
clanker ask --ai-profile deepseek --deepseek-model deepseek-reasoner "Analyze the security posture of my VPCs"