docs(skill): model-auto-config定价改走ppid定价平台(模型表四字段已删)
This commit is contained in:
parent
0d5c5ea00f
commit
1b46036a39
@ -32,12 +32,14 @@ tools: [fetch_model_doc, extract_llm_api_spec, apply_llm_config, platform_llm_st
|
||||
`apply` 返回的 `runtime_note` 必须如实转告用户。
|
||||
- **端点去重**:同供应商已有端点不重复添加(apply 内部已合并,确认时留意新增数)。
|
||||
|
||||
## 定价示例(按文档原文)
|
||||
## 定价(2026-09-04 起:模型表不存单价)
|
||||
|
||||
文档:「输入 2 元/百万tokens,输出 6 元/百万tokens」
|
||||
→ price_input = 2,price_output = 6,description 注明「单位:元/百万tokens」。
|
||||
**不换算**——单位语义由人工确认阶段决定(注意:llm_model 四价在结算代码中按
|
||||
元/千token 语义使用,若单位不一致测试阶段记账核对会暴露,届时人工决策)。
|
||||
llm_model 的 price_input/price_output/cost_input/cost_output 四字段已删除。
|
||||
定价统一走定价平台:模型挂 `ppid`(pricing_program),售价/成本由定价引擎
|
||||
按 ppid 计算(product_interface.calculate_product_cost / 异步出账循环)。
|
||||
文档里的价格信息 → 在定价平台配对应 pricing_program 并挂到模型 ppid,
|
||||
**不再写进模型表**;未挂 ppid 的模型展示「未挂定价方案」,出账链路会报
|
||||
「模型未挂定价方案」并置 failed(不静默)。
|
||||
|
||||
## 验证
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user