fix: 全量替换 claude-fable-5 → claude-opus-4-8(模型不可用)

- models.ts: 所有档位默认值、回退链、conflict 固定值全部换为 opus-4-8
- 回退链从三项缩为两项 [opus-4-8, sonnet-4-6](删除重复项)
- metrics.ts: 额度权重 opus-4-8 升为 1.0(现为最高档)
- 测试同步更新

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-06-14 15:14:09 +08:00
parent 433b2dc232
commit a5a3c967ce
4 changed files with 38 additions and 40 deletions
+3 -4
View File
@@ -59,13 +59,12 @@ export interface Metrics {
}
/**
* 各模型档位的每分钟相对额度权重”(粗估用,非真实计费):
* fable-5hard)最贵 → opusmedium)次之 → sonneteasy)最省。
* 各模型档位的每分钟相对额度权重”(粗估用,非真实计费):
* opus-4-8hard/reviewer)最贵 → sonneteasy)最省。
* 未知模型用 DEFAULT_COST_PER_MIN 兜底。
*/
export const MODEL_COST_PER_MIN: Record<string, number> = {
'claude-fable-5': 1.0,
'claude-opus-4-8': 0.6,
'claude-opus-4-8': 1.0,
'claude-sonnet-4-6': 0.2,
};
export const DEFAULT_COST_PER_MIN = 0.4;