fix: Update OpenAI pricing per https://openai.com/api/pricing/ (#110)

Co-authored-by: Lifei Zhou <lifei@squareup.com>
This commit is contained in:
Ben Walding
2024-10-03 21:56:08 +00:00
committed by GitHub
parent 9c0501b3f9
commit 9e35c6370e
2 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -2,8 +2,9 @@ from typing import Optional
from exchange.providers.base import Usage
PRICES = {
"gpt-4o": (5.00, 15.00),
"gpt-4o": (2.50, 10.00),
"gpt-4o-2024-08-06": (2.50, 10.00),
"gpt-4o-2024-05-13": (5.00, 15.00),
"gpt-4o-mini": (0.150, 0.600),
"gpt-4o-mini-2024-07-18": (0.150, 0.600),
"o1-preview": (15.00, 60.00),