diff --git a/common/model-ratio.go b/common/model-ratio.go index c0bccd46..6b2bc6a9 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -46,6 +46,7 @@ var ModelRatio = map[string]float64{ "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-3.5-turbo": 0.75, // $0.0015 / 1K tokens "gpt-3.5-turbo-0301": 0.75, diff --git a/controller/model.go b/controller/model.go index ece0fc0d..19425466 100644 --- a/controller/model.go +++ b/controller/model.go @@ -261,6 +261,15 @@ func init() { Root: "gpt-4-0125-preview", Parent: nil, }, + { + Id: "gpt-4-turbo-preview", + Object: "model", + Created: 1706232090, + OwnedBy: "openai", + Permission: permission, + Root: "gpt-4-turbo-preview", + Parent: nil, + }, { Id: "gpt-4-vision-preview", Object: "model",