mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
update token cost etc.
This commit is contained in:
parent
ed1b310148
commit
e212e7b7b9
2 changed files with 5 additions and 1 deletions
|
|
@ -2,4 +2,4 @@ llm:
|
|||
api_type: openrouter
|
||||
base_url: "https://openrouter.ai/api/v1"
|
||||
api_key: "YOUR_API_KEY"
|
||||
model: meta-llama/llama-3-70b-instruct:nitro
|
||||
model: meta-llama/llama-3-70b-instruct
|
||||
|
|
@ -57,6 +57,8 @@ TOKEN_COSTS = {
|
|||
"yi-34b-chat-0205": {"prompt": 0.0003, "completion": 0.0003},
|
||||
"yi-34b-chat-200k": {"prompt": 0.0017, "completion": 0.0017},
|
||||
"microsoft/wizardlm-2-8x22b": {"prompt": 0.00108, "completion": 0.00108}, # for openrouter, start
|
||||
"meta-llama/llama-3-70b-instruct": {"prompt": 0.008, "completion": 0.008},
|
||||
"llama3-70b-8192": {"prompt": 0.0059, "completion": 0.0079},
|
||||
"openai/gpt-3.5-turbo-0125": {"prompt": 0.0005, "completion": 0.0015},
|
||||
"openai/gpt-4-turbo-preview": {"prompt": 0.01, "completion": 0.03},
|
||||
}
|
||||
|
|
@ -190,6 +192,8 @@ TOKEN_MAX = {
|
|||
"yi-34b-chat-0205": 4000,
|
||||
"yi-34b-chat-200k": 200000,
|
||||
"microsoft/wizardlm-2-8x22b": 65536,
|
||||
"meta-llama/llama-3-70b-instruct": 8192,
|
||||
"llama3-70b-8192": 8192,
|
||||
"openai/gpt-3.5-turbo-0125": 16385,
|
||||
"openai/gpt-4-turbo-preview": 128000,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue