Before configuring, please review:
- Configuration Guide - How to configure providers
- General Settings - Common settings applicable to all providers
aicommit2 config set DEEPSEEK.key="your-api-key"
aicommit2 config set DEEPSEEK.model="deepseek-v4-flash"aicommit2 config set DEEPSEEK.key="your-api-key" \
DEEPSEEK.model="deepseek-v4-flash" \
DEEPSEEK.temperature=0.7 \
DEEPSEEK.maxTokens=4000 \
DEEPSEEK.locale="en" \
DEEPSEEK.generate=3 \
DEEPSEEK.topP=0.9| Setting | Description | Default |
|---|---|---|
key |
API key | - |
model |
Model to use | deepseek-v4-flash |
thinking |
Enable thinking mode | Auto (see below) |
reasoningEffort |
high or max (only when thinking is enabled) |
high |
aicommit2 does not maintain a strict allowlist of model names; unsupported names surface as API errors from DeepSeek.
Use DEEPSEEK.thinking / DEEPSEEK.reasoningEffort in config; aicommit2 sends thinking and reasoning_effort in the JSON body (OpenAI-compatible), matching what the Python SDK achieves with extra_body + reasoning_effort.
When thinking is on, the API ignores temperature, top_p, presence_penalty, and frequency_penalty. aicommit2 omits temperature and topP from the request in that case so configuration matches API behavior.
| Model / alias | Default thinking |
|---|---|
deepseek-v4-flash |
enabled |
deepseek-v4-pro |
enabled |
deepseek-reasoner |
enabled (legacy alias) |
deepseek-r1, deepseek-r1-* |
enabled |
deepseek-chat |
disabled (legacy alias) |
| Other names | disabled |
Override with explicit config:
aicommit2 config set DEEPSEEK.thinking=false
aicommit2 config set DEEPSEEK.reasoningEffort=maxThe DeepSeek API key. If you don't have one, please sign up and subscribe in DeepSeek Platform.
Default: deepseek-v4-flash
You can use any DeepSeek model name. The system no longer validates specific model names, allowing you to use new models as soon as they become available.
Current API models and roles (see Models & Pricing):
deepseek-v4-flash— Default recommendation; 1M context, up to 384K output tokens; cost-effective.deepseek-v4-pro— Higher capability; pricing and discounts are documented on the pricing page.deepseek-chat— Legacy alias fordeepseek-v4-flashin non-thinking mode; DeepSeek has indicated these names may be deprecated later.deepseek-reasoner— Legacy alias fordeepseek-v4-flashin thinking mode; same deprecation note.
Tip
We gently recommend using the newer model names (like deepseek-v4-flash) instead of the legacy chat and reasoner names. As noted in the official pricing documentation:
The model names deepseek-chat and deepseek-reasoner will be deprecated in the future. For compatibility, they correspond to the non-thinking mode and thinking mode of deepseek-v4-flash, respectively.
aicommit2 config set DEEPSEEK.model="deepseek-v4-flash"
# or high-capacity model
aicommit2 config set DEEPSEEK.model="deepseek-v4-pro"
# legacy aliases (still accepted by the API for now)
aicommit2 config set DEEPSEEK.model="deepseek-chat"
aicommit2 config set DEEPSEEK.model="deepseek-reasoner"Optional boolean. When unset, aicommit2 picks a default from the model name (see table above).
Optional: high or max. Used when thinking mode is enabled; defaults to high if unset.