mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 20:32:38 +02:00
fixbug: #1565 zhipuai model exception
This commit is contained in:
parent
99c1f95303
commit
f1565e2cca
4 changed files with 5 additions and 3 deletions
|
|
@ -52,6 +52,8 @@ TOKEN_COSTS = {
|
|||
"text-embedding-ada-002": {"prompt": 0.0004, "completion": 0.0},
|
||||
"glm-3-turbo": {"prompt": 0.0007, "completion": 0.0007}, # 128k version, prompt + completion tokens=0.005¥/k-tokens
|
||||
"glm-4": {"prompt": 0.014, "completion": 0.014}, # 128k version, prompt + completion tokens=0.1¥/k-tokens
|
||||
"glm-4-flash": {"prompt": 0, "completion": 0},
|
||||
"glm-4-plus": {"prompt": 0.007, "completion": 0.007},
|
||||
"gemini-1.5-flash": {"prompt": 0.000075, "completion": 0.0003},
|
||||
"gemini-1.5-pro": {"prompt": 0.0035, "completion": 0.0105},
|
||||
"gemini-1.0-pro": {"prompt": 0.0005, "completion": 0.0015},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue