feat(models): add DeepSeek V4.1 Flash (catalog sync to 1.53.0 + pricing) - #93
Conversation
Adds DeepSeek V4.1 Flash (reasoning, efforts low/high/max, vision, 1M context), GPT-6 Astra, xAI Grok 4.6, and inclusionai Ling 3.0 Flash Sante (free). Upstream 1.53.0 now publishes selectable efforts for every Muse Spark model, so the manual overrides are dropped.
…9-10 Adds deepseek/deepseek-v4.1-flash and the other six models present in the 2026-09-10 catalog snapshot (Qwen 3.8 Max 0902, Gemini 3.8 Flash, Muse Spark 1.3 / 1.3 Contributor, LongCat 2.0 free, Ling 3.0 Flash Sante free). Corrects the DeepSeek V4 Flash rate to the documented off-peak rate (/bin/bash.15//bin/bash.60, cache $0.003).
|
Independent verification of this PR — I applied the equivalent changes locally on top of 0.6.4 and tested against the live endpoint. It works:
Three review notes: 1. This PR and #86 are near-duplicates — only one can land cleanly. Both bump The actual differences:
Worth deciding which one merges and closing the other, or folding the missing piece into whichever lands first. 2. Emptying The comment says
So 3. Leaving The CLI's bundled
Both #86 and #93 keep 0.22, matching Also worth noting for sequencing: #91, #92, and #93 all modify |
|
Consolidated this into pricing on current main; kept the newer 1.54.0 capability snapshot from #98. Re-fetched the live 69-model catalog and reviewed the official pricing page on 2026-09-15. Qwen 0902 and Gemini 3.8 cache writes are zero (unlike #85); Vision Exp now explicitly shows 0.15/0.60/0.003, so its older 0.22 rate was corrected too. Added explicit regression assertions and removed fixture-wide formatting noise. Full npm test passes including Pi and OMP, format and diff checks clean. Unique #86 Astra pricing was reviewed but intentionally not added: Astra remains absent from the live API, and preserving exact live-catalog pricing coverage avoids a special-case test exception. Its current long-context cache-write price is 25, not 12.5 as proposed in #86; add it with verified rates when API discovery exposes it. Other overlapping #85/#86 pricing is covered here. Waiting for CI. |
|
Shipped in |
Summary
DeepSeek V4.1 Flash (
deepseek/deepseek-v4.1-flash) is now available on Command Code. This PR:command-code@1.44.0→command-code@1.53.0(npm run sync:commandcode-catalog):deepseek/deepseek-v4.1-flash— reasoningtrue, effortslow/high/max, text+image input, 1M context.gpt-6-astra,xai/grok-4.6,inclusionai/ling-3.0-flash-sante:free, and publishes upstream's own Muse Spark effort levels.src/pricing.ts+ test fixtures):deepseek/deepseek-v4.1-flashat the documented off-peak rate ($0.15/$0.60, cache $0.003).deepseek/deepseek-v4-flashto the documented off-peak rate ($0.15/$0.60, cache $0.003).Verification
npm run typecheck✅npm run test:unit✅ (all suites pass, including the catalog/pricing fixtures)deepseek/deepseek-v4.1-flashacceptsreasoning_effort(low/high/max) and tool calling againsthttps://api.commandcode.ai/provider/v1/chat/completions✅Note: V4.1 Flash carries a boosted per-model allowance on GOAT/Pro through 2026-09-17 ($60 GOAT / $70 Pro); per-token rates are unchanged and no temporary pricing entry is needed.