community[patch]: gpt-4o-2024-08-06 costs (#25164)

- **Description:** updated OpenAI cost definitions according to the
following:
  - https://openai.com/api/pricing/
- **Twitter handle:** `@ogawa65a`

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
ogawa 2024-08-08 22:22:11 +09:00 committed by GitHub
parent d77c7c4236
commit d895db11d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,9 +17,11 @@ MODEL_COST_PER_1K_TOKENS = {
# GPT-4o input # GPT-4o input
"gpt-4o": 0.005, "gpt-4o": 0.005,
"gpt-4o-2024-05-13": 0.005, "gpt-4o-2024-05-13": 0.005,
"gpt-4o-2024-08-06": 0.0025,
# GPT-4o output # GPT-4o output
"gpt-4o-completion": 0.015, "gpt-4o-completion": 0.015,
"gpt-4o-2024-05-13-completion": 0.015, "gpt-4o-2024-05-13-completion": 0.015,
"gpt-4o-2024-08-06-completion": 0.01,
# GPT-4 input # GPT-4 input
"gpt-4": 0.03, "gpt-4": 0.03,
"gpt-4-0314": 0.03, "gpt-4-0314": 0.03,