Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/components/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
"input_cost": 0.000003,
"output_cost": 0.000015
},
{
"label": "anthropic.claude-haiku-4-5-20251001-v1:0",
"name": "anthropic.claude-haiku-4-5-20251001-v1:0",
"description": "Claude 4.5 Haiku",
"input_cost": 0.000001,
"output_cost": 0.000005
Comment on lines +17 to +18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The pricing for anthropic.claude-haiku-4-5-20251001-v1:0 appears to be incorrect. According to Anthropic's official pricing, Claude 4.5 Haiku costs $0.80 per million input tokens and $4.00 per million output tokens. Please update the costs to reflect the correct pricing.

Suggested change
"input_cost": 0.000001,
"output_cost": 0.000005
"input_cost": 8e-7,
"output_cost": 4e-6

},
{
"label": "openai.gpt-oss-20b-1:0",
"name": "openai.gpt-oss-20b-1:0",
Expand Down Expand Up @@ -499,6 +506,13 @@
"input_cost": 0.000003,
"output_cost": 0.000015
},
{
"label": "claude-haiku-4-5",
"name": "claude-haiku-4-5",
"description": "Claude 4.5 Haiku",
"input_cost": 0.000001,
"output_cost": 0.000005
Comment on lines +513 to +514
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The pricing for claude-haiku-4-5 appears to be incorrect. According to Anthropic's official pricing, Claude 4.5 Haiku costs $0.80 per million input tokens and $4.00 per million output tokens. Please update the costs to reflect the correct pricing.

Suggested change
"input_cost": 0.000001,
"output_cost": 0.000005
"input_cost": 8e-7,
"output_cost": 4e-6

},
{
"label": "claude-sonnet-4-0",
"name": "claude-sonnet-4-0",
Expand Down Expand Up @@ -744,6 +758,13 @@
"input_cost": 0.000003,
"output_cost": 0.000015
},
{
"label": "claude-haiku-4-5@20251001",
"name": "claude-haiku-4-5@20251001",
"description": "Claude 4.5 Haiku",
"input_cost": 0.000001,
"output_cost": 0.000005
},
{
"label": "claude-opus-4-1@20250805",
"name": "claude-opus-4-1@20250805",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ChatAnthropic_ChatModels implements INode {
label: 'Extended Thinking',
name: 'extendedThinking',
type: 'boolean',
description: 'Enable extended thinking for reasoning model such as Claude Sonnet 3.7',
description: 'Enable extended thinking for reasoning model such as Claude Sonnet 3.7 and Claude 4',
optional: true,
additionalParams: true
},
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@google-cloud/storage": "^7.15.2",
"@google/generative-ai": "^0.24.0",
"@huggingface/inference": "^2.6.1",
"@langchain/anthropic": "0.3.29",
"@langchain/anthropic": "0.3.33",
"@langchain/aws": "^0.1.11",
"@langchain/baidu-qianfan": "^0.1.0",
"@langchain/cohere": "^0.0.7",
Expand Down
Loading