Skip to content

希望加入更多类型的模型计费模式(比如deepseek的峰谷定价、生图模型的按次计费) #615

Description

@jokerovo-cn

例行检查 / Checklist

  • 我已确认目前没有类似 issue (I have checked for similar issues)
  • 我已确认当前主版本线的最新补丁版本仍无法满足需求 (I have confirmed the latest patch release in my current major line does not meet this need)
  • 我已查看对应版本线的 README 和发布说明 (I have read the README and release notes for my release line)
  • 我不会在 issue 中提交任何凭据或令牌 (I will not include credentials or tokens in this issue)
  • 我理解并愿意跟进此 issue,协助测试和提供反馈 (I am willing to follow up on this issue, assist with testing, and provide feedback)

目标版本线 / Target Release Line
2.x;

功能描述 / Feature Description
希望支持更多类型的计费模式

  1. 分时段(峰谷)定价:同一模型在不同时间段使用不同单价或折扣倍率
    2.按次 / 按量计费:生图等非 token 计量的模型按“张”或“次”收费

应用场景 / Use Case

  • 使用 DeepSeek 这种峰谷定价的模型时,夜间折扣时段的调用会被按标准单价统计,导致成本报表与实际账单不符,差额可观且难以人工核对。
  • 有的生图模型计费单位是“张”而不是 token,按 token 统计的现有逻辑完全无法反映这部分支出。

期望方案 / Desired Behavior

  1. 成本/用量报表能根据每次调用的真实发生时间自动匹配对应时段的费率,峰谷时段的费用分别统计。

兼容性、数据与安全影响 / Compatibility, Data, and Security Impact

备选方案 / Alternatives Considered

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedHelp from community contributors is requested.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions