Skip to content

dashscope: Add image pricing following existing format - #1023

Open
kiran-4444 wants to merge 1 commit into
mainfrom
dashscope/image-pricing-fix
Open

kiran-4444 wants to merge 1 commit into
mainfrom
dashscope/image-pricing-fix

Conversation

@kiran-4444

@kiran-4444 kiran-4444 commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

  • New model pricing
  • Update existing pricing
  • New model configuration
  • Bug fix

Asana Ticket: https://app.asana.com/1/11915891072957/project/1218257019223874/task/1220329173755063

Source Verification

Source Link: [Add link here]

Important

Please include a link to the official pricing page from the provider. Simple "I heard it from somewhere" or screenshot sources are not accepted.

Checklist

  • I have validated the JSON using jq or an online validator
  • I have verified that prices are in cents per token (not dollars)
  • I have included the source link above
  • I have signed the CLA (if first-time contributor)

Related Issue

Fixes # (issue)

Copilot AI balanced review requested due to automatic review settings November 8, 2026 18:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

No official DashScope pricing source is supplied to confirm whether the migrated rates are per input/generated image and account for regional and resolution-tier billing.

No open issues 🎉

What changed in this PR

Updates DashScope image pricing to use the existing additional_units format instead of token-based fields, preserving the listed prices.

Changes:

  • Moves image generation charges to generated_images and input image charges to input_image.
  • Sets the corresponding token prices to zero across the affected default and variant configurations.
File Description
pricing/​dashscope.json Represents image charges as additional units rather than token prices.

Review effort: Balanced

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants