Skip to content

Commit ff01c70

Browse files
committed
add pricing
1 parent 0517b1f commit ff01c70

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

parea/constants.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from typing import Dict, Union
2-
31
import os
2+
from typing import Dict, Union
43

54
from dotenv import load_dotenv
65

@@ -161,6 +160,11 @@ def str2bool(v):
161160
"completion": 0.6,
162161
"token_limit": {"max_completion_tokens": 4096, "max_prompt_tokens": 128000},
163162
},
163+
"chatgpt-4o-latest": {
164+
"prompt": 5.0,
165+
"completion": 10.0,
166+
"token_limit": {"max_completion_tokens": 16384, "max_prompt_tokens": 128000},
167+
},
164168
}
165169
AZURE_MODEL_INFO: Dict[str, Dict[str, Union[float, int, Dict[str, int]]]] = {
166170
"gpt-35-turbo": {

0 commit comments

Comments
 (0)