Repository navigation
dashscope: Add image pricing following existing format - #1023
Open
kiran-4444 wants to merge 1 commit into
Open
kiran-4444 wants to merge 1 commit into
kiran-4444 wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
🔵 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_imagesand input image charges toinput_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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
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
jqor an online validatorRelated Issue
Fixes # (issue)