Skip to content

Commit d6531de

Browse files
tbrandtbrandaws
andauthored
Support Claude Haiku 4.5 (#1322)
Co-authored-by: Taichiro Suzuki <taichirs@amazon.co.jp>
1 parent be74846 commit d6531de

File tree

5 files changed

+58
-0
lines changed

5 files changed

+58
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ To send us a pull request, please:
3636
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
3737

3838
For detailed development guidelines including linting and code style requirements, please refer to:
39+
3940
- [DEVELOPMENT.md (English)](docs/en/DEVELOPMENT.md)
4041
- [DEVELOPMENT.md (日本語)](docs/ja/DEVELOPMENT.md)
4142

docs/en/DEPLOY_OPTION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,10 @@ As of 2025/03, the multimodal models are:
787787
"anthropic.claude-3-sonnet-20240229-v1:0",
788788
"anthropic.claude-3-haiku-20240307-v1:0",
789789
"global.anthropic.claude-sonnet-4-5-20250929-v1:0",
790+
"global.anthropic.claude-haiku-4-5-20251001-v1:0"
790791
"global.anthropic.claude-sonnet-4-20250514-v1:0",
791792
"us.anthropic.claude-sonnet-4-5-20250929-v1:0",
793+
"us.anthropic.claude-haiku-4-5-20251001-v1:0"
792794
"us.anthropic.claude-opus-4-1-20250805-v1:0",
793795
"us.anthropic.claude-opus-4-20250514-v1:0",
794796
"us.anthropic.claude-sonnet-4-20250514-v1:0",
@@ -798,6 +800,7 @@ As of 2025/03, the multimodal models are:
798800
"us.anthropic.claude-3-sonnet-20240229-v1:0",
799801
"us.anthropic.claude-3-haiku-20240307-v1:0",
800802
"eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
803+
"eu.anthropic.claude-haiku-4-5-20251001-v1:0"
801804
"eu.anthropic.claude-sonnet-4-20250514-v1:0",
802805
"eu.anthropic.claude-3-7-sonnet-20250219-v1:0",
803806
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
@@ -810,6 +813,7 @@ As of 2025/03, the multimodal models are:
810813
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0",
811814
"apac.anthropic.claude-3-5-sonnet-20241022-v2:0",
812815
"jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
816+
"jp.anthropic.claude-haiku-4-5-20251001-v1:0"
813817
"us.meta.llama4-maverick-17b-instruct-v1:0",
814818
"us.meta.llama4-scout-17b-instruct-v1:0",
815819
"us.meta.llama3-2-90b-instruct-v1:0",

docs/ja/DEPLOY_OPTION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,10 @@ const envs: Record<string, Partial<StackInput>> = {
802802
"anthropic.claude-3-sonnet-20240229-v1:0",
803803
"anthropic.claude-3-haiku-20240307-v1:0",
804804
"global.anthropic.claude-sonnet-4-5-20250929-v1:0",
805+
"global.anthropic.claude-haiku-4-5-20251001-v1:0"
805806
"global.anthropic.claude-sonnet-4-20250514-v1:0",
806807
"us.anthropic.claude-sonnet-4-5-20250929-v1:0",
808+
"us.anthropic.claude-haiku-4-5-20251001-v1:0"
807809
"us.anthropic.claude-opus-4-1-20250805-v1:0",
808810
"us.anthropic.claude-opus-4-20250514-v1:0",
809811
"us.anthropic.claude-sonnet-4-20250514-v1:0",
@@ -813,6 +815,7 @@ const envs: Record<string, Partial<StackInput>> = {
813815
"us.anthropic.claude-3-sonnet-20240229-v1:0",
814816
"us.anthropic.claude-3-haiku-20240307-v1:0",
815817
"eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
818+
"eu.anthropic.claude-haiku-4-5-20251001-v1:0"
816819
"eu.anthropic.claude-sonnet-4-20250514-v1:0",
817820
"eu.anthropic.claude-3-7-sonnet-20250219-v1:0",
818821
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
@@ -825,6 +828,7 @@ const envs: Record<string, Partial<StackInput>> = {
825828
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0",
826829
"apac.anthropic.claude-3-5-sonnet-20241022-v2:0",
827830
"jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
831+
"jp.anthropic.claude-haiku-4-5-20251001-v1:0"
828832
"us.meta.llama4-maverick-17b-instruct-v1:0",
829833
"us.meta.llama4-scout-17b-instruct-v1:0",
830834
"us.meta.llama3-2-90b-instruct-v1:0",

packages/cdk/lambda/utils/models.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,38 @@ export const BEDROCK_TEXT_GEN_MODELS: {
10071007
extractConverseOutput: extractConverseOutput,
10081008
extractConverseStreamOutput: extractConverseStreamOutput,
10091009
},
1010+
'global.anthropic.claude-haiku-4-5-20251001-v1:0': {
1011+
defaultParams: CLAUDE_SONNET_4_DEFAULT_PARAMS,
1012+
usecaseParams: USECASE_DEFAULT_PARAMS,
1013+
createConverseCommandInput: createConverseCommandInput,
1014+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1015+
extractConverseOutput: extractConverseOutput,
1016+
extractConverseStreamOutput: extractConverseStreamOutput,
1017+
},
1018+
'us.anthropic.claude-haiku-4-5-20251001-v1:0': {
1019+
defaultParams: CLAUDE_SONNET_4_DEFAULT_PARAMS,
1020+
usecaseParams: USECASE_DEFAULT_PARAMS,
1021+
createConverseCommandInput: createConverseCommandInput,
1022+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1023+
extractConverseOutput: extractConverseOutput,
1024+
extractConverseStreamOutput: extractConverseStreamOutput,
1025+
},
1026+
'eu.anthropic.claude-haiku-4-5-20251001-v1:0': {
1027+
defaultParams: CLAUDE_SONNET_4_DEFAULT_PARAMS,
1028+
usecaseParams: USECASE_DEFAULT_PARAMS,
1029+
createConverseCommandInput: createConverseCommandInput,
1030+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1031+
extractConverseOutput: extractConverseOutput,
1032+
extractConverseStreamOutput: extractConverseStreamOutput,
1033+
},
1034+
'jp.anthropic.claude-haiku-4-5-20251001-v1:0': {
1035+
defaultParams: CLAUDE_SONNET_4_DEFAULT_PARAMS,
1036+
usecaseParams: USECASE_DEFAULT_PARAMS,
1037+
createConverseCommandInput: createConverseCommandInput,
1038+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1039+
extractConverseOutput: extractConverseOutput,
1040+
extractConverseStreamOutput: extractConverseStreamOutput,
1041+
},
10101042
'global.anthropic.claude-sonnet-4-20250514-v1:0': {
10111043
defaultParams: CLAUDE_SONNET_4_DEFAULT_PARAMS,
10121044
usecaseParams: USECASE_DEFAULT_PARAMS,

packages/common/src/application/model.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ export const modelMetadata: Record<string, ModelMetadata> = {
9898
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
9999
displayName: 'Claude Sonnet 4.5',
100100
},
101+
'global.anthropic.claude-haiku-4-5-20251001-v1:0': {
102+
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
103+
displayName: 'Claude Haiku 4.5',
104+
},
105+
'us.anthropic.claude-haiku-4-5-20251001-v1:0': {
106+
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
107+
displayName: 'Claude Haiku 4.5',
108+
},
109+
'eu.anthropic.claude-haiku-4-5-20251001-v1:0': {
110+
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
111+
displayName: 'Claude Haiku 4.5',
112+
},
113+
'jp.anthropic.claude-haiku-4-5-20251001-v1:0': {
114+
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
115+
displayName: 'Claude Haiku 4.5',
116+
},
101117
'global.anthropic.claude-sonnet-4-20250514-v1:0': {
102118
flags: MODEL_FEATURE.TEXT_DOC_IMAGE_REASONING,
103119
displayName: 'Claude Sonnet 4',
@@ -548,6 +564,7 @@ export const BEDROCK_SPEECH_TO_SPEECH_MODELS = Object.keys(
548564
// https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html
549565
export const SUPPORTED_CACHE_FIELDS: Record<string, PromptCacheField[]> = {
550566
'anthropic.claude-sonnet-4-5-20250929-v1:0': ['messages', 'system', 'tools'],
567+
'anthropic.claude-haiku-4-5-20251001-v1:0': ['messages', 'system', 'tools'],
551568
'anthropic.claude-opus-4-1-20250805-v1:0': ['messages', 'system', 'tools'],
552569
'anthropic.claude-opus-4-20250514-v1:0': ['messages', 'system', 'tools'],
553570
'anthropic.claude-sonnet-4-20250514-v1:0': ['messages', 'system', 'tools'],

0 commit comments

Comments
 (0)