Also add the curated cache and system_updates fields (v2-only) that the llmgateway and nano-gpt syncs don't write, matching each host's gpt-6.1-sol file.
* 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.
* feat(v2): move structured_output off 12 lab directories onto host files
* fix(inclusionai,stepfun): set temperature on Ling 3.0 Flash Fin, Ling 3.1 Flash and Step 5 Preview lab files
The Hugging Face model cards recommend temperature (Ling: temperature=1.0,
top_p=0.95, top_k=20; Step 5 Preview: temperature=1.0, top_p=0.95, top_k=0),
and StepFun's Chat Completions API documents temperature.
* feat(v2): migrate 12 lab directories to schema 2
Mechanical run of migrate-v2.ts for tencent, inclusionai, deepreinforce,
sakana, microsoft, nousresearch, poolside, stepfun, upstage, perplexity,
aion-labs and arcee-ai. top_p/top_k start out copied from temperature.
The two MAI-Code lab files stay v1.
* feat(v2): backfill sampling flags, MIME input types, dates and open weights for the migrated labs
- top_p/top_k checked against each lab's docs or model card: open-weight
checkpoints keep all three; Fugu ignores all sampling; Upstage, Sonar
and Aion document no top_k (Aion and Sonar Deep Research no top_p)
- exact image/video MIME types for Step 3.7 Flash, Step 5 Preview, Sonar
Pro and Sonar Reasoning Pro from the StepFun and Perplexity docs
- Hy-MT2 release 2026-05-21, Phi-4-mini release 2025-02-26 and cutoff
2024-06, Solar Pro 3 release 2026-01-26 / update 2026-03-23 / cutoff
2025-07, Aion 2.0/3.0/3.0 Mini dates from the Aion models API
- open_weights for Ling 3.1 Flash and Aion-RP Llama 3.1 8B (public weights)
- sources in each file's header
* chore(sync): drop host temperature overrides the Step 5 Preview and Ling 3.1 Flash labs now cover
* feat(v2): move structured_output off Alibaba lab files onto host files
* fix(alibaba): set attachment = true on Qwen models with image, audio or video input
* feat(v2): migrate Alibaba provider models to schema 2
* fix(alibaba): set temperature on Qwen3.8 Flash and Qwen3.8 Omni Flash lab files
* feat(v2): migrate Alibaba lab models to schema 2
* feat(v2): Qwen input formats as MIME types, exact release dates, drop audio from Qwen3.5/3.6 open models
* feat(v2): backfill Model Studio international caching, sampling, reasoning defaults and mid-conversation flags; fix list prices; mark retired models deprecated
* feat(v2): add currently served Model Studio models as v2-only
* feat(v2): backfill Model Studio China (Beijing) caching, sampling and reasoning defaults from the docs; fix Beijing list prices; mark unlisted models deprecated
* feat(v2): backfill Coding Plan and Token Plan model capabilities from the docs; mark models dropped from the plans deprecated; type plan image and video models
* chore(sync): drop host overrides the Alibaba lab now covers; EdenAI Qwen3.8 Max 0902 efforts follow the new first-party file
* feat(v2): tools.updates = false on Alibaba base_model chat files
* chore(sync): drop OpenRouter Qwen overrides the Alibaba lab now covers
* fix(alibaba): keep Qwen3-ASR Flash as v1 files and Merge Gateway's text-only Qwen3.5 Plus at attachment = false
* feat(v2): exact MIME types for the remaining Alibaba image, video, audio, omni, realtime and Kimi entries
* docs(alibaba): cite the model cards and Model Studio vision doc for text, image and video input on Qwen3.5/3.6 open models
* docs(alibaba): cite the image-input sources for Qwen-VL-OCR and the retired Qwen-Omni models
* feat(v2): migrate Z.AI (Zhipu) lab and provider files to schema 2
Mechanical migration via migrate-v2.ts. structured_output moves off five
zhipuai lab files; the v1 host files that inherited it now set it
themselves. Lab files set top_p (documented) and top_k (true for
open-weights models, false for API-only ones).
* feat(zhipuai): backfill v2 capabilities, CN pricing, and missing Z.AI models
- Provider files base_model the zhipuai labs and hold only overrides.
- Reasoning defaults, implicit cache, top_k = false, system_updates and
tools.updates / effort_updates from the docs and live probes.
- zhipuai prices converted from the bigmodel.cn CNY list with >=32K tiers.
- GLM-5.2 gets the thinking.type toggle next to its effort levels.
- Coding Plan entries now routed to GLM-5.3 / GLM-5.3-Flash are deprecated.
- glm-image type and launch date; glm-5v-turbo MIME inputs.
- New v2-only models: glm-4.5-x, glm-4.5-airx, glm-4.6v-flashx, glm-5-turbo
(zhipuai), glm-image, glm-asr-2512, cogvideox-3.
* fix(zhipuai): exact MIME modalities for GLM vision, video and image models
Labs list the formats the Z.AI / Zhipu Chat API documents (jpg/png images,
mp4/mkv/mov video, PDF files on GLM-5.3-Flash); provider files no longer
repeat them. CogVideoX-3 outputs video/mp4. GLM-Image stays generic (no
documented format; live URLs are labeled PNG but carry JPEG) and its
first-party entries take text input only.
* feat(v2): migrate Moonshot AI provider models to schema 2
* feat(v2): migrate moonshotai lab models to schema 2
* feat(v2): Kimi input formats as MIME types, exact release dates, migrate K2.8 Preview
* feat(v2): backfill Moonshot AI caching, sampling, tool and mid-conversation capabilities; price the China platform from its CNY list
* feat(v2): backfill Kimi For Coding reasoning defaults, toggle and caching
* fix(v2): Kimi For Coding off is effort none, drop unverified structured_output, cite Kimi MIME list and CN toggle wire
* refactor(deepseek): move structured_output from lab files to hosts
* fix(deepseek): text-only deepseek-chat/reasoner have no attachments; OCR 2 takes temperature
* feat(v2): migrate DeepSeek lab and provider files to schema 2
* feat(v2): DeepSeek image MIME types and V4 Pro 0813 release date
* feat(v2): backfill DeepSeek API reasoning defaults, caching, peak pricing, limits and mid-conversation flags
* chore(deepseek): apply sync output for hosts of deepseek-chat/reasoner and V4 Pro 0813
* fix(amazon-bedrock): keep structured_output on the v2 DeepSeek V3.2 file
* fix(deepseek): drop unpublished image limits; cite low as a distinct effort level
* docs(agents): DeepSeek V4 effort levels are low/high/max
* fix(azure): keep structured_output on the v2 DeepSeek files
* feat(v2): migrate google lab models to schema 2
* feat(v2): migrate google provider models to schema 2
* feat(v2): list Gemini input formats as MIME types and backfill sampling capabilities
* feat(v2): backfill Gemini API caching, service tiers, and media pricing
* chore(v2): format google provider files the way sync writes them, list google as migrated
* feat(v2): set type on non-chat google models
* feat(google): add missing Gemini API models
* feat(v2): set required sampling flags on google lab models
* feat(v2): set Gemini mid-conversation update flags
* feat(google): publish the new Google models in v2 only
* feat(v2): list Gemini output formats as MIME types
* feat(v2): migrate openai lab and provider files to schema 2
* feat(v2): backfill openai provider capabilities
* feat(sync): write v2 provider model files
* fix(sync): keep inherited reasoning and lab modalities when patching v2 files
* feat(v2): set type on non-chat OpenAI models; keep curated type in sync
* refactor(meta): move structured_output from lab files to hosts
* feat(v2): migrate meta lab models to schema 2
* feat(v2): migrate meta provider models and backfill capabilities
* docs: list meta as migrated to v2