From 2b6d11f999326b9e8cb721e776e9b7ddf7444017 Mon Sep 17 00:00:00 2001 From: Martial BE Date: Tue, 2 Jan 2024 17:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20support=20davinci-002=20and?= =?UTF-8?q?=20babbage-002?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/model-ratio.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index 4453a800..eb4a07f0 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -39,6 +39,8 @@ func init() { "gpt-3.5-turbo-16k-0613": {1.5, ChannelTypeOpenAI}, "gpt-3.5-turbo-instruct": {0.75, ChannelTypeOpenAI}, // $0.0015 / 1K tokens "gpt-3.5-turbo-1106": {0.5, ChannelTypeOpenAI}, // $0.001 / 1K tokens + "davinci-002": {1, ChannelTypeOpenAI}, // $0.002 / 1K tokens + "babbage-002": {0.2, ChannelTypeOpenAI}, // $0.002 / 1K tokens "text-ada-001": {0.2, ChannelTypeOpenAI}, "text-babbage-001": {0.25, ChannelTypeOpenAI}, "text-curie-001": {1, ChannelTypeOpenAI},