feat: support Anthropic Claude 3.0 Haiku (close #116)

This commit is contained in:
CaIon
2024-03-14 14:28:21 +08:00
parent 95d8059c90
commit 98c1f66d61
3 changed files with 9 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ var ModelRatio = map[string]float64{
"claude-instant-1": 0.4, // $0.8 / 1M tokens
"claude-2.0": 4, // $8 / 1M tokens
"claude-2.1": 4, // $8 / 1M tokens
"claude-3-haiku-20240307": 0.125, // $0.25 / 1M tokens
"claude-3-sonnet-20240229": 1.5, // $3 / 1M tokens
"claude-3-opus-20240229": 7.5, // $15 / 1M tokens
"ERNIE-Bot": 0.8572, // ¥0.012 / 1k tokens