feat: add support claude-3.7-sonnet

This commit is contained in:
longkeyy
2025-02-25 18:07:37 +08:00
parent 8df4a2670b
commit 7fed66d584
5 changed files with 84 additions and 74 deletions

View File

@@ -99,6 +99,8 @@ var ModelRatio = map[string]float64{
"claude-3-5-sonnet-20241022": 3.0 / 1000 * USD,
"claude-3-5-sonnet-latest": 3.0 / 1000 * USD,
"claude-3-opus-20240229": 15.0 / 1000 * USD,
"claude-3-7-sonnet-20250219": 3.0 / 1000 * USD,
"claude-3-7-sonnet-latest": 3.0 / 1000 * USD,
// https://cloud.baidu.com/doc/WENXINWORKSHOP/s/hlrk4akp7
"ERNIE-4.0-8K": 0.120 * RMB,
"ERNIE-3.5-8K": 0.012 * RMB,