From 9bc6bfed690605f86c406cd62fd25b2f994ef096 Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Fri, 23 May 2025 13:49:36 +0800 Subject: [PATCH] Chore/Claude 4 (#4488) * add gemini flash * add gemin flash to vertex * add gemin-1.5-flash-preview to vertex * add azure gpt 4o * add claude 3.5 sonnet * add mistral nemo * add groq llama3.1 * add gpt4o-mini to azure * o1 mini * add groq llama 3.2 * update anthropic models * add 3.5 haiku * update vertex embedding models * add azure o1 models * add o3 mini * add wolframalpha tool * Update pnpm-lock.yaml * add claude sonnet 3.7 to vertex and bedrock * Update pnpm-lock.yaml --- packages/components/models.json | 100 +++++++++++++++++--------------- 1 file changed, 52 insertions(+), 48 deletions(-) diff --git a/packages/components/models.json b/packages/components/models.json index 47041981c..aee73adb2 100644 --- a/packages/components/models.json +++ b/packages/components/models.json @@ -3,52 +3,63 @@ { "name": "awsChatBedrock", "models": [ + { + "label": "anthropic.claude-sonnet-4-20250514-v1:0", + "name": "anthropic.claude-sonnet-4-20250514-v1:0", + "description": "Claude 4 Sonnet", + "input_cost": 0.000003, + "output_cost": 0.000015 + }, + { + "label": "anthropic.claude-opus-4-20250514-v1:0", + "name": "anthropic.claude-opus-4-20250514-v1:0", + "description": "Claude 4 Opus", + "input_cost": 0.000015, + "output_cost": 0.000075 + }, { "label": "anthropic.claude-3-7-sonnet-20250219-v1:0", "name": "anthropic.claude-3-7-sonnet-20250219-v1:0", - "description": "(20250219-v1:0) specific version of Claude Sonnet 3.7 - hybrid reasoning model", + "description": "(20250219-v1:0) specific version of Claude Sonnet 3.7", "input_cost": 3e-6, "output_cost": 0.000015 }, { "label": "anthropic.claude-3-5-haiku-20241022-v1:0", "name": "anthropic.claude-3-5-haiku-20241022-v1:0", - "description": "(20241022-v1:0) specific version of Claude Haiku 3.5 - fastest model", + "description": "(20241022-v1:0) specific version of Claude Haiku 3.5", "input_cost": 8e-7, "output_cost": 4e-6 }, { "label": "anthropic.claude-3.5-sonnet-20241022-v2:0", "name": "anthropic.claude-3-5-sonnet-20241022-v2:0", - "description": "(20241022-v2:0) specific version of Claude Sonnet 3.5 - most intelligent model", + "description": "(20241022-v2:0) specific version of Claude Sonnet 3.5", "input_cost": 3e-6, "output_cost": 0.000015 }, { "label": "anthropic.claude-3.5-sonnet-20240620-v1:0", "name": "anthropic.claude-3.5-sonnet-20240620-v1:0", - "description": "(20240620-v1:0) specific version of Claude Sonnet 3.5 - most intelligent model", + "description": "(20240620-v1:0) specific version of Claude Sonnet 3.5", "input_cost": 3e-6, "output_cost": 0.000015 }, { "label": "anthropic.claude-3-opus", "name": "anthropic.claude-3-opus-20240229-v1:0", - "description": "Powerful model for highly complex tasks, reasoning and analysis", "input_cost": 0.000015, "output_cost": 0.000075 }, { "label": "anthropic.claude-3-sonnet", "name": "anthropic.claude-3-sonnet-20240229-v1:0", - "description": "Balance of intelligence and speed", "input_cost": 0.000003, "output_cost": 0.000015 }, { "label": "anthropic.claude-3-haiku", "name": "anthropic.claude-3-haiku-20240307-v1:0", - "description": "Fastest and most compact model for near-instant responsiveness", "input_cost": 2.5e-7, "output_cost": 1.25e-6 }, @@ -411,38 +422,38 @@ { "name": "chatAnthropic", "models": [ + { + "label": "claude-sonnet-4-0", + "name": "claude-sonnet-4-0", + "description": "Claude 4 Sonnet", + "input_cost": 0.000003, + "output_cost": 0.000015 + }, + { + "label": "claude-opus-4-0", + "name": "claude-opus-4-0", + "description": "Claude 4 Opus", + "input_cost": 0.000015, + "output_cost": 0.000075 + }, { "label": "claude-3-7-sonnet-latest", "name": "claude-3-7-sonnet-latest", - "description": "Most recent snapshot version of Claude Sonnet 3.7 model - hybrid reasoning model", + "description": "Most recent snapshot version of Claude Sonnet 3.7", "input_cost": 3e-6, "output_cost": 0.000015 }, { "label": "claude-3-5-haiku-latest", "name": "claude-3-5-haiku-latest", - "description": "Most recent snapshot version of Claude Haiku 3.5 - fastest model", + "description": "Most recent snapshot version of Claude Haiku 3.5", "input_cost": 8e-7, "output_cost": 4e-6 }, { "label": "claude-3.5-sonnet-latest", "name": "claude-3-5-sonnet-latest", - "description": "Most recent snapshot version of Claude Sonnet 3.5 model - most intelligent model", - "input_cost": 3e-6, - "output_cost": 0.000015 - }, - { - "label": "claude-3.5-sonnet-20241022", - "name": "claude-3-5-sonnet-20241022", - "description": "(20241022) specific version of Claude Sonnet 3.5 - most intelligent model", - "input_cost": 3e-6, - "output_cost": 0.000015 - }, - { - "label": "claude-3.5-sonnet-20240620", - "name": "claude-3-5-sonnet-20240620", - "description": "(20240620) specific version of Claude Sonnet 3.5 - most intelligent model", + "description": "Most recent snapshot version of Claude Sonnet 3.5 model", "input_cost": 3e-6, "output_cost": 0.000015 }, @@ -466,27 +477,6 @@ "description": "Fastest and most compact model, designed for near-instant responsiveness", "input_cost": 2.5e-7, "output_cost": 1.25e-6 - }, - { - "label": "claude-2.0 (legacy)", - "name": "claude-2.0", - "description": "Claude 2 latest major version, automatically get updates to the model as they are released", - "input_cost": 0.000008, - "output_cost": 0.000024 - }, - { - "label": "claude-2.1 (legacy)", - "name": "claude-2.1", - "description": "Claude 2 latest full version", - "input_cost": 0.000008, - "output_cost": 0.000024 - }, - { - "label": "claude-instant-1.2 (legacy)", - "name": "claude-instant-1.2", - "description": "Claude Instant latest major version, automatically get updates to the model as they are released", - "input_cost": 0.000008, - "output_cost": 0.000024 } ] }, @@ -621,24 +611,38 @@ "input_cost": 1.25e-7, "output_cost": 3.75e-7 }, + { + "label": "claude-sonnet-4@20250514", + "name": "claude-sonnet-4@20250514", + "description": "Claude 4 Sonnet", + "input_cost": 0.000003, + "output_cost": 0.000015 + }, + { + "label": "claude-opus-4@20250514", + "name": "claude-opus-4@20250514", + "description": "Claude 4 Opus", + "input_cost": 0.000015, + "output_cost": 0.000075 + }, { "label": "claude-3-7-sonnet@20250219", "name": "claude-3-7-sonnet@20250219", - "description": "(20250219-v1:0) specific version of Claude Sonnet 3.7 - hybrid reasoning model", + "description": "(20250219-v1:0) specific version of Claude Sonnet 3.7", "input_cost": 3e-6, "output_cost": 0.000015 }, { "label": "claude-3-5-haiku@20241022", "name": "claude-3-5-haiku@20241022", - "description": "(20241022-v1:0) specific version of Claude Haiku 3.5 - fastest model", + "description": "(20241022-v1:0) specific version of Claude Haiku 3.5", "input_cost": 8e-7, "output_cost": 4e-6 }, { "label": "claude-3-5-sonnet-v2@20241022", "name": "claude-3-5-sonnet-v2@20241022", - "description": "(20241022-v2:0) specific version of Claude Sonnet 3.5 - most intelligent model", + "description": "(20241022-v2:0) specific version of Claude Sonnet 3.5", "input_cost": 3e-6, "output_cost": 0.000015 },