From 3dc5d4d95a5672348bcd68223b65f3501579dbc0 Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Fri, 26 Jan 2024 14:21:10 +0800 Subject: [PATCH] feat: update model-ratio --- common/model-ratio.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index 2313529..eb268a6 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -23,6 +23,8 @@ var ModelRatio = map[string]float64{ "gpt-4-32k-0314": 30, "gpt-4-32k-0613": 30, "gpt-4-1106-preview": 5, // $0.01 / 1K tokens + "gpt-4-0125-preview": 5, // $0.01 / 1K tokens + "gpt-4-turbo-preview": 5, // $0.01 / 1K tokens "gpt-4-vision-preview": 5, // $0.01 / 1K tokens "gpt-4-1106-vision-preview": 5, // $0.01 / 1K tokens "gpt-3.5-turbo": 0.75, // $0.0015 / 1K tokens @@ -50,6 +52,8 @@ var ModelRatio = map[string]float64{ "curie": 10, "babbage": 10, "ada": 10, + "text-embedding-3-small": 0.01, + "text-embedding-3-large": 0.065, "text-embedding-ada-002": 0.05, "text-search-ada-doc-001": 10, "text-moderation-stable": 0.1,