Skip to content

Commit 971b118

Browse files
authored
Merge pull request #1054 from parea-ai/new-openai
add pricing
2 parents 3777103 + daab9dc commit 971b118

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

parea/constants.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ def str2bool(v):
161161
"completion": 0.6,
162162
"token_limit": {"max_completion_tokens": 4096, "max_prompt_tokens": 128000},
163163
},
164+
"chatgpt-4o-latest": {
165+
"prompt": 5.0,
166+
"completion": 10.0,
167+
"token_limit": {"max_completion_tokens": 16384, "max_prompt_tokens": 128000},
168+
},
164169
}
165170
AZURE_MODEL_INFO: Dict[str, Dict[str, Union[float, int, Dict[str, int]]]] = {
166171
"gpt-35-turbo": {

0 commit comments

Comments
 (0)