From 4b93f185bba4dfc6dd81dffe994ffb20bf3ffecd Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Tue, 12 Dec 2023 16:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0gpt-4-1106-vision-preview?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/model-ratio.go | 1 + controller/model.go | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index 7d9d6ae..f56306c 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -23,6 +23,7 @@ var ModelRatio = map[string]float64{ "gpt-4-32k-0613": 30, "gpt-4-1106-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 "gpt-3.5-turbo-0301": 0.75, "gpt-3.5-turbo-0613": 0.75, diff --git a/controller/model.go b/controller/model.go index 14bcc00..563dd40 100644 --- a/controller/model.go +++ b/controller/model.go @@ -261,6 +261,15 @@ func init() { Root: "gpt-4-vision-preview", Parent: nil, }, + { + Id: "gpt-4-1106-vision-preview", + Object: "model", + Created: 1699593571, + OwnedBy: "openai", + Permission: permission, + Root: "gpt-4-1106-vision-preview", + Parent: nil, + }, { Id: "text-embedding-ada-002", Object: "model",