1- import { LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Chat , LLM_IF_OAI_Fn , LLM_IF_OAI_Reasoning , LLM_IF_OAI_Vision } from '~/common/stores/llms/llms.types' ;
1+ import { LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Chat , LLM_IF_OAI_Fn , LLM_IF_OAI_Reasoning , LLM_IF_OAI_Vision , LLM_IF_Tools_WebSearch } from '~/common/stores/llms/llms.types' ;
22
33import type { ModelDescriptionSchema } from '../llm.server.types' ;
44
@@ -10,19 +10,19 @@ export const hardcodedAnthropicVariants: { [modelId: string]: Partial<ModelDescr
1010 idVariant : 'thinking' ,
1111 label : 'Claude Sonnet 4.5 (Thinking)' ,
1212 description : 'Claude Sonnet 4.5 with extended thinking mode enabled for complex reasoning' ,
13- parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } ] ,
13+ parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } , { paramId : 'llmVndAntWebTools' } ] ,
1414 maxCompletionTokens : 64000 ,
15- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning ] ,
15+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning , LLM_IF_Tools_WebSearch ] ,
1616 benchmark : { cbaElo : 1451 + 1 } , // FALLBACK-UNTIL-AVAILABLE: claude-opus-4-1-20250805-thinking-16k + 1
1717 } ,
1818
1919 'claude-haiku-4-5-20251001' : {
2020 idVariant : 'thinking' ,
2121 label : 'Claude Haiku 4.5 (Thinking)' ,
2222 description : 'Claude Haiku 4.5 with extended thinking mode - first Haiku model with reasoning capabilities' ,
23- parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } ] ,
23+ parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } , { paramId : 'llmVndAntWebTools' } ] ,
2424 maxCompletionTokens : 64000 ,
25- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning ] ,
25+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning , LLM_IF_Tools_WebSearch ] ,
2626 } ,
2727
2828 // Claude 4.1 models with thinking variants
@@ -63,9 +63,9 @@ export const hardcodedAnthropicVariants: { [modelId: string]: Partial<ModelDescr
6363 idVariant : 'thinking' ,
6464 label : 'Claude Sonnet 3.7 (Thinking)' ,
6565 description : 'Claude 3.7 with extended thinking mode enabled for complex reasoning' ,
66- parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } ] ,
66+ parameterSpecs : [ { paramId : 'llmVndAntThinkingBudget' , required : true , hidden : false } , { paramId : 'llmVndAntWebTools' } ] ,
6767 maxCompletionTokens : 64000 ,
68- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning ] ,
68+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_OAI_Reasoning , LLM_IF_Tools_WebSearch ] ,
6969 benchmark : { cbaElo : 1385 } , // claude-3-7-sonnet-20250219-thinking-32k
7070 } ,
7171
@@ -82,7 +82,8 @@ export const hardcodedAnthropicModels: (ModelDescriptionSchema & { isLegacy?: bo
8282 contextWindow : 200000 ,
8383 maxCompletionTokens : 64000 ,
8484 trainingDataCutoff : 'Jul 2025' ,
85- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching ] ,
85+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_Tools_WebSearch ] ,
86+ parameterSpecs : [ { paramId : 'llmVndAntWebTools' } ] ,
8687 // Note: Tiered pricing - ≤200K: $3/$15, >200K: $6/$22.50. Using lower tier as base.
8788 chatPrice : { input : 3 , output : 15 , cache : { cType : 'ant-bp' , read : 0.30 , write : 3.75 , duration : 300 } } ,
8889 benchmark : { cbaElo : 1438 + 1 } , // FALLBACK-UNTIL-AVAILABLE: claude-opus-4-1-20250805 + 1
@@ -94,7 +95,8 @@ export const hardcodedAnthropicModels: (ModelDescriptionSchema & { isLegacy?: bo
9495 contextWindow : 200000 ,
9596 maxCompletionTokens : 64000 ,
9697 trainingDataCutoff : 'Jul 2025' ,
97- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching ] ,
98+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_Tools_WebSearch ] ,
99+ parameterSpecs : [ { paramId : 'llmVndAntWebTools' } ] ,
98100 chatPrice : { input : 1 , output : 5 , cache : { cType : 'ant-bp' , read : 0.10 , write : 1.25 , duration : 300 } } ,
99101 } ,
100102
@@ -144,7 +146,8 @@ export const hardcodedAnthropicModels: (ModelDescriptionSchema & { isLegacy?: bo
144146 contextWindow : 200000 ,
145147 maxCompletionTokens : 64000 ,
146148 trainingDataCutoff : 'Nov 2024' ,
147- interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching ] ,
149+ interfaces : [ LLM_IF_OAI_Chat , LLM_IF_OAI_Vision , LLM_IF_OAI_Fn , LLM_IF_ANT_PromptCaching , LLM_IF_Tools_WebSearch ] ,
150+ parameterSpecs : [ { paramId : 'llmVndAntWebTools' } ] ,
148151 chatPrice : { input : 3 , output : 15 , cache : { cType : 'ant-bp' , read : 0.30 , write : 3.75 , duration : 300 } } ,
149152 benchmark : { cbaElo : 1369 } , // claude-3-7-sonnet-20250219
150153 } ,
0 commit comments