Skip to content

请求支持gemini-3-pro-image-preview按输出模态(text/image)分开计费 #2500

Closed

Description

@ioneday

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,已确定现有版本无法满足需求
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述
gemini-3-pro-image-preview模型的输出,按TEXT、IMAGE分开计费,且价格差非常大(TEXT:$12,IMAGE:$120);

实际调用会返回大量的思考文本,多的时候会占输出token的一半,按$120设置会导致计费偏高

之前这类计费问题,大多取折中价格配置,但这个模型的价格差实在太大了。

应用场景

Image

Activity

  1. added
    enhancement
    on Dec 23, 2025
  2. coderabbitai commented on Dec 23, 2025

    @coderabbitai
    Contributor

    📝 CodeRabbit Plan Mode

    Generate an implementation plan and prompts that you can use with your favorite coding agent.

    • Create Plan
    Examples

    🔗 Similar Issues

    Related Issues

    🔗 Related PRs

    #1677 - feat: gemini-2.5-flash-image-preview 文本和图片输出计费 [merged]
    #1813 - fix: openai responses api 未统计图像生成调用计费 [merged]
    #1945 - feat: 支持 gemini-robotics-er-1.5-preview [merged]
    #2305 - OAI生图接口支持gemini 3 pro image preview [merged]
    #2321 - Gemini Image系列支持图像编辑 [merged]

    👤 Suggested Assignees

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord or schedule a call!

  3. B1F030 commented on May 25, 2026

    @B1F030

    这个貌似可以通过表达式来实现,例如:

    tier("base", p * 2 + c * 12 + img_o * 120)
    

    参考:https://github.com/QuantumNous/new-api/blob/main/web/default/src/features/system-settings/models/tiered-pricing-editor.tsx#L188-L190

    deepwiki 问出来的:

    当前我有一个模型 gemini-3-pro-image-preview 希望添加计费,其输入价格为 $2 每百万 token(文字/图片);输出价格为 $12 每百万 token(文本和思考)、$120 每百万 token(图片),在模型定价设置中应该如何配置?
    
    Image

    还可以用 Token 估算器 验证一下:

    Image

    对应可视化编辑:

    Image
  4. seefs001 commented on May 25, 2026

    @seefs001
    Collaborator

    新版本可以采用新的表达式计费来解决这个问题,可以参考一下上面这位朋友的。

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions