@@ -255,6 +255,41 @@ const ALIBABA_INTL_TOKEN_PLAN_QWEN_MODELS = [
255255// coding tools (not custom application backends or non-interactive batch automation).
256256// Evidence: https://cloud.tencent.cn/document/product/1823/130092
257257const TENCENT_CODING_PLAN_MODELS = [ "tc-code-latest" , "glm-5" , "kimi-k2.5" , "minimax-m2.5" ] ;
258+ // Volcengine's authenticated /api/v3/models catalog mixes chat models with embedding,
259+ // image, video, and 3D generation resources. Keep the Codex-facing presets scoped to
260+ // models documented for text/agent or Coding Plan use.
261+ const VOLCENGINE_ARK_MODELS = [
262+ "doubao-seed-2-1-pro-260628" ,
263+ "doubao-seed-2-1-turbo-260628" ,
264+ "doubao-seed-evolving" ,
265+ "deepseek-v4-pro-260425" ,
266+ "deepseek-v4-flash-260425" ,
267+ "deepseek-v3-2-251201" ,
268+ "glm-5-2-260617" ,
269+ "glm-4-7-251222" ,
270+ ] ;
271+ const VOLCENGINE_DOUBAO_THINKING_MODELS = [
272+ "doubao-seed-2-1-pro-260628" ,
273+ "doubao-seed-2-1-turbo-260628" ,
274+ "doubao-seed-evolving" ,
275+ ] ;
276+ const VOLCENGINE_CODING_PLAN_MODELS = [
277+ "ark-code-latest" ,
278+ "doubao-seed-2.0-code" ,
279+ "deepseek-v4-pro" ,
280+ "deepseek-v4-flash" ,
281+ "glm-5.1" ,
282+ "kimi-k2.6" ,
283+ "minimax-m3" ,
284+ ] ;
285+ const VOLCENGINE_AGENT_PLAN_MODELS = [
286+ "deepseek-v4-pro" ,
287+ "deepseek-v4-flash" ,
288+ "glm-5.1" ,
289+ "kimi-k2.6" ,
290+ "minimax-m3" ,
291+ "doubao-seed-2.0-pro" ,
292+ ] ;
258293const ALIBABA_INTL_TOKEN_PLAN_INPUT_MODALITIES : Record < string , string [ ] > = {
259294 "qwen3.8-max-preview" : [ "text" , "image" ] ,
260295 "qwen3.7-max" : [ "text" , "image" ] ,
@@ -896,17 +931,30 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [
896931 adapter : "openai-chat" ,
897932 authKind : "key" ,
898933 dashboardUrl : "https://console.volcengine.com/ark/region:ark+cn-beijing/apikey" ,
899- defaultModel : "doubao-seed-2-0-lite-260215" ,
900- models : [ "doubao-seed-2-0-lite-260215" ] ,
901- liveModels : true ,
902- modelReasoningEfforts : {
903- "doubao-seed-2-0-lite-260215" : THINKING_TOGGLE_EFFORTS ,
904- } ,
905- modelReasoningEffortMap : {
906- "doubao-seed-2-0-lite-260215" : THINKING_TOGGLE_MAP ,
907- } ,
908- thinkingToggleModels : [ "doubao-seed-2-0-lite-260215" ] ,
909- note : "Pay-as-you-go Ark API. Calls on this endpoint do not consume Coding Plan or Agent Plan quota." ,
934+ defaultModel : "doubao-seed-2-1-pro-260628" ,
935+ models : VOLCENGINE_ARK_MODELS ,
936+ liveModels : false ,
937+ modelReasoningEfforts : Object . fromEntries (
938+ VOLCENGINE_DOUBAO_THINKING_MODELS . map ( id => [ id , THINKING_TOGGLE_EFFORTS ] ) ,
939+ ) ,
940+ modelReasoningEffortMap : Object . fromEntries (
941+ VOLCENGINE_DOUBAO_THINKING_MODELS . map ( id => [ id , THINKING_TOGGLE_MAP ] ) ,
942+ ) ,
943+ thinkingToggleModels : VOLCENGINE_DOUBAO_THINKING_MODELS ,
944+ preserveReasoningContentModels : [
945+ "deepseek-v4-pro-260425" ,
946+ "deepseek-v4-flash-260425" ,
947+ "glm-5-2-260617" ,
948+ "glm-4-7-251222" ,
949+ ] ,
950+ noVisionModels : [
951+ "deepseek-v4-pro-260425" ,
952+ "deepseek-v4-flash-260425" ,
953+ "deepseek-v3-2-251201" ,
954+ "glm-5-2-260617" ,
955+ "glm-4-7-251222" ,
956+ ] ,
957+ note : "Pay-as-you-go Ark API with a curated text/agent catalog. Calls on this endpoint do not consume Coding Plan or Agent Plan quota." ,
910958 } ,
911959 {
912960 id : "volcengine-coding-plan" ,
@@ -916,9 +964,9 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [
916964 authKind : "key" ,
917965 dashboardUrl : "https://console.volcengine.com/ark/region:ark+cn-beijing/overview" ,
918966 defaultModel : "ark-code-latest" ,
919- models : [ "ark-code-latest" ] ,
920- liveModels : true ,
921- note : "Coding Plan subscription endpoint. Use the plan key issued by the Ark console." ,
967+ models : VOLCENGINE_CODING_PLAN_MODELS ,
968+ liveModels : false ,
969+ note : "Coding Plan subscription endpoint with plan-scoped model aliases . Use the plan key issued by the Ark console." ,
922970 } ,
923971 {
924972 id : "volcengine-agent-plan" ,
@@ -928,8 +976,10 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [
928976 adapter : "openai-responses" ,
929977 authKind : "key" ,
930978 dashboardUrl : "https://console.volcengine.com/ark/region:ark+cn-beijing/overview" ,
931- liveModels : true ,
932- note : "Agent Plan subscription endpoint over the native Responses API." ,
979+ defaultModel : "deepseek-v4-pro" ,
980+ models : VOLCENGINE_AGENT_PLAN_MODELS ,
981+ liveModels : false ,
982+ note : "Agent Plan subscription endpoint over the native Responses API with a static fallback catalog." ,
933983 } ,
934984 // 2026-07-10: docs unverified; model data frozen. Evidence: devlog/_plan/260710_provider_hardening/002_research_cn.md.
935985 { id : "qianfan" , label : "Qianfan (Baidu)" , baseUrl : "https://qianfan.baidubce.com/v2" , adapter : "openai-chat" , authKind : "key" , dashboardUrl : "https://console.bce.baidu.com/iam/#/iam/apikey/list" } ,
0 commit comments