Files
Aiden Cline 23ab17b850 feat(v2): migrate Command Code provider files to schema 2 (#10790)
* feat(v2): migrate Command Code provider files to schema 2 (mechanical)

bun packages/core/script/migrate-v2.ts provider commandcode

* feat(commandcode): DeepSeek peak multiplier, retire ling-3.1-flash:free

DeepSeek V4/V4.1 files price peak hours (01-04, 06-10 UTC Mon-Fri) at 2x via cost.multipliers, as the pricing page documents. The free Ling 3.1 Flash tier is gone from the catalog and pricing page, so the :free file is deprecated. The provider header notes the Provider plan fee.

* feat(commandcode): Anthropic mid-conversation flags on Claude files

Claude files served via @ai-sdk/anthropic copy system_updates, effort_updates and tools.updates from the same model's providers/anthropic file, as GitHub Copilot does. v2-only; v1 unchanged.
2026-10-21 10:33:51 -05:00

27 lines
966 B
TOML

# Source: https://commandcode.ai/docs/provider (accessed 2026-10-14)
# Model catalog + pricing: https://commandcode.ai/models and
# https://api.commandcode.ai/provider/v1/models
# Effective discounted rates: https://commandcode.ai/docs/resources/pricing-limits#minimax-m3-2x-usage
# Toggle: omit reasoning_effort for off; set reasoning_effort = low for on.
# Live /chat/completions checks (2026-10-14), same prompt and temperature=0:
# omitted reasoning tokens: 0/0/0
# low reasoning tokens: 30/14/69
# Arithmetic n=3 per level did not establish a graded effect (overlapping counts):
# low 2559/2118/1284, medium 2029/2559/1145, high 2028/2559/1289.
# Native thinking.type enabled/disabled both returned zero without reasoning_effort.
schema = 2
base_model = "minimax/MiniMax-M3"
[capabilities]
reasoning = { supported = true, toggle = true }
[limit]
context = 1_000_000
[cost.text.input]
price = 0.3
cache = { read = 0.06 }
[cost.text.output]
price = 1.2