Commit Graph

32 Commits

Author SHA1 Message Date
127bb62932 fix(compute): MiniMax M2.x 单次输出上限按官网更正为 204800,已下线型号写入 tombstones (#126)
MiniMax 官网 Messages API 参数参考(国内与国际站同页,OpenAI 兼容
max_completion_tokens 同值)写明:除 M3.1-Flash-Preview 与 M3 外的其他模型
max_tokens 推荐 65536、上限 204800,同页 model 枚举列出 M2.7、M2.5、M2.1、M2
及各 highspeed。本仓 maxOutputTokens 是单次输出上限,登记上限而非推荐值
(与 #125 的 M3 处理一致)。

- M2.7、M2.7-highspeed、M2.5、M2.5-highspeed、M2.1、M2.1-highspeed、M2 七个
  规格 maxOutputTokens 131072 → 204800;直连与 Token Plan 条目没有输出覆盖,
  随规格变化。上下文窗口 204800 复核一致。
- 官网模型列表把 MiniMax-M2.1、M2.1-highspeed、M2、M2-her 列为已下线:
  直连 provider-minimax-001 移除这 4 条并写入 tombstones(只删除本地
  source=preset 的同名条目),共享规格保留。
- M2-her 官方指南只给出 64 K 上下文(简写)、未给输出上限,且走 OpenAI 兼容
  接口、不在 /anthropic 支持型号内;规格原 204800 / 131072 无来源,改为未声明。
- 官网概览页通知 M2.5、M2.7 系列 2026-10-19 起停止向新用户开放、2026-11-18
  正式下线,M Plan/Token Plan 请求自 2026-10-19 起路由至 M3.1 Flash Preview;
  尚未到下线日,只在直连与 Token Plan 条目描述中写明。
- 来源记录新增 minimax-model-list、minimax-text-chat,刷新 minimax-models;
  规格决策清单补 M2.x verifiedLimits;presetDataVersion 133。

火山/腾讯/百度套餐中无本地数值的 minimax-m2.5/m2.7 在旧版匹配器下会继承
新上限,这些平台自身的上限未核。未做账号实测。
2026-10-18 18:39:08 +08:00
db5fbc408b fix(compute): MiniMax-M3 单次输出上限按官网更正为 524288 (#125)
MiniMax 官网 Messages API 参数参考(国内与国际站同页)写明 MiniMax-M3 的
max_tokens 推荐值 131072(128K)、上限 524288(512K),思考 token 计入上限;
OpenAI 兼容 max_completion_tokens 同值。本仓 maxOutputTokens 是单次输出上限,
客户端出站准入按它拒绝超额请求,应登记上限而非推荐值。

- 规格 MiniMax-M3 的 maxOutputTokens 由 512000 更正为 524288
- 直连 provider-minimax-001 与 Token Plan provider-minimax-coding-001 的 131072
  是沿用旧副本(V2 标注 inherited-not-reverified);二者同走 /anthropic 端点,
  官网未按 Key 类型另设单次输出上限,删除接入覆盖、改为继承规格
- 上下文窗口 1,000,000 复核一致,不变
- 来源记录新增 minimax-messages-api,刷新 minimax-anthropic 读取日期与摘要;
  规格决策清单两条 MiniMax-M3 差异改为 verified-official-limit
- presetDataVersion 132,规格索引批次说明同步

Token Plan 账号下 M3 是否仍可调用未做账号实测;M2.x 的 131072 与官网上限 204800
的差异未在本次处理。
2026-10-18 18:08:15 +08:00
73b278df51 fix(compute): GLM-5.3 系列在 anthropic 协议按官网用 output_config.effort 控制思考强度 (#120)
智谱官网(国内 coding-plan/latest-model、国际 devpack/latest-model)写明 /api/anthropic
以 thinking.type 与 output_config.effort 控制思考强度,thinking.type=enabled 一律按默认 max
处理,budget_tokens 不是控制项。两个 anthropic-messages 接入面的 GLM-5.3 系列此前只有按
OpenAI 协议文档写的 low/high/max 矩阵,客户端按 budget 形态发送:low/high 在上游都成了 max,
max(也是默认档)在客户端本机被拒绝;经 new-api 的 OpenAI 类渠道转换时 low 变成
reasoning_effort=medium,被智谱标准 API 拒绝。

- zhipu、zhipu-coding 接入面的 GLM-5.3 / 5.3-Flash / 5.3-FlashX 声明 adaptiveThinking
- GLM-5.3 系列规格加 anthropic-messages 协议 profile(V1 副本为 spec.extra.adaptiveThinking),
  覆盖经 ModelSpec 补全的云端条目
- 来源记录补国际 Coding Plan 页;按量 API Key 与 FlashX 按同一端点推定,未列入已核字段
- presetDataVersion 130
2026-10-05 09:17:43 -07:00
e8122c1d77 fix(compute): 按官网补对话型号的 tool_use 标签 (#119)
逐条对照供应商官方文档,核对 36 个对话规格与 70 个 Provider / 套餐预置条目
(capabilities 缺 tool_use / tools / function_calling)的工具调用支持情况:

- 补 tool_use 25 条:规格 9、随规格继承的接入条目 5、接入覆盖 11
- 保持原样 81 条:官方写明不支持或页面互相矛盾 10、已下线或数日内下线 26、
  官方当前文档无该型号或无工具调用说明 34、只在未适配接口上支持 2、官网读取失败 9
- 只改 capabilities,不动 routing;qwen-max 等按华北 2(北京)地域记,国际站不适用
- 同步单模型来源记录、供应商证据目录与来源缺口清单;逐条决定与依据见
  docs/source-rechecks/2026-10-05-tool-calling/README.md
- presetDataVersion 128 → 129
2026-10-04 18:26:40 -07:00
642985e819 fix(data): complete verified contracts and source maintenance (#114) 2026-10-03 03:49:55 -07:00
cccf14f72d fix(compute): verify official model data and document sources (#112)
* fix(compute): verify official data and document model sources

* test(docs): guard provider metadata source freshness
2026-10-02 23:51:28 -07:00
79ffd1f8c3 feat(compute): refresh provider model catalog and compatibility profiles (#111) 2026-10-02 07:38:18 -07:00
b64ee77342 feat(compute): update current model catalog (#106)
* feat(compute): update current model catalog

* feat(compute): add MiMo V2.6 model profiles
2026-09-25 23:33:23 +08:00
Johnson-LYS
de98a1ad1e feat(compute): add GLM-5.3 Flash to Coding Plan (#83)
- add GLM-5.3 Flash to the Z.AI Coding Plan preset
- declare multimodal and always-on reasoning capabilities
- add regression coverage and bump preset data version
2026-08-28 14:30:03 +08:00
Johnson-LYS
ed0aeccf29 feat: add qwen3.8 max preview (#67) 2026-08-10 17:10:47 +08:00
c67dfc2143 chore: refresh vendor model presets
Refresh vendor model presets and bump config data version.
2026-07-07 16:31:24 +08:00
92e0d4651a chore: refresh GLM model configs
## Summary
- add GLM-5.2 and GLM-4.7-FlashX to Zhipu provider config
- update GLM context/output/pricing tiers from official BigModel docs and pricing
- align Zhipu Coding Plan with official GLM-5.2, GLM-5-Turbo, and GLM-4.7 availability
- sync existing GLM max output values in DashScope configs
- address Copilot review by using extra.pricingTiers consistently

## Validation
- npm run validate
- npm test
- git diff --check
2026-07-07 16:25:21 +08:00
847f4bd139 更新 Kimi 模型配置 (#40)
更新 Kimi 模型配置

- 更新 Moonshot/Kimi 官方 provider 模型清单
- 新增 K2.7 Code、K2.7 Code HighSpeed 和 V1 vision-preview 模型
- 移除已下线 K2 系列并添加 tombstones
- 同步 Kimi Code coding plan 参数

验证:
- npm run validate
- npm test
2026-07-07 15:51:36 +08:00
66113b06cf 更新 Qwen 模型配置 (#41)
更新 Qwen 模型配置
2026-07-07 15:41:24 +08:00
xyx
65a8bc4af5 feat(coding-plan): 新增百度千帆 Coding Plan 配置(presetDataVersion 58→59) (#32)
- 新增 baidu-coding.json:10 个模型(qianfan-code-latest 自动路由、
  deepseek-v3.2/v4-flash、ernie-4.5-turbo、glm-5/5.1、kimi-k2.5/k2.6、
  minimax-m2.5/m2.7)
- baseUrl: https://qianfan.baidubce.com/v2/coding
- accessMode: coding-plan
- 更新 _index.json 添加 baidu-coding 条目
2026-06-12 14:30:12 +08:00
xyx
00e148af8e feat: 算力配置全面审计 — 6 家供应商 + Token/Coding Plan 对齐官方文档 (#20)
Providers:
- moonshot: 移除到期模型 kimi-k2/k2-thinking,修正 k2.6 maxOutputTokens 32768、k2.5 contextWindow 262144
- tencent: 修正 hunyuan-t1-latest 上下文/输出/价格,新增 hunyuan-t1-vision/turbos-vision
- volcengine: doubao-seed-2.0-lite/mini 新增 audio_understanding/video_understanding
- internal-testing: services 扩展为全部 18 种类型,新增 mediaBaseUrl

Coding Plans:
- dashscope-token-plan: baseUrl 修正为 coding.dashscope.aliyuncs.com,移除非 Coding Plan 模型,新增 kimi-k2.5/qwen3.5-plus/qwen3-coder-plus/glm-4.7
- minimax-coding: 修正 usageTracking 端点,services 扩展为 7 种含媒体类型
- moonshot-coding: maxOutputTokens 修正为 32768
- zhipu-coding: 新增 glm-5.1/glm-5-turbo/glm-4.5-air,修正 glm-5 contextWindow 200000
- volcengine-coding: 新增 glm-5.1/kimi-k2.6/minimax-m2.7
- tencent-token: 新增腾讯云 Token Plan(10 个模型)

presetDataVersion: 45 → 46
2026-05-10 00:58:56 +08:00
xyx
8a4a08b642 fix(dashscope): Token Plan 回退为客户端兼容字段 (#15)
线上客户端 schema 尚未支持 tokenPlan/accessMode:"token-plan",
同步后导致 compute.json 校验失败。临时回退为 codingPlan + coding-plan,
待主仓库升级 schema 后再切换为语义正确的字段。
2026-05-07 22:05:30 +08:00
37d51e6e4d feat(schema): 扩展 provider schema 支持 Token Plan
- accessMode enum 新增 "token-plan"
- 新增顶层 tokenPlan 属性(与 codingPlan 结构对齐)
- usageTracking.method enum 新增 "credits"(Token Plan 使用 Credits 计量)
- dashscope-token-plan.json 恢复语义正确的 tokenPlan 配置
2026-05-07 20:15:58 +08:00
f4706b1558 fix: Token Plan schema 兼容修复(accessMode/codingPlan/method) 2026-05-07 20:12:45 +08:00
01764d447d feat(dashscope): 更新 Coding Plan 模型 + 新增 Token Plan + providers 补充 qwen-image 系列
Coding Plan:
- 更新模型列表至最新(qwen3.6-plus、kimi-k2.5、glm-5 等 9 个模型)
- 修正上下文窗口参数(qwen3.6-plus: 1M, glm-5: 200K 等)
- label 从 "Token (Coding) Plan" 改回 "Coding Plan"

Token Plan(新增):
- 新增 dashscope-token-plan.json 配置
- baseUrl: token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
- 包含文本模型 4 个 + 图像模型 4 个(wan2.7 + qwen-image-2.0)
- accessMode: "token-plan",usageTracking: credits

Providers (dashscope.json):
- 补充 qwen-image-2.0-pro 和 qwen-image-2.0 两个图像生成模型
2026-05-07 20:09:25 +08:00
7ac60f9c3c fix(volcengine): update provider and coding plan models 2026-04-29 21:24:59 +08:00
e65c3f4c23 fix(minimax): Token Plan 改用 anthropic-messages 格式(与 API provider 一致) 2026-04-28 22:04:17 +08:00
32203fb2a9 fix(minimax): codingPlan 结构适配 schema(移除不兼容的嵌套配额) 2026-04-28 21:36:22 +08:00
9da3d12a4f chore: Coding Plan 统一改名为 Token (Coding) Plan 2026-04-28 21:14:03 +08:00
a1c9c7351b fix(minimax): 补全模型列表,Token Plan 升级为全模态
providers/minimax.json(API 按量计费):
- 新增文本模型:MiniMax-M2、M2-her
- 新增历史语音模型:speech-2.6-hd/turbo、speech-02-hd/turbo
- 新增历史视频模型:MiniMax-Hailuo-02、S2V-01
- 新增历史音乐模型:music-2.5+、music-2.5
- 标记历史版本 extra.legacy: true
- services 补充 vision

coding-plans/minimax-coding.json(Token Plan):
- label 从 "Coding Plan" 改为 "Token Plan"(MiniMax 2026.3 升级)
- 从仅 M1 扩展为全模态:M2.7、Speech 2.8、image-01、Hailuo-2.3、Music-2.6
- 补充完整配额信息(6 个套餐等级 × 5 个模态)
- 补充定价信息(月付/年付)

presetDataVersion: 34 → 35
2026-04-28 20:55:45 +08:00
371336cdd6 Revert "Merge pull request #1 from desirecore/model-field-official-audit"
This reverts commit 88a8cf2db6, reversing
changes made to ca99ea272f.
2026-04-25 19:34:29 +08:00
b0e0cead04 chore: update field audit tables and provider configs
Batch update from official docs audit - price corrections, context
window fixes, field report updates across all providers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 20:12:57 +08:00
7159e1cf59 fix(coding-plans): revert incorrect model name suffix and align MiniMax Token Plan labels
- Revert qwen3-max-2026-01-23 back to qwen3-max in dashscope-coding
- Update minimax-coding labels/descriptions to "Token Plan" to match
  actual config params (endpoints, quotas, billing), since MiniMax
  upgraded Coding Plan to Token Plan in March 2026

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 15:12:13 +08:00
c57cd4723d audit model field values against official docs 2026-04-24 12:20:24 +08:00
c7a24a7acd feat(zhipu): switch to anthropic-messages endpoint and split embedding provider
- zhipu (chat/reasoning/vision): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  启用 Anthropic 协议的 thinking 字段以支持 GLM 深度思考流式输出
- zhipu-embedding (new): 独立承载 embedding-3, 保留 /api/paas/v4 + openai-completions
  Anthropic 协议不提供 /embeddings 端点
- zhipu-coding (Coding Plan): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  与非套餐端点共用同一协议, 计费维度由 API Key 区分
- bump presetDataVersion 17 -> 18
2026-04-19 23:31:45 +08:00
张馨元
97c2c16643 fix: 修复 22 处模型能力标签与实际能力不一致的问题
- 为 kimi-k2、qwen3-max、glm-4.6、grok-4 等 12 个模型补充 vision 标签
- 为 minimax-m2.1-highspeed、mistral-small-latest 补充 reasoning 标签
- 对齐 coding-plan 版本与主版本的能力标签(zhipu/dashscope/moonshot)
- 补全 internal-testing 内测版过度简化的能力标签
- bump presetDataVersion: 17 -> 18

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 15:30:00 +08:00
张馨元
5de191f62f fix: 修复供应商默认端点 URL 并新增 Coding Plan 配置
- anthropic: 去掉多余的 /v1(Anthropic 原生 API 不带版本路径)
- deepseek: 去掉 /v1(官方推荐不带版本后缀)
- minimax: 域名从 minimax.io 改为 minimaxi.com(国内正式域名)
- 新增 compute/coding-plans/ 目录(8 个 Coding Plan 供应商配置)
- manifest presetDataVersion 9 → 10

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 19:26:08 +08:00