chore(llma): Update LLM costs#60221
Closed
scheduled-actions-posthog[bot] wants to merge 0 commit into
Closed
Conversation
Contributor
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
nodejs/src/ingestion/ai/costs/providers/llm-costs.json:6951-6962
**qwen3.7-max prices halved but current sources show no price change**
The `default` and `alibaba` provider costs for `qwen/qwen3.7-max` were cut in half (`prompt_token`: `0.0000025` → `0.00000125`, `completion_token`: `0.0000075` → `0.00000375`). However, OpenRouter and Together.ai both currently list this model at **$2.50/M input, $7.50/M output** — which matches the *previous* values. If this halving is incorrect, cost tracking for qwen3.7-max will undercount by 50%, causing users to be charged half of what they actually owe.
Reviews (1): Last reviewed commit: "chore(llma): update LLM costs" | Re-trigger Greptile |
Comment on lines
6951
to
6962
| "default": { | ||
| "prompt_token": 0.0000025, | ||
| "completion_token": 0.0000075, | ||
| "cache_read_token": 5e-7, | ||
| "cache_write_token": 0.000003125 | ||
| "prompt_token": 0.00000125, | ||
| "completion_token": 0.00000375, | ||
| "cache_read_token": 2.5e-7, | ||
| "cache_write_token": 0.0000015625 | ||
| }, | ||
| "alibaba": { | ||
| "prompt_token": 0.0000025, | ||
| "completion_token": 0.0000075, | ||
| "cache_read_token": 5e-7, | ||
| "cache_write_token": 0.000003125 | ||
| "prompt_token": 0.00000125, | ||
| "completion_token": 0.00000375, | ||
| "cache_read_token": 2.5e-7, | ||
| "cache_write_token": 0.0000015625 | ||
| } |
Contributor
There was a problem hiding this comment.
qwen3.7-max prices halved but current sources show no price change
The default and alibaba provider costs for qwen/qwen3.7-max were cut in half (prompt_token: 0.0000025 → 0.00000125, completion_token: 0.0000075 → 0.00000375). However, OpenRouter and Together.ai both currently list this model at $2.50/M input, $7.50/M output — which matches the previous values. If this halving is incorrect, cost tracking for qwen3.7-max will undercount by 50%, causing users to be charged half of what they actually owe.
Prompt To Fix With AI
This is a comment left during a code review.
Path: nodejs/src/ingestion/ai/costs/providers/llm-costs.json
Line: 6951-6962
Comment:
**qwen3.7-max prices halved but current sources show no price change**
The `default` and `alibaba` provider costs for `qwen/qwen3.7-max` were cut in half (`prompt_token`: `0.0000025` → `0.00000125`, `completion_token`: `0.0000075` → `0.00000375`). However, OpenRouter and Together.ai both currently list this model at **$2.50/M input, $7.50/M output** — which matches the *previous* values. If this halving is incorrect, cost tracking for qwen3.7-max will undercount by 50%, causing users to be charged half of what they actually owe.
How can I resolve this? If you propose a fix, please make it concise.
Radu-Raicea
approved these changes
May 27, 2026
auto-merge was automatically disabled
May 27, 2026 20:39
Pull request was closed
7fa3d4e to
89a7939
Compare
Contributor
Author
|
Superseded by #60355 |
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.
This is an automated PR to update LLM pricing models.
Reviewer checklist
Please verify that there aren't any odd changes in the pricing by checking against the official pricing pages: