diff --git a/common/model-ratio.go b/common/model-ratio.go index 9d6c446..b0a97c0 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -111,6 +111,8 @@ var DefaultModelRatio = map[string]float64{ "command-light-nightly": 0.5, "command-r": 0.25, "command-r-plus ": 1.5, + "deepseek-chat": 0.07, + "deepseek-coder": 0.07, } var DefaultModelPrice = map[string]float64{ @@ -240,6 +242,9 @@ func GetCompletionRatio(name string) float64 { return 2 } } + if strings.HasPrefix(name, "deepseek") { + return 2 + } switch name { case "llama2-70b-4096": return 0.8 / 0.7