Files
sub2api/backend/resources
harukaandClaude Opus 5.5 1cdecf4a88 fix(billing): Grok 4.7 Fast 按官方 Fast 价卡计费 (#8119)
grok-4.7-fast 没有专属价格,落入「未知 Grok 文本模型」兜底按 grok-4.6
价卡计费,与普通 grok-4.7 同价($2 / $0.50 / $6),少收一半。

- 内置兜底价新增 grok-4.7-fast:<200k 为 $4 输入 / $1 缓存读取 / $12 输出
  (每百万 token,标准价 2 倍);>=200k 整次请求为 $6 / $1.50 / $18,
  即 Fast 基础价 1.5 倍,阈值口径与其它 xAI 价卡一致(达到即进高档)
- grok-4.7-build-fast(Grok Build 侧的 Fast ID,见 #7502)同样命中该价卡
- 本地价格快照新增 grok-4.7-fast 条目,带 xai/ 前缀的写法也能识别

价格来源:https://docs.x.ai/developers/pricing(Grok 4.7 Fast,仅 Cursor
与 Grok Build 提供)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:13:58 -04:00
..