feat: support chatglm_turbo (#648)

* feat: support chatglm_turbo

* fix: remove characterglm
This commit is contained in:
papersnake
2023-11-05 17:59:38 +08:00
committed by GitHub
parent 0d87de697c
commit c70c614018
3 changed files with 11 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ var ModelRatio = map[string]float64{
"ERNIE-Bot-4": 8.572, // ¥0.12 / 1k tokens
"Embedding-V1": 0.1429, // ¥0.002 / 1k tokens
"PaLM-2": 1,
"chatglm_turbo": 0.3572, // ¥0.005 / 1k tokens
"chatglm_pro": 0.7143, // ¥0.01 / 1k tokens
"chatglm_std": 0.3572, // ¥0.005 / 1k tokens
"chatglm_lite": 0.1429, // ¥0.002 / 1k tokens