mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 21:02:38 +02:00
update: update token_counter, add models: deepseek-coder,deepseek-chat
This commit is contained in:
parent
900b6af367
commit
c0e9326338
1 changed files with 4 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ TOKEN_COSTS = {
|
|||
"google/gemini-flash-1.5": {"prompt": 0.00025, "completion": 0.00075},
|
||||
"deepseek/deepseek-coder": {"prompt": 0.00014, "completion": 0.00028},
|
||||
"deepseek/deepseek-chat": {"prompt": 0.00014, "completion": 0.00028}, # end, for openrouter
|
||||
"deepseek-chat": {"prompt": 0.00014, "completion": 0.00028},
|
||||
"deepseek-coder": {"prompt": 0.00014, "completion": 0.00028},
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -215,6 +217,8 @@ TOKEN_MAX = {
|
|||
"google/gemini-flash-1.5": 2800000,
|
||||
"deepseek/deepseek-coder": 128000,
|
||||
"deepseek/deepseek-chat": 128000, # end, for openrouter
|
||||
"deepseek-chat": 128000,
|
||||
"deepseek-coder": 128000,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue