From d48868586cf0e69212b54c5c9ac4d2804fc8c857 Mon Sep 17 00:00:00 2001 From: MartialBE Date: Tue, 14 May 2024 01:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20chore:=20update=20gpt-4o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/price.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/price.go b/model/price.go index 923005f4..4f509f5b 100644 --- a/model/price.go +++ b/model/price.go @@ -133,6 +133,8 @@ func GetDefaultPrice() []*Price { "gpt-4-0125-preview": {[]float64{5, 15}, common.ChannelTypeOpenAI}, "gpt-4-turbo-preview": {[]float64{5, 15}, common.ChannelTypeOpenAI}, "gpt-4-vision-preview": {[]float64{5, 15}, common.ChannelTypeOpenAI}, + // $0.005 / 1K tokens $0.015 / 1K tokens + "gpt-4o": {[]float64{2.5, 7.5}, common.ChannelTypeOpenAI}, // $0.0005 / 1K tokens $0.0015 / 1K tokens "gpt-3.5-turbo": {[]float64{0.25, 0.75}, common.ChannelTypeOpenAI}, "gpt-3.5-turbo-0125": {[]float64{0.25, 0.75}, common.ChannelTypeOpenAI},