community[patch]: update gpt-4o cost (#27038)

updated OpenAI cost definition according to the following:
https://openai.com/api/pricing/
This commit is contained in:
ogawa 2024-10-07 22:06:30 +09:00 committed by GitHub
parent 7a07196df6
commit 07dd8dd3d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,11 +27,11 @@ MODEL_COST_PER_1K_TOKENS = {
"gpt-4o-mini-completion": 0.0006,
"gpt-4o-mini-2024-07-18-completion": 0.0006,
# GPT-4o input
"gpt-4o": 0.005,
"gpt-4o": 0.0025,
"gpt-4o-2024-05-13": 0.005,
"gpt-4o-2024-08-06": 0.0025,
# GPT-4o output
"gpt-4o-completion": 0.015,
"gpt-4o-completion": 0.01,
"gpt-4o-2024-05-13-completion": 0.015,
"gpt-4o-2024-08-06-completion": 0.01,
# GPT-4 input