DeepSeek in Command Code: switch models, pay off-peak
Agent that learns your coding taste, with model switching built in
Command Code is a terminal coding agent focused on open models and per-project 'taste' learning. It exposes every supported model through one CLI, with per-model credit allowances and zero-markup pay-as-you-go top-ups.
Switch Command Code to DeepSeek in 4 steps
Install the CLI
Log in and trust the project
Switch model for one session
Check your allowance
DeepSeek peak and off-peak pricing in Command Code
Command Code passes DeepSeek API pricing through at cost. V4.1 Flash is $0.15/M input and $0.60/M output off-peak, doubling to $0.30/M and $1.20/M during the two weekday peak windows. Because the CLI sends repository context on every tool turn, the off-peak discount matters most for long refactors.
| Model, $/M tokens | Input off-peak | Input peak | Cache hit off-peak | Cache hit peak | Output off-peak | Output peak | Example day, off-peak / peak |
|---|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | $0.15 | $0.30 | $0.003 | $0.006 | $0.60 | $1.20 | $1.05 / $2.10 |
| DeepSeek V4 Pro | $0.66 | $1.32 | $0.022 | $0.044 | $1.98 | $3.96 | $4.29 / $8.58 |
The example day is 5M input and 500K output tokens with no cache hits. Off-peak starts at 10:00 UTC on weekdays and runs all weekend: peak hours in your time zone.
Questions
How do I switch Command Code to DeepSeek?
1. Install the CLI. 2. Log in and trust the project. 3. Switch model for one session. 4. Check your allowance. The commands for each step are above.
How much does DeepSeek cost in Command Code?
DeepSeek V4.1 Flash is $0.15/M input and $0.60/M output off-peak, and $0.30/M and $1.20/M during weekday peak hours (01:00–04:00 and 06:00–10:00 UTC).
When is DeepSeek off-peak?
Every hour outside Mon–Fri 01:00–04:00 and 06:00–10:00 UTC, plus weekends and Chinese public holidays. Off-peak is 50% cheaper; peak costs 2x.