From 1aca3e087d427c8c4db73c679864d4609809c5a2 Mon Sep 17 00:00:00 2001 From: Allan Tatter Date: Fri, 4 Oct 2024 10:38:28 +0300 Subject: [PATCH] feat: Add pricing details for GPT-4o realtime preview and embeddings Included pricing information for GPT-4o realtime preview in text and audio formats, as well as for text embeddings. --- resources/openai-pricing.json | 59 +++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/resources/openai-pricing.json b/resources/openai-pricing.json index c7c142b..a46b7b4 100644 --- a/resources/openai-pricing.json +++ b/resources/openai-pricing.json @@ -1,8 +1,28 @@ { "models": { + "o1-preview": { + "input": 0.015, + "output": 0.06 + }, + "o1-preview-2024-09-12": { + "input": 0.015, + "output": 0.06 + }, + "o1-mini": { + "input": 0.003, + "output": 0.012 + }, + "o1-mini-2024-09-12": { + "input": 0.003, + "output": 0.012 + }, "gpt-4o": { - "input": 0.005, - "output": 0.015 + "input": 0.0025, + "output": 0.00125 + }, + "gpt-4o-2024-08-06": { + "input": 0.0025, + "output": 0.00125 }, "gpt-4o-2024-05-13": { "input": 0.005, @@ -71,9 +91,22 @@ }, "retrieval": { "input": 0.2 + }, + "file-search": { + "storage": 0.1 } }, "fine-tuning": { + "gpt-4o-2024-08-06": { + "training": 0.025, + "input": 0.00315, + "output": 0.015 + }, + "gpt-4o-mini-2024-07-18": { + "training": 0.003, + "input": 0.0003, + "output": 0.0012 + }, "gpt-3.5-turbo": { "training": 0.008, "input": 0.003, @@ -90,6 +123,28 @@ "output": 0.0016 } }, + "realtime": { + "gpt-4o-realtime-preview": { + "text": { + "input": 0.005, + "output": 0.02 + }, + "audio": { + "input": 0.1, + "output": 0.2 + } + }, + "gpt-4o-realtime-preview-2024-10-01": { + "text": { + "input": 0.005, + "output": 0.02 + }, + "audio": { + "input": 0.1, + "output": 0.2 + } + } + }, "embedding": { "text-embedding-3-small": 0.00002, "text-embedding-3-large": 0.00013,