Skip to content

Commit b55c23e

Browse files
7418claude
andcommitted
fix: update GLM and MiniMax model labels to latest versions
- GLM: opus 槽位从 GLM-4.7 改为 GLM-5,使 Max 套餐用户可以选择 GLM-5; sonnet 保持 GLM-4.7 供普通套餐用户使用,haiku 保持 GLM-4.5-Air。 两个 URL(z.ai 国际区 + bigmodel.cn 国内区)同步更新。 - MiniMax: 所有槽位从 MiniMax-M2.1 更新为 MiniMax-M2.5, 两个 URL(minimax.io 国际区 + minimaxi.com 国内区)同步更新。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c6ed594 commit b55c23e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/app/api/providers/models/route.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ const DEFAULT_MODELS = [
1313
const PROVIDER_MODEL_LABELS: Record<string, { value: string; label: string }[]> = {
1414
'https://api.z.ai/api/anthropic': [
1515
{ value: 'sonnet', label: 'GLM-4.7' },
16-
{ value: 'opus', label: 'GLM-4.7' },
16+
{ value: 'opus', label: 'GLM-5' },
1717
{ value: 'haiku', label: 'GLM-4.5-Air' },
1818
],
1919
'https://open.bigmodel.cn/api/anthropic': [
2020
{ value: 'sonnet', label: 'GLM-4.7' },
21-
{ value: 'opus', label: 'GLM-4.7' },
21+
{ value: 'opus', label: 'GLM-5' },
2222
{ value: 'haiku', label: 'GLM-4.5-Air' },
2323
],
2424
'https://api.kimi.com/coding/': [
@@ -37,14 +37,14 @@ const PROVIDER_MODEL_LABELS: Record<string, { value: string; label: string }[]>
3737
{ value: 'haiku', label: 'Kimi K2.5' },
3838
],
3939
'https://api.minimaxi.com/anthropic': [
40-
{ value: 'sonnet', label: 'MiniMax-M2.1' },
41-
{ value: 'opus', label: 'MiniMax-M2.1' },
42-
{ value: 'haiku', label: 'MiniMax-M2.1' },
40+
{ value: 'sonnet', label: 'MiniMax-M2.5' },
41+
{ value: 'opus', label: 'MiniMax-M2.5' },
42+
{ value: 'haiku', label: 'MiniMax-M2.5' },
4343
],
4444
'https://api.minimax.io/anthropic': [
45-
{ value: 'sonnet', label: 'MiniMax-M2.1' },
46-
{ value: 'opus', label: 'MiniMax-M2.1' },
47-
{ value: 'haiku', label: 'MiniMax-M2.1' },
45+
{ value: 'sonnet', label: 'MiniMax-M2.5' },
46+
{ value: 'opus', label: 'MiniMax-M2.5' },
47+
{ value: 'haiku', label: 'MiniMax-M2.5' },
4848
],
4949
'https://openrouter.ai/api': [
5050
{ value: 'sonnet', label: 'Sonnet 4.6' },

0 commit comments

Comments
 (0)