summaryrefslogtreecommitdiffstats
path: root/models.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-02-26 08:08:34 +0800
committerGitHub <noreply@github.com>2025-02-26 08:08:34 +0800
commit6b28b1c4fcf57edc4375703bca34eeafa597c905 (patch)
treed6f6e6d1ac51f46ba258d46128a5f31d3c874645 /models.yaml
parentd8b1aef97d00e2f66d5af32ad075d990c7dfdba1 (diff)
downloadaichat-6b28b1c4fcf57edc4375703bca34eeafa597c905.tar.gz
feat: support claude-3-7-sonnet (#1201)
Diffstat (limited to 'models.yaml')
-rw-r--r--models.yaml76
1 files changed, 74 insertions, 2 deletions
diff --git a/models.yaml b/models.yaml
index fdfdfcf..97e26e0 100644
--- a/models.yaml
+++ b/models.yaml
@@ -173,10 +173,33 @@
max_batch_size: 100
# Links:
-# - https://docs.anthropic.com/en/docs/about-claude/models
+# - https://docs.anthropic.com/en/docs/about-claude/models/all-models
# - https://docs.anthropic.com/en/api/messages
- provider: claude
models:
+ - name: claude-3-7-sonnet-20250219
+ max_input_tokens: 200000
+ max_output_tokens: 8192
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ supports_function_calling: true
+ - name: claude-3-7-sonnet-20250219:thinking
+ real_name: claude-3-7-sonnet-20250219
+ max_input_tokens: 200000
+ max_output_tokens: 24000
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ patch:
+ body:
+ temperature: null
+ top_p: null
+ thinking:
+ type: enabled
+ budget_tokens: 16000
- name: claude-3-5-sonnet-latest
max_input_tokens: 200000
max_output_tokens: 8192
@@ -506,6 +529,29 @@
output_price: 0.075
supports_vision: true
supports_function_calling: true
+ - name: claude-3-7-sonnet@20250219
+ max_input_tokens: 200000
+ max_output_tokens: 8192
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ supports_function_calling: true
+ - name: claude-3-7-sonnet@20250219:thinking
+ real_name: claude-3-7-sonnet@20250219
+ max_input_tokens: 200000
+ max_output_tokens: 24000
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ patch:
+ body:
+ temperature: null
+ top_p: null
+ thinking:
+ type: enabled
+ budget_tokens: 16000
- name: claude-3-5-sonnet-v2@20241022
max_input_tokens: 200000
max_output_tokens: 8192
@@ -586,10 +632,36 @@
# Links:
# - https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns
+# - https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html
# - https://aws.amazon.com/bedrock/pricing/
-# - https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
+# - https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.html
- provider: bedrock
models:
+ - name: us.anthropic.claude-3-7-sonnet-20250219-v1:0
+ max_input_tokens: 200000
+ max_output_tokens: 8192
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ supports_function_calling: true
+ - name: us.anthropic.claude-3-7-sonnet-20250219-v1:0:thinking
+ real_name: us.anthropic.claude-3-7-sonnet-20250219-v1:0
+ max_input_tokens: 200000
+ max_output_tokens: 24000
+ require_max_tokens: true
+ input_price: 3
+ output_price: 15
+ supports_vision: true
+ patch:
+ body:
+ inferenceConfig:
+ temperature: null
+ topP: null
+ additionalModelRequestFields:
+ thinking:
+ type: enabled
+ budget_tokens: 16000
- name: anthropic.claude-3-5-sonnet-20241022-v2:0
max_input_tokens: 200000
max_output_tokens: 8192