Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the TOKEN_COSTS for Model Qwen/Qwen2.5-Coder-32B-Instruct #1593

Open
ZONGEZE opened this issue Nov 12, 2024 · 4 comments
Open

Updating the TOKEN_COSTS for Model Qwen/Qwen2.5-Coder-32B-Instruct #1593

ZONGEZE opened this issue Nov 12, 2024 · 4 comments
Labels

Comments

@ZONGEZE
Copy link

ZONGEZE commented Nov 12, 2024

2024-11-12 17:30:29.957 | WARNING | metagpt.utils.cost_manager:update_cost:49 - Model Qwen/Qwen2.5-Coder-32B-Instruct not found in TOKEN_COSTS.

@voidking
Copy link
Collaborator

Currently some LLM APIs do not support cost statistics. Which LLM are you using?

@ZONGEZE
Copy link
Author

ZONGEZE commented Nov 14, 2024

Currently some LLM APIs do not support cost statistics. Which LLM are you using?

Qwen2.5-Coder-32B-Instruct

@CheeYeah
Copy link

CheeYeah commented Nov 19, 2024

in the file /utils/token_counter.py
add "Qwen2.5-Coder-32B-Instruct": {"prompt": 0.0005, "completion": 0.001}, at the end of DASHSCOPE_TOKEN_COSTS

Copy link

This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants