feat: add ChatPro & ChatStd for tencent (#1010)

This commit is contained in:
JustSong
2024-02-18 14:40:01 +08:00
parent 28d512a675
commit 9383b638a6
3 changed files with 7 additions and 0 deletions

View File

@@ -117,6 +117,8 @@ var ModelRatio = map[string]float64{
"embedding_s1_v1": 0.0715, // ¥0.001 / 1k tokens
"semantic_similarity_s1_v1": 0.0715, // ¥0.001 / 1k tokens
"hunyuan": 7.143, // ¥0.1 / 1k tokens // https://cloud.tencent.com/document/product/1729/97731#e0e6be58-60c8-469f-bdeb-6c264ce3b4d0
"ChatStd": 0.01 * RMB,
"ChatPro": 0.1 * RMB,
}
func ModelRatio2JSONString() string {