From c5e4421e0da6d647a636ec4cf23c110ff515e79a Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 19 Oct 2024 15:53:21 +0800 Subject: [PATCH] chore: update models.yaml --- models.yaml | 72 +++++++++++++++++++++-------------------------------- 1 file changed, 29 insertions(+), 43 deletions(-) diff --git a/models.yaml b/models.yaml index f7c5d399..09a763f9 100644 --- a/models.yaml +++ b/models.yaml @@ -105,7 +105,7 @@ output_price: 0 supports_vision: true supports_function_calling: true - - name: gemini-1.5-flash-8b-exp-0924 + - name: gemini-1.5-flash-8b-latest max_input_tokens: 1048576 max_output_tokens: 8192 input_price: 0 @@ -147,14 +147,6 @@ output_price: 75 supports_vision: true supports_function_calling: true - - name: claude-3-sonnet-20240229 - max_input_tokens: 200000 - max_output_tokens: 4096 - require_max_tokens: true - input_price: 3 - output_price: 15 - supports_vision: true - supports_function_calling: true - name: claude-3-haiku-20240307 max_input_tokens: 200000 max_output_tokens: 4096 @@ -184,6 +176,16 @@ max_input_tokens: 32000 input_price: 0.2 output_price: 0.6 + - name: ministral-8b-latest + max_input_tokens: 128000 + input_price: 0.1 + output_price: 0.1 + supports_function_calling: true + - name: ministral-3b-latest + max_input_tokens: 128000 + input_price: 0.04 + output_price: 0.04 + supports_function_calling: true - name: open-mistral-nemo max_input_tokens: 128000 input_price: 0.15 @@ -420,14 +422,6 @@ output_price: 75 supports_vision: true supports_function_calling: true - - name: claude-3-sonnet@20240229 - max_input_tokens: 200000 - max_output_tokens: 4096 - require_max_tokens: true - input_price: 3 - output_price: 15 - supports_vision: true - supports_function_calling: true - name: claude-3-haiku@20240307 max_input_tokens: 200000 max_output_tokens: 4096 @@ -469,6 +463,7 @@ # - https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns # - https://aws.amazon.com/bedrock/pricing/ # - https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html +# - https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html - platform: bedrock models: - name: anthropic.claude-3-5-sonnet-20240620-v1:0 @@ -487,14 +482,6 @@ output_price: 75 supports_vision: true supports_function_calling: true - - name: anthropic.claude-3-sonnet-20240229-v1:0 - max_input_tokens: 200000 - max_output_tokens: 4096 - require_max_tokens: true - input_price: 3 - output_price: 15 - supports_vision: true - supports_function_calling: true - name: anthropic.claude-3-haiku-20240307-v1:0 max_input_tokens: 200000 max_output_tokens: 4096 @@ -666,10 +653,6 @@ max_input_tokens: 128000 input_price: 0.056 output_price: 0.112 - - name: ernie-speed-128k - max_input_tokens: 128000 - input_price: 0 - output_price: 0 - name: bge_large_zh type: embedding input_price: 0.28 @@ -765,7 +748,7 @@ supports_function_calling: true # Links: -# - https://platform.deepseek.com/api-docs/quick_start/pricing +# - https://api-docs.deepseek.com/quick_start/pricing # - https://platform.deepseek.com/api-docs/api/create-chat-completion - platform: deepseek models: @@ -845,11 +828,7 @@ max_input_tokens: 200000 input_price: 1.68 output_price: 1.68 - - name: yi-medium - max_input_tokens: 16384 - input_price: 0.35 - output_price: 0.35 - - name: yi-spark + - name: yi-lightning max_input_tokens: 16384 input_price: 0.14 output_price: 0.14 @@ -1194,14 +1173,6 @@ output_price: 75 supports_vision: true supports_function_calling: true - - name: anthropic/claude-3-sonnet - max_input_tokens: 200000 - max_output_tokens: 4096 - require_max_tokens: true - input_price: 3 - output_price: 15 - supports_vision: true - supports_function_calling: true - name: anthropic/claude-3-haiku max_input_tokens: 200000 max_output_tokens: 4096 @@ -1248,9 +1219,20 @@ output_price: 6 supports_function_calling: true - name: mistralai/mistral-small + max_input_tokens: 32000 input_price: 0.2 output_price: 0.6 supports_function_calling: true + - name: mistralai/ministral-8b + max_input_tokens: 128000 + input_price: 0.1 + output_price: 0.1 + supports_function_calling: true + - name: mistralai/ministral-3b + max_input_tokens: 128000 + input_price: 0.04 + output_price: 0.04 + supports_function_calling: true - name: mistralai/mistral-nemo max_input_tokens: 128000 input_price: 0.13 @@ -1354,6 +1336,10 @@ max_input_tokens: 32768 input_price: 0.4 output_price: 0.4 + - name: x-ai/grok-2 + max_input_tokens: 32768 + input_price: 5 + output_price: 10 # Links # - https://siliconflow.cn/zh-cn/pricing#siliconcloud-1417