@@ -560,7 +560,37 @@ const CLAUDE_OPUS_5_FAST = {
560560 AnthropicSamplingOptions
561561>
562562
563+ const CLAUDE_FABLE_5_1 = {
564+ name : 'claude-fable-5.1' ,
565+ id : 'claude-fable-5.1' ,
566+ context_window : 1_000_000 ,
567+ max_output_tokens : 128_000 ,
568+ supports : {
569+ input : [ 'text' , 'image' , 'document' ] ,
570+ tools : [ ] ,
571+ } ,
572+ pricing : {
573+ input : {
574+ normal : 10 ,
575+ cached : 0.25 ,
576+ } ,
577+ output : {
578+ normal : 50 ,
579+ } ,
580+ } ,
581+ } as const satisfies ModelMeta <
582+ AnthropicContainerOptions &
583+ AnthropicContextManagementOptions &
584+ AnthropicMCPOptions &
585+ AnthropicServiceTierOptions &
586+ AnthropicStopSequencesOptions &
587+ AnthropicThinkingOptions &
588+ AnthropicToolChoiceOptions &
589+ AnthropicSamplingOptions
590+ >
591+
563592export const ANTHROPIC_MODELS = [
593+ CLAUDE_FABLE_5_1 . id ,
564594 CLAUDE_OPUS_5 . id ,
565595 CLAUDE_OPUS_5_FAST . id ,
566596 CLAUDE_OPUS_4_6 . id ,
@@ -636,6 +666,7 @@ const ANTHROPIC_MODEL_MAX_OUTPUT_TOKENS: Record<string, number> = {
636666 [ CLAUDE_SONNET_5 . id ] : CLAUDE_SONNET_5 . max_output_tokens ,
637667 [ CLAUDE_OPUS_5 . id ] : CLAUDE_OPUS_5 . max_output_tokens ,
638668 [ CLAUDE_OPUS_5_FAST . id ] : CLAUDE_OPUS_5_FAST . max_output_tokens ,
669+ [ CLAUDE_FABLE_5_1 . id ] : CLAUDE_FABLE_5_1 . max_output_tokens ,
639670}
640671
641672/**
@@ -828,6 +859,14 @@ export type AnthropicChatModelProviderOptionsByName = {
828859 AnthropicThinkingOptions &
829860 AnthropicToolChoiceOptions &
830861 AnthropicSamplingOptions
862+ [ CLAUDE_FABLE_5_1 . id ] : AnthropicContainerOptions &
863+ AnthropicContextManagementOptions &
864+ AnthropicMCPOptions &
865+ AnthropicServiceTierOptions &
866+ AnthropicStopSequencesOptions &
867+ AnthropicThinkingOptions &
868+ AnthropicToolChoiceOptions &
869+ AnthropicSamplingOptions
831870}
832871
833872export type AnthropicChatModelToolCapabilitiesByName = {
@@ -869,4 +908,5 @@ export type AnthropicModelInputModalitiesByName = {
869908 [ CLAUDE_SONNET_5 . id ] : typeof CLAUDE_SONNET_5 . supports . input
870909 [ CLAUDE_OPUS_5 . id ] : typeof CLAUDE_OPUS_5 . supports . input
871910 [ CLAUDE_OPUS_5_FAST . id ] : typeof CLAUDE_OPUS_5_FAST . supports . input
911+ [ CLAUDE_FABLE_5_1 . id ] : typeof CLAUDE_FABLE_5_1 . supports . input
872912}
0 commit comments