From 5829c0f23d574f8f8dbb523f33cb5323d8ee4726 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 16:05:53 -0500 Subject: [PATCH 1/8] [siliconflow] Audit models and reasoning controls --- .../models/Pro/deepseek-ai/DeepSeek-R1.toml | 1 + .../deepseek-ai/DeepSeek-V3.1-Terminus.toml | 1 + .../models/Pro/deepseek-ai/DeepSeek-V3.2.toml | 1 + .../Pro/moonshotai/Kimi-K2-Thinking.toml | 1 + .../models/Pro/moonshotai/Kimi-K2.5.toml | 1 + .../models/Pro/moonshotai/Kimi-K2.6.toml | 1 + .../models/Pro/zai-org/GLM-4.7.toml | 1 + .../models/Pro/zai-org/GLM-5.1.toml | 1 + .../models/Pro/zai-org/GLM-5.toml | 1 + .../models/Qwen/Qwen3.5-122B-A10B.toml | 2 +- .../models/Qwen/Qwen3.5-27B.toml | 2 +- .../models/Qwen/Qwen3.5-35B-A3B.toml | 2 +- .../models/Qwen/Qwen3.5-397B-A17B.toml | 2 +- .../models/Qwen/Qwen3.5-4B.toml | 2 +- .../models/Qwen/Qwen3.5-9B.toml | 2 +- .../models/Qwen/Qwen3.6-35B-A3B.toml | 2 +- .../models/ascend-tribe/pangu-pro-moe.toml | 1 + .../models/deepseek-ai/DeepSeek-V4-Pro.toml | 1 + .../models/stepfun-ai/Step-3.5-Flash.toml | 1 + .../models/MiniMaxAI/MiniMax-M2.1.toml | 22 ------------------- .../siliconflow/models/Qwen/QwQ-32B.toml | 22 ------------------- .../models/Qwen/Qwen2.5-14B-Instruct.toml | 22 ------------------- .../models/Qwen/Qwen2.5-32B-Instruct.toml | 22 ------------------- .../Qwen/Qwen2.5-72B-Instruct-128K.toml | 22 ------------------- .../Qwen/Qwen2.5-Coder-32B-Instruct.toml | 22 ------------------- .../models/Qwen/Qwen2.5-VL-32B-Instruct.toml | 22 ------------------- .../models/Qwen/Qwen2.5-VL-72B-Instruct.toml | 22 ------------------- .../models/Qwen/Qwen2.5-VL-7B-Instruct.toml | 22 ------------------- .../siliconflow/models/Qwen/Qwen3-14B.toml | 3 ++- .../Qwen/Qwen3-235B-A22B-Instruct-2507.toml | 22 ------------------- .../Qwen/Qwen3-235B-A22B-Thinking-2507.toml | 1 + .../Qwen/Qwen3-30B-A3B-Thinking-2507.toml | 22 ------------------- .../siliconflow/models/Qwen/Qwen3-32B.toml | 3 ++- .../siliconflow/models/Qwen/Qwen3-8B.toml | 3 ++- .../Qwen/Qwen3-Next-80B-A3B-Instruct.toml | 22 ------------------- .../Qwen/Qwen3-Next-80B-A3B-Thinking.toml | 22 ------------------- .../Qwen/Qwen3-Omni-30B-A3B-Captioner.toml | 22 ------------------- .../Qwen/Qwen3-Omni-30B-A3B-Instruct.toml | 22 ------------------- .../Qwen/Qwen3-Omni-30B-A3B-Thinking.toml | 22 ------------------- .../Qwen/Qwen3-VL-235B-A22B-Thinking.toml | 1 + .../Qwen/Qwen3-VL-30B-A3B-Thinking.toml | 1 + .../models/Qwen/Qwen3-VL-32B-Thinking.toml | 1 + .../models/Qwen/Qwen3-VL-8B-Thinking.toml | 22 ------------------- .../models/Qwen/Qwen3.5-122B-A10B.toml | 16 ++++++++++++++ .../siliconflow/models/Qwen/Qwen3.5-27B.toml | 16 ++++++++++++++ .../models/Qwen/Qwen3.5-35B-A3B.toml | 16 ++++++++++++++ .../models/Qwen/Qwen3.5-397B-A17B.toml | 16 ++++++++++++++ .../{Qwen3-235B-A22B.toml => Qwen3.5-9B.toml} | 16 +++++++------- .../siliconflow/models/Qwen/Qwen3.6-27B.toml | 16 ++++++++++++++ .../models/Qwen/Qwen3.6-35B-A3B.toml | 16 ++++++++++++++ .../models/THUDM/GLM-4-32B-0414.toml | 22 ------------------- .../models/THUDM/GLM-4-9B-0414.toml | 22 ------------------- .../models/THUDM/GLM-Z1-32B-0414.toml | 22 ------------------- .../models/THUDM/GLM-Z1-9B-0414.toml | 22 ------------------- .../DeepSeek-R1-Distill-Qwen-14B.toml | 22 ------------------- .../DeepSeek-R1-Distill-Qwen-32B.toml | 22 ------------------- .../models/deepseek-ai/DeepSeek-R1.toml | 1 + .../deepseek-ai/DeepSeek-V3.1-Terminus.toml | 1 + .../models/deepseek-ai/DeepSeek-V3.1.toml | 1 + .../models/deepseek-ai/DeepSeek-V3.2-Exp.toml | 1 + .../models/deepseek-ai/DeepSeek-V3.2.toml | 1 + .../models/deepseek-ai/deepseek-vl2.toml | 22 ------------------- .../models/google/gemma-4-26B-A4B-it.toml | 16 ++++++++++++++ .../models/google/gemma-4-31B-it.toml | 16 ++++++++++++++ .../models/inclusionAI/Ling-mini-2.0.toml | 22 ------------------- .../models/inclusionAI/Ring-flash-2.0.toml | 22 ------------------- .../Meta-Llama-3.1-8B-Instruct.toml | 22 ------------------- .../moonshotai/Kimi-K2-Instruct-0905.toml | 22 ------------------- .../models/moonshotai/Kimi-K2-Instruct.toml | 22 ------------------- .../models/moonshotai/Kimi-K2-Thinking.toml | 22 ------------------- .../models/moonshotai/Kimi-K2.5.toml | 1 + .../models/moonshotai/Kimi-K2.6.toml | 1 + .../models/nex-agi/DeepSeek-V3.1-Nex-N1.toml | 22 ------------------- .../models/openai/gpt-oss-120b.toml | 1 + .../models/stepfun-ai/Step-3.5-Flash.toml | 1 + .../models/tencent/Hunyuan-A13B-Instruct.toml | 3 ++- .../models/tencent/Hunyuan-MT-7B.toml | 22 ------------------- .../models/tencent/Hy3-preview.toml | 18 +++++++++++++++ .../siliconflow/models/zai-org/GLM-4.5.toml | 22 ------------------- .../siliconflow/models/zai-org/GLM-4.5V.toml | 22 ------------------- .../siliconflow/models/zai-org/GLM-4.6.toml | 22 ------------------- .../siliconflow/models/zai-org/GLM-4.6V.toml | 22 ------------------- .../siliconflow/models/zai-org/GLM-4.7.toml | 1 + .../siliconflow/models/zai-org/GLM-5.1.toml | 1 + .../siliconflow/models/zai-org/GLM-5.toml | 1 + .../models/zai-org/GLM-5V-Turbo.toml | 1 + 86 files changed, 198 insertions(+), 811 deletions(-) delete mode 100644 providers/siliconflow/models/MiniMaxAI/MiniMax-M2.1.toml delete mode 100644 providers/siliconflow/models/Qwen/QwQ-32B.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-14B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-32B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-72B-Instruct-128K.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-Coder-32B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-VL-32B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-VL-72B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen2.5-VL-7B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Instruct-2507.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-30B-A3B-Thinking-2507.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Thinking.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Captioner.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Instruct.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.toml delete mode 100644 providers/siliconflow/models/Qwen/Qwen3-VL-8B-Thinking.toml create mode 100644 providers/siliconflow/models/Qwen/Qwen3.5-122B-A10B.toml create mode 100644 providers/siliconflow/models/Qwen/Qwen3.5-27B.toml create mode 100644 providers/siliconflow/models/Qwen/Qwen3.5-35B-A3B.toml create mode 100644 providers/siliconflow/models/Qwen/Qwen3.5-397B-A17B.toml rename providers/siliconflow/models/Qwen/{Qwen3-235B-A22B.toml => Qwen3.5-9B.toml} (52%) create mode 100644 providers/siliconflow/models/Qwen/Qwen3.6-27B.toml create mode 100644 providers/siliconflow/models/Qwen/Qwen3.6-35B-A3B.toml delete mode 100644 providers/siliconflow/models/THUDM/GLM-4-32B-0414.toml delete mode 100644 providers/siliconflow/models/THUDM/GLM-4-9B-0414.toml delete mode 100644 providers/siliconflow/models/THUDM/GLM-Z1-32B-0414.toml delete mode 100644 providers/siliconflow/models/THUDM/GLM-Z1-9B-0414.toml delete mode 100644 providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B.toml delete mode 100644 providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B.toml delete mode 100644 providers/siliconflow/models/deepseek-ai/deepseek-vl2.toml create mode 100644 providers/siliconflow/models/google/gemma-4-26B-A4B-it.toml create mode 100644 providers/siliconflow/models/google/gemma-4-31B-it.toml delete mode 100644 providers/siliconflow/models/inclusionAI/Ling-mini-2.0.toml delete mode 100644 providers/siliconflow/models/inclusionAI/Ring-flash-2.0.toml delete mode 100644 providers/siliconflow/models/meta-llama/Meta-Llama-3.1-8B-Instruct.toml delete mode 100644 providers/siliconflow/models/moonshotai/Kimi-K2-Instruct-0905.toml delete mode 100644 providers/siliconflow/models/moonshotai/Kimi-K2-Instruct.toml delete mode 100644 providers/siliconflow/models/moonshotai/Kimi-K2-Thinking.toml delete mode 100644 providers/siliconflow/models/nex-agi/DeepSeek-V3.1-Nex-N1.toml delete mode 100644 providers/siliconflow/models/tencent/Hunyuan-MT-7B.toml create mode 100644 providers/siliconflow/models/tencent/Hy3-preview.toml delete mode 100644 providers/siliconflow/models/zai-org/GLM-4.5.toml delete mode 100644 providers/siliconflow/models/zai-org/GLM-4.5V.toml delete mode 100644 providers/siliconflow/models/zai-org/GLM-4.6.toml delete mode 100644 providers/siliconflow/models/zai-org/GLM-4.6V.toml diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml index 6e169c5c8..76ddfd39d 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml @@ -4,6 +4,7 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml index 6494351ee..da59e66d9 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml @@ -4,6 +4,7 @@ release_date = "2025-09-29" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml index d5b3122e6..15d88a675 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml @@ -4,6 +4,7 @@ release_date = "2025-12-03" last_updated = "2025-12-03" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml index 6b5681084..92b5f3ce9 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-11-07" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml index 37457adb2..6134afb87 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml @@ -4,6 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml index 85b0e9bf0..00d91a63f 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml @@ -4,6 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml index c77f26405..e13318f29 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml @@ -4,6 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml index 4f7f68433..7df419d8c 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml @@ -4,6 +4,7 @@ release_date = "2026-04-08" last_updated = "2026-04-08" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml index f0126d612..d56833b0f 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml @@ -4,6 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml index 9735023f5..20b34142d 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-02-26" last_updated = "2026-02-26" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml index 3f6e6268f..07d846cba 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-02-25" last_updated = "2026-02-25" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml index 0cb640013..e5ae72711 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-02-25" last_updated = "2026-02-25" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml index 05ac38d4f..b58d158c0 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-02-16" last_updated = "2026-02-16" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml index ec72de3e9..bc3c63c5f 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-03-03" last_updated = "2026-03-03" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml index 56dc9f16f..e82beeb62 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-03-03" last_updated = "2026-03-03" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.6-35B-A3B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.6-35B-A3B.toml index b8310df65..131108164 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.6-35B-A3B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.6-35B-A3B.toml @@ -3,7 +3,7 @@ family = "qwen" release_date = "2026-04-17" last_updated = "2026-04-17" attachment = false -reasoning = true +reasoning = false temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml b/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml index a19569420..b6f156770 100644 --- a/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml +++ b/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml @@ -4,6 +4,7 @@ release_date = "2025-07-02" last_updated = "2026-01-16" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = false structured_output = true diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml index 8ba8153a6..f1bdffe06 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml @@ -4,6 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = false diff --git a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml index 79a0382dc..c218824ac 100644 --- a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/MiniMaxAI/MiniMax-M2.1.toml b/providers/siliconflow/models/MiniMaxAI/MiniMax-M2.1.toml deleted file mode 100644 index debd77162..000000000 --- a/providers/siliconflow/models/MiniMaxAI/MiniMax-M2.1.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "MiniMaxAI/MiniMax-M2.1" -family = "minimax" -release_date = "2025-12-23" -last_updated = "2025-12-23" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.3 -output = 1.2 - -[limit] -context = 197_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/QwQ-32B.toml b/providers/siliconflow/models/Qwen/QwQ-32B.toml deleted file mode 100644 index e5fe61ec2..000000000 --- a/providers/siliconflow/models/Qwen/QwQ-32B.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/QwQ-32B" -family = "qwen" -release_date = "2025-03-06" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.15 -output = 0.58 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-14B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-14B-Instruct.toml deleted file mode 100644 index 31a33822a..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-14B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-14B-Instruct" -family = "qwen" -release_date = "2024-09-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.1 -output = 0.1 - -[limit] -context = 33_000 -output = 4_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-32B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-32B-Instruct.toml deleted file mode 100644 index 216c73b01..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-32B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-32B-Instruct" -family = "qwen" -release_date = "2024-09-19" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.18 -output = 0.18 - -[limit] -context = 33_000 -output = 4_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-72B-Instruct-128K.toml b/providers/siliconflow/models/Qwen/Qwen2.5-72B-Instruct-128K.toml deleted file mode 100644 index baf95e47a..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-72B-Instruct-128K.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-72B-Instruct-128K" -family = "qwen" -release_date = "2024-09-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.59 -output = 0.59 - -[limit] -context = 131_000 -output = 4_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-Coder-32B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-Coder-32B-Instruct.toml deleted file mode 100644 index 3909b451c..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-Coder-32B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-Coder-32B-Instruct" -family = "qwen" -release_date = "2024-11-11" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.18 -output = 0.18 - -[limit] -context = 33_000 -output = 4_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-VL-32B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-VL-32B-Instruct.toml deleted file mode 100644 index 8c746a13e..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-VL-32B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-VL-32B-Instruct" -family = "qwen" -release_date = "2025-03-24" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.27 -output = 0.27 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-VL-72B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-VL-72B-Instruct.toml deleted file mode 100644 index 9ee40db68..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-VL-72B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-VL-72B-Instruct" -family = "qwen" -release_date = "2025-01-28" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.59 -output = 0.59 - -[limit] -context = 131_000 -output = 4_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen2.5-VL-7B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen2.5-VL-7B-Instruct.toml deleted file mode 100644 index 8ed138c67..000000000 --- a/providers/siliconflow/models/Qwen/Qwen2.5-VL-7B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen2.5-VL-7B-Instruct" -family = "qwen" -release_date = "2025-01-28" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.05 -output = 0.05 - -[limit] -context = 33_000 -output = 4_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-14B.toml b/providers/siliconflow/models/Qwen/Qwen3-14B.toml index a881b4176..33db8b8f7 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-14B.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-14B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2025-04-30" last_updated = "2025-11-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Instruct-2507.toml b/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Instruct-2507.toml deleted file mode 100644 index 76a93ee4e..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Instruct-2507.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-235B-A22B-Instruct-2507" -family = "qwen" -release_date = "2025-07-23" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.09 -output = 0.6 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml b/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml index f27f75bda..fa6da94a6 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml @@ -4,6 +4,7 @@ release_date = "2025-07-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-30B-A3B-Thinking-2507.toml b/providers/siliconflow/models/Qwen/Qwen3-30B-A3B-Thinking-2507.toml deleted file mode 100644 index 9259f4c0f..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-30B-A3B-Thinking-2507.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-30B-A3B-Thinking-2507" -family = "qwen" -release_date = "2025-07-31" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.09 -output = 0.3 - -[limit] -context = 262_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-32B.toml b/providers/siliconflow/models/Qwen/Qwen3-32B.toml index 8836237e7..fa5b0ab41 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-32B.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-32B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2025-04-30" last_updated = "2025-11-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-8B.toml b/providers/siliconflow/models/Qwen/Qwen3-8B.toml index 27c2be307..5fc1d3bf4 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-8B.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-8B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2025-04-30" last_updated = "2025-11-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Instruct.toml deleted file mode 100644 index c149af56b..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-Next-80B-A3B-Instruct" -family = "qwen" -release_date = "2025-09-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.14 -output = 1.4 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Thinking.toml deleted file mode 100644 index bda2eac47..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-Next-80B-A3B-Thinking.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-Next-80B-A3B-Thinking" -family = "qwen" -release_date = "2025-09-25" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.14 -output = 0.57 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Captioner.toml b/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Captioner.toml deleted file mode 100644 index 99dd550b9..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Captioner.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-Omni-30B-A3B-Captioner" -family = "qwen" -release_date = "2025-10-04" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.1 -output = 0.4 - -[limit] -context = 66_000 -output = 66_000 - -[modalities] -input = ["audio"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Instruct.toml b/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Instruct.toml deleted file mode 100644 index 3142e3d2a..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-Omni-30B-A3B-Instruct" -family = "qwen" -release_date = "2025-10-04" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.1 -output = 0.4 - -[limit] -context = 66_000 -output = 66_000 - -[modalities] -input = ["text", "image", "audio"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.toml deleted file mode 100644 index 5de09d41a..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-Omni-30B-A3B-Thinking.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-Omni-30B-A3B-Thinking" -family = "qwen" -release_date = "2025-10-04" -last_updated = "2025-11-25" -attachment = true -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.1 -output = 0.4 - -[limit] -context = 66_000 -output = 66_000 - -[modalities] -input = ["text", "image", "audio"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml index cb78376b5..3c04849a9 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-04" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml index 5855580db..3a4ee24c5 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-11" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml index c95799094..a52e87ec3 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-21" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-8B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-8B-Thinking.toml deleted file mode 100644 index 200827512..000000000 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-8B-Thinking.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Qwen/Qwen3-VL-8B-Thinking" -family = "qwen" -release_date = "2025-10-15" -last_updated = "2025-11-25" -attachment = true -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.18 -output = 2.0 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/Qwen/Qwen3.5-122B-A10B.toml b/providers/siliconflow/models/Qwen/Qwen3.5-122B-A10B.toml new file mode 100644 index 000000000..e62c5eac7 --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.5-122B-A10B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.5-122b-a10b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.26 +output = 2.08 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3.5-27B.toml b/providers/siliconflow/models/Qwen/Qwen3.5-27B.toml new file mode 100644 index 000000000..ca63a9447 --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.5-27B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.5-27b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.25 +output = 2.00 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3.5-35B-A3B.toml b/providers/siliconflow/models/Qwen/Qwen3.5-35B-A3B.toml new file mode 100644 index 000000000..55c69ec96 --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.5-35B-A3B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.5-35b-a3b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.24 +output = 1.80 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3.5-397B-A17B.toml b/providers/siliconflow/models/Qwen/Qwen3.5-397B-A17B.toml new file mode 100644 index 000000000..a48527e45 --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.5-397B-A17B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.5-397b-a17b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.39 +output = 2.34 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B.toml b/providers/siliconflow/models/Qwen/Qwen3.5-9B.toml similarity index 52% rename from providers/siliconflow/models/Qwen/Qwen3-235B-A22B.toml rename to providers/siliconflow/models/Qwen/Qwen3.5-9B.toml index 0597c3b1c..caa368c22 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-235B-A22B.toml +++ b/providers/siliconflow/models/Qwen/Qwen3.5-9B.toml @@ -1,7 +1,7 @@ -name = "Qwen/Qwen3-235B-A22B" +name = "Qwen/Qwen3.5-9B" family = "qwen" -release_date = "2025-04-30" -last_updated = "2025-11-25" +release_date = "2026-03-03" +last_updated = "2026-04-24" attachment = false reasoning = false temperature = true @@ -10,13 +10,13 @@ structured_output = true open_weights = false [cost] -input = 0.35 -output = 1.42 +input = 0.10 +output = 0.15 [limit] -context = 131_000 -output = 131_000 +context = 262_144 +output = 262_144 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3.6-27B.toml b/providers/siliconflow/models/Qwen/Qwen3.6-27B.toml new file mode 100644 index 000000000..43f0a3b12 --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.6-27B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.6-27b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.30 +output = 3.20 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3.6-35B-A3B.toml b/providers/siliconflow/models/Qwen/Qwen3.6-35B-A3B.toml new file mode 100644 index 000000000..f3fb9c04e --- /dev/null +++ b/providers/siliconflow/models/Qwen/Qwen3.6-35B-A3B.toml @@ -0,0 +1,16 @@ +base_model = "alibaba/qwen3.6-35b-a3b" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.20 +output = 1.60 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/THUDM/GLM-4-32B-0414.toml b/providers/siliconflow/models/THUDM/GLM-4-32B-0414.toml deleted file mode 100644 index 6bd95cbee..000000000 --- a/providers/siliconflow/models/THUDM/GLM-4-32B-0414.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "THUDM/GLM-4-32B-0414" -family = "glm" -release_date = "2025-04-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.27 -output = 0.27 - -[limit] -context = 33_000 -output = 33_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/THUDM/GLM-4-9B-0414.toml b/providers/siliconflow/models/THUDM/GLM-4-9B-0414.toml deleted file mode 100644 index f232f7334..000000000 --- a/providers/siliconflow/models/THUDM/GLM-4-9B-0414.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "THUDM/GLM-4-9B-0414" -family = "glm" -release_date = "2025-04-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.086 -output = 0.086 - -[limit] -context = 33_000 -output = 33_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/THUDM/GLM-Z1-32B-0414.toml b/providers/siliconflow/models/THUDM/GLM-Z1-32B-0414.toml deleted file mode 100644 index b8b87a202..000000000 --- a/providers/siliconflow/models/THUDM/GLM-Z1-32B-0414.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "THUDM/GLM-Z1-32B-0414" -family = "glm-z" -release_date = "2025-04-18" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.14 -output = 0.57 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/THUDM/GLM-Z1-9B-0414.toml b/providers/siliconflow/models/THUDM/GLM-Z1-9B-0414.toml deleted file mode 100644 index cc50a2391..000000000 --- a/providers/siliconflow/models/THUDM/GLM-Z1-9B-0414.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "THUDM/GLM-Z1-9B-0414" -family = "glm-z" -release_date = "2025-04-18" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.086 -output = 0.086 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B.toml deleted file mode 100644 index 227cdd147..000000000 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B" -family = "qwen" -release_date = "2025-01-20" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.1 -output = 0.1 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B.toml deleted file mode 100644 index 0d53c4c81..000000000 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" -family = "qwen" -release_date = "2025-01-20" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.18 -output = 0.18 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-R1.toml index c2e655b45..da310ed02 100644 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-R1.toml @@ -4,6 +4,7 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml index 35c9d6f08..5343c17df 100644 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml @@ -4,6 +4,7 @@ release_date = "2025-09-29" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1.toml index 5cdaa3327..566ce282e 100644 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.1.toml @@ -4,6 +4,7 @@ release_date = "2025-08-25" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2-Exp.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2-Exp.toml index 024d61566..9dfe88c37 100644 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2-Exp.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2-Exp.toml @@ -4,6 +4,7 @@ release_date = "2025-10-10" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2.toml index 039edfab2..8afcc8f5f 100644 --- a/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V3.2.toml @@ -4,6 +4,7 @@ release_date = "2025-12-03" last_updated = "2025-12-03" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-vl2.toml b/providers/siliconflow/models/deepseek-ai/deepseek-vl2.toml deleted file mode 100644 index b19df3383..000000000 --- a/providers/siliconflow/models/deepseek-ai/deepseek-vl2.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "deepseek-ai/deepseek-vl2" -family = "deepseek" -release_date = "2024-12-13" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.15 -output = 0.15 - -[limit] -context = 4_000 -output = 4_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/google/gemma-4-26B-A4B-it.toml b/providers/siliconflow/models/google/gemma-4-26B-A4B-it.toml new file mode 100644 index 000000000..042895f7f --- /dev/null +++ b/providers/siliconflow/models/google/gemma-4-26B-A4B-it.toml @@ -0,0 +1,16 @@ +base_model = "google/gemma-4-26b-a4b-it" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.12 +output = 0.40 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/google/gemma-4-31B-it.toml b/providers/siliconflow/models/google/gemma-4-31B-it.toml new file mode 100644 index 000000000..7c61e5b1e --- /dev/null +++ b/providers/siliconflow/models/google/gemma-4-31B-it.toml @@ -0,0 +1,16 @@ +base_model = "google/gemma-4-31b-it" +attachment = false +reasoning = false +open_weights = false + +[cost] +input = 0.13 +output = 0.40 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/inclusionAI/Ling-mini-2.0.toml b/providers/siliconflow/models/inclusionAI/Ling-mini-2.0.toml deleted file mode 100644 index 101d754ed..000000000 --- a/providers/siliconflow/models/inclusionAI/Ling-mini-2.0.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "inclusionAI/Ling-mini-2.0" -family = "ling" -release_date = "2025-09-10" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.07 -output = 0.28 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/inclusionAI/Ring-flash-2.0.toml b/providers/siliconflow/models/inclusionAI/Ring-flash-2.0.toml deleted file mode 100644 index 093888c2c..000000000 --- a/providers/siliconflow/models/inclusionAI/Ring-flash-2.0.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "inclusionAI/Ring-flash-2.0" -family = "ring" -release_date = "2025-09-29" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.14 -output = 0.57 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/meta-llama/Meta-Llama-3.1-8B-Instruct.toml b/providers/siliconflow/models/meta-llama/Meta-Llama-3.1-8B-Instruct.toml deleted file mode 100644 index 6251170a4..000000000 --- a/providers/siliconflow/models/meta-llama/Meta-Llama-3.1-8B-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "meta-llama/Meta-Llama-3.1-8B-Instruct" -family = "llama" -release_date = "2025-04-23" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.06 -output = 0.06 - -[limit] -context = 33_000 -output = 4_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct-0905.toml b/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct-0905.toml deleted file mode 100644 index 9a04698a9..000000000 --- a/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct-0905.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "moonshotai/Kimi-K2-Instruct-0905" -family = "kimi" -release_date = "2025-09-08" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.4 -output = 2.0 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct.toml b/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct.toml deleted file mode 100644 index c5d3cffeb..000000000 --- a/providers/siliconflow/models/moonshotai/Kimi-K2-Instruct.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "moonshotai/Kimi-K2-Instruct" -family = "kimi" -release_date = "2025-07-13" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.58 -output = 2.29 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/moonshotai/Kimi-K2-Thinking.toml b/providers/siliconflow/models/moonshotai/Kimi-K2-Thinking.toml deleted file mode 100644 index 36fa6922a..000000000 --- a/providers/siliconflow/models/moonshotai/Kimi-K2-Thinking.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "moonshotai/Kimi-K2-Thinking" -family = "kimi-thinking" -release_date = "2025-11-07" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.55 -output = 2.50 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/moonshotai/Kimi-K2.5.toml b/providers/siliconflow/models/moonshotai/Kimi-K2.5.toml index bdbf31faa..d640579cc 100644 --- a/providers/siliconflow/models/moonshotai/Kimi-K2.5.toml +++ b/providers/siliconflow/models/moonshotai/Kimi-K2.5.toml @@ -4,6 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/moonshotai/Kimi-K2.6.toml b/providers/siliconflow/models/moonshotai/Kimi-K2.6.toml index 03dc13596..46a45cb89 100644 --- a/providers/siliconflow/models/moonshotai/Kimi-K2.6.toml +++ b/providers/siliconflow/models/moonshotai/Kimi-K2.6.toml @@ -4,6 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/nex-agi/DeepSeek-V3.1-Nex-N1.toml b/providers/siliconflow/models/nex-agi/DeepSeek-V3.1-Nex-N1.toml deleted file mode 100644 index 33bdc1029..000000000 --- a/providers/siliconflow/models/nex-agi/DeepSeek-V3.1-Nex-N1.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "nex-agi/DeepSeek-V3.1-Nex-N1" -family = "deepseek" -release_date = "2025-01-01" -last_updated = "2025-11-25" -attachment = false -reasoning = true -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.5 -output = 2.0 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/openai/gpt-oss-120b.toml b/providers/siliconflow/models/openai/gpt-oss-120b.toml index 32574e085..d31af3be1 100644 --- a/providers/siliconflow/models/openai/gpt-oss-120b.toml +++ b/providers/siliconflow/models/openai/gpt-oss-120b.toml @@ -4,6 +4,7 @@ release_date = "2025-08-13" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml index 79a0382dc..c218824ac 100644 --- a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/tencent/Hunyuan-A13B-Instruct.toml b/providers/siliconflow/models/tencent/Hunyuan-A13B-Instruct.toml index 4787964ec..1c30920b0 100644 --- a/providers/siliconflow/models/tencent/Hunyuan-A13B-Instruct.toml +++ b/providers/siliconflow/models/tencent/Hunyuan-A13B-Instruct.toml @@ -3,7 +3,8 @@ family = "hunyuan" release_date = "2025-06-30" last_updated = "2025-11-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/tencent/Hunyuan-MT-7B.toml b/providers/siliconflow/models/tencent/Hunyuan-MT-7B.toml deleted file mode 100644 index e90277ff7..000000000 --- a/providers/siliconflow/models/tencent/Hunyuan-MT-7B.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "tencent/Hunyuan-MT-7B" -family = "hunyuan" -release_date = "2025-09-18" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.0 -output = 0.0 - -[limit] -context = 33_000 -output = 33_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/tencent/Hy3-preview.toml b/providers/siliconflow/models/tencent/Hy3-preview.toml new file mode 100644 index 000000000..c036342b9 --- /dev/null +++ b/providers/siliconflow/models/tencent/Hy3-preview.toml @@ -0,0 +1,18 @@ +base_model = "tencent/hy3-preview" +attachment = false +reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "high"] }, { type = "budget_tokens", min = 128, max = 32_768 }] +open_weights = false + +[cost] +input = 0.066 +cache_read = 0.029 +output = 0.26 + +[limit] +context = 262_144 +output = 262_144 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/zai-org/GLM-4.5.toml b/providers/siliconflow/models/zai-org/GLM-4.5.toml deleted file mode 100644 index 42df4a1fe..000000000 --- a/providers/siliconflow/models/zai-org/GLM-4.5.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "zai-org/GLM-4.5" -family = "glm" -release_date = "2025-07-28" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.4 -output = 2.0 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/zai-org/GLM-4.5V.toml b/providers/siliconflow/models/zai-org/GLM-4.5V.toml deleted file mode 100644 index c5123bfbe..000000000 --- a/providers/siliconflow/models/zai-org/GLM-4.5V.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "zai-org/GLM-4.5V" -family = "glm" -release_date = "2025-08-13" -last_updated = "2025-11-25" -attachment = true -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.14 -output = 0.86 - -[limit] -context = 66_000 -output = 66_000 - -[modalities] -input = ["text", "image"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/zai-org/GLM-4.6.toml b/providers/siliconflow/models/zai-org/GLM-4.6.toml deleted file mode 100644 index ed8b60eb7..000000000 --- a/providers/siliconflow/models/zai-org/GLM-4.6.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "zai-org/GLM-4.6" -family = "glm" -release_date = "2025-10-04" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.5 -output = 1.9 - -[limit] -context = 205_000 -output = 205_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow/models/zai-org/GLM-4.6V.toml b/providers/siliconflow/models/zai-org/GLM-4.6V.toml deleted file mode 100644 index d54f6a0c2..000000000 --- a/providers/siliconflow/models/zai-org/GLM-4.6V.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "zai-org/GLM-4.6V" -family = "glm" -release_date = "2025-12-07" -last_updated = "2025-12-07" -attachment = true -reasoning = true -temperature = true -tool_call = true -structured_output = false -open_weights = false - -[cost] -input = 0.30 -output = 0.90 - -[limit] -context = 131_000 -output = 131_000 - -[modalities] -input = ["text","image"] -output = ["text"] diff --git a/providers/siliconflow/models/zai-org/GLM-4.7.toml b/providers/siliconflow/models/zai-org/GLM-4.7.toml index 418980662..e19d86df6 100644 --- a/providers/siliconflow/models/zai-org/GLM-4.7.toml +++ b/providers/siliconflow/models/zai-org/GLM-4.7.toml @@ -4,6 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/zai-org/GLM-5.1.toml b/providers/siliconflow/models/zai-org/GLM-5.1.toml index 915f853aa..8e6ba4178 100644 --- a/providers/siliconflow/models/zai-org/GLM-5.1.toml +++ b/providers/siliconflow/models/zai-org/GLM-5.1.toml @@ -4,6 +4,7 @@ release_date = "2026-04-08" last_updated = "2026-04-08" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/zai-org/GLM-5.toml b/providers/siliconflow/models/zai-org/GLM-5.toml index 9f64d79fe..0e1e78431 100644 --- a/providers/siliconflow/models/zai-org/GLM-5.toml +++ b/providers/siliconflow/models/zai-org/GLM-5.toml @@ -4,6 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml b/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml index c2f5a40a8..73b8ab9b4 100644 --- a/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml +++ b/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml @@ -4,6 +4,7 @@ release_date = "2026-04-01" last_updated = "2026-04-01" attachment = true reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true open_weights = false From 9989ca7b0ddbed97b8ff23f7ee784be706fe6151 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 20:09:42 -0500 Subject: [PATCH 2/8] [siliconflow] Correct reviewed reasoning controls --- .../core/script/compare-model-migrations.ts | 10 ++- packages/core/test/siliconflow.test.ts | 62 +++++++++++++++++++ .../models/Kwaipilot/KAT-Dev.toml | 22 ------- .../models/PaddlePaddle/PaddleOCR-VL.toml | 20 ------ .../models/Pro/MiniMaxAI/MiniMax-M2.1.toml | 22 ------- .../models/Pro/deepseek-ai/DeepSeek-R1.toml | 2 +- .../deepseek-ai/DeepSeek-V3.1-Terminus.toml | 2 +- .../models/Pro/deepseek-ai/DeepSeek-V3.2.toml | 2 +- .../Pro/moonshotai/Kimi-K2-Instruct-0905.toml | 22 ------- .../Pro/moonshotai/Kimi-K2-Thinking.toml | 23 ------- .../models/Pro/moonshotai/Kimi-K2.5.toml | 2 +- .../models/Pro/moonshotai/Kimi-K2.6.toml | 2 +- .../models/Pro/zai-org/GLM-4.7.toml | 2 +- .../models/Pro/zai-org/GLM-5.1.toml | 2 +- .../models/Pro/zai-org/GLM-5.toml | 2 +- .../siliconflow-cn/models/Qwen/Qwen3-14B.toml | 24 ++++++- .../Qwen/Qwen3-235B-A22B-Thinking-2507.toml | 24 ++++++- .../siliconflow-cn/models/Qwen/Qwen3-32B.toml | 24 ++++++- .../siliconflow-cn/models/Qwen/Qwen3-8B.toml | 24 ++++++- .../models/Qwen/Qwen3.5-122B-A10B.toml | 3 +- .../models/Qwen/Qwen3.5-27B.toml | 3 +- .../models/Qwen/Qwen3.5-35B-A3B.toml | 3 +- .../models/Qwen/Qwen3.5-397B-A17B.toml | 3 +- .../models/Qwen/Qwen3.5-4B.toml | 3 +- .../models/Qwen/Qwen3.5-9B.toml | 3 +- .../models/ascend-tribe/pangu-pro-moe.toml | 23 ------- .../models/deepseek-ai/DeepSeek-R1.toml | 24 ++++++- .../deepseek-ai/DeepSeek-V3.1-Terminus.toml | 24 ++++++- .../models/deepseek-ai/DeepSeek-V3.2.toml | 24 ++++++- .../models/deepseek-ai/DeepSeek-V4-Pro.toml | 2 +- .../models/stepfun-ai/Step-3.5-Flash.toml | 4 +- .../models/tencent/Hunyuan-A13B-Instruct.toml | 24 ++++++- .../Qwen/Qwen3-VL-235B-A22B-Thinking.toml | 4 +- .../Qwen/Qwen3-VL-30B-A3B-Thinking.toml | 4 +- .../models/Qwen/Qwen3-VL-32B-Thinking.toml | 4 +- .../models/deepseek-ai/deepseek-v4-flash.toml | 2 + .../models/deepseek-ai/deepseek-v4-pro.toml | 2 + .../models/tencent/Hy3-preview.toml | 2 +- .../models/zai-org/GLM-5V-Turbo.toml | 2 +- 39 files changed, 289 insertions(+), 167 deletions(-) create mode 100644 packages/core/test/siliconflow.test.ts delete mode 100644 providers/siliconflow-cn/models/Kwaipilot/KAT-Dev.toml delete mode 100644 providers/siliconflow-cn/models/PaddlePaddle/PaddleOCR-VL.toml delete mode 100644 providers/siliconflow-cn/models/Pro/MiniMaxAI/MiniMax-M2.1.toml delete mode 100644 providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Instruct-0905.toml delete mode 100644 providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml mode change 120000 => 100644 providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml mode change 120000 => 100644 providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml mode change 120000 => 100644 providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml mode change 120000 => 100644 providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml delete mode 100644 providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml mode change 120000 => 100644 providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml mode change 120000 => 100644 providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml mode change 120000 => 100644 providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml mode change 120000 => 100644 providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml diff --git a/packages/core/script/compare-model-migrations.ts b/packages/core/script/compare-model-migrations.ts index d4bacaac0..78021361d 100644 --- a/packages/core/script/compare-model-migrations.ts +++ b/packages/core/script/compare-model-migrations.ts @@ -1,7 +1,7 @@ #!/usr/bin/env bun import path from "node:path"; -import { cp, mkdir, rm, writeFile } from "node:fs/promises"; +import { cp, mkdir, rm, symlink, writeFile } from "node:fs/promises"; import { existsSync } from "node:fs"; import { tmpdir } from "node:os"; import { mergeDeep } from "remeda"; @@ -60,7 +60,13 @@ try { const contents = await new Response(show.stdout).text(); await mkdir(path.dirname(tempFilePath), { recursive: true }); - await writeFile(tempFilePath, contents); + const tree = await Bun.$`git ls-tree HEAD -- ${filePath}`.cwd(root).text(); + if (tree.startsWith("120000 ")) { + await rm(tempFilePath, { force: true }); + await symlink(contents.trim(), tempFilePath); + } else { + await writeFile(tempFilePath, contents); + } } const before = await generateForComparison(baselineProvidersPath); diff --git a/packages/core/test/siliconflow.test.ts b/packages/core/test/siliconflow.test.ts new file mode 100644 index 000000000..f0e49bdb3 --- /dev/null +++ b/packages/core/test/siliconflow.test.ts @@ -0,0 +1,62 @@ +import { expect, test } from "bun:test"; + +import { generateCatalog } from "../src/index.js"; + +test("SiliconFlow catalogs expose only verified reasoning controls", async () => { + const { providers } = await generateCatalog(process.cwd()); + const global = providers.siliconflow!.models; + const china = providers["siliconflow-cn"]!.models; + + for (const id of [ + "Pro/MiniMaxAI/MiniMax-M2.1", + "Pro/moonshotai/Kimi-K2-Thinking", + "Pro/moonshotai/Kimi-K2-Instruct-0905", + "Kwaipilot/KAT-Dev", + "PaddlePaddle/PaddleOCR-VL", + "ascend-tribe/pangu-pro-moe", + ]) { + expect(china[id]).toBeUndefined(); + } + + for (const id of [ + "Qwen/Qwen3.5-4B", + "Qwen/Qwen3.5-9B", + "Qwen/Qwen3.5-27B", + "Qwen/Qwen3.5-35B-A3B", + "Qwen/Qwen3.5-122B-A10B", + "Qwen/Qwen3.5-397B-A17B", + "Pro/zai-org/GLM-4.7", + "Pro/zai-org/GLM-5", + ]) { + expect(china[id]).toMatchObject({ + reasoning: true, + reasoning_options: [{ type: "toggle" }], + }); + } + + for (const model of Object.values(china)) { + expect(model.reasoning_options ?? []).not.toContainEqual( + expect.objectContaining({ type: "budget_tokens" }), + ); + } + + for (const id of [ + "Qwen/Qwen3-VL-32B-Thinking", + "Qwen/Qwen3-VL-235B-A22B-Thinking", + "Qwen/Qwen3-VL-30B-A3B-Thinking", + ]) { + expect(global[id]?.reasoning_options).toEqual([]); + } + + expect(global["zai-org/GLM-5V-Turbo"]?.reasoning_options).toEqual([ + { type: "toggle" }, + ]); + expect(global["tencent/Hy3-preview"]?.reasoning_options).toEqual([ + { type: "budget_tokens", min: 128, max: 32_768 }, + ]); + + for (const model of [...Object.values(global), ...Object.values(china)]) { + if (model.reasoning) expect(model.reasoning_options).toBeDefined(); + else expect(model.reasoning_options).toBeUndefined(); + } +}); diff --git a/providers/siliconflow-cn/models/Kwaipilot/KAT-Dev.toml b/providers/siliconflow-cn/models/Kwaipilot/KAT-Dev.toml deleted file mode 100644 index 4c3ba8d1f..000000000 --- a/providers/siliconflow-cn/models/Kwaipilot/KAT-Dev.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Kwaipilot/KAT-Dev" -family = "kat-coder" -release_date = "2025-09-27" -last_updated = "2026-01-16" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.2 -output = 0.6 - -[limit] -context = 128_000 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/siliconflow-cn/models/PaddlePaddle/PaddleOCR-VL.toml b/providers/siliconflow-cn/models/PaddlePaddle/PaddleOCR-VL.toml deleted file mode 100644 index bfbd7fcd4..000000000 --- a/providers/siliconflow-cn/models/PaddlePaddle/PaddleOCR-VL.toml +++ /dev/null @@ -1,20 +0,0 @@ -name = "PaddlePaddle/PaddleOCR-VL" -release_date = "2025-10-16" -last_updated = "2025-10-16" -attachment = true -reasoning = false -temperature = true -tool_call = false -open_weights = true - -[cost] -input = 0 -output = 0 - -[limit] -context = 16384 -output = 16384 - -[modalities] -input = ["text", "image"] -output = ["text"] diff --git a/providers/siliconflow-cn/models/Pro/MiniMaxAI/MiniMax-M2.1.toml b/providers/siliconflow-cn/models/Pro/MiniMaxAI/MiniMax-M2.1.toml deleted file mode 100644 index c00c35b75..000000000 --- a/providers/siliconflow-cn/models/Pro/MiniMaxAI/MiniMax-M2.1.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Pro/MiniMaxAI/MiniMax-M2.1" -family = "minimax" -release_date = "2025-12-23" -last_updated = "2025-12-23" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.3 -output = 1.2 - -[limit] -context = 197_000 -output = 131_000 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml index 76ddfd39d..f22746dcc 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml @@ -4,7 +4,7 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml index da59e66d9..f53373bbc 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.1-Terminus.toml @@ -4,7 +4,7 @@ release_date = "2025-09-29" last_updated = "2025-11-25" attachment = false reasoning = true -reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml index 15d88a675..2206c8983 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-V3.2.toml @@ -4,7 +4,7 @@ release_date = "2025-12-03" last_updated = "2025-12-03" attachment = false reasoning = true -reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Instruct-0905.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Instruct-0905.toml deleted file mode 100644 index e4a7bb807..000000000 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Instruct-0905.toml +++ /dev/null @@ -1,22 +0,0 @@ -name = "Pro/moonshotai/Kimi-K2-Instruct-0905" -family = "kimi" -release_date = "2025-09-08" -last_updated = "2025-11-25" -attachment = false -reasoning = false -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.4 -output = 2.0 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml deleted file mode 100644 index 92b5f3ce9..000000000 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2-Thinking.toml +++ /dev/null @@ -1,23 +0,0 @@ -name = "Pro/moonshotai/Kimi-K2-Thinking" -family = "kimi-thinking" -release_date = "2025-11-07" -last_updated = "2025-11-25" -attachment = false -reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[cost] -input = 0.55 -output = 2.50 - -[limit] -context = 262_000 -output = 262_000 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml index 6134afb87..5de2ef81c 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml @@ -4,7 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml index 00d91a63f..a5d829e04 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml @@ -4,7 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml index e13318f29..a50440895 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-4.7.toml @@ -4,7 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml index 7df419d8c..c8c316d38 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml @@ -4,7 +4,7 @@ release_date = "2026-04-08" last_updated = "2026-04-08" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml index d56833b0f..5aef9450d 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.toml @@ -4,7 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml deleted file mode 120000 index 27bb94c90..000000000 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/Qwen/Qwen3-14B.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml new file mode 100644 index 000000000..1ce5efbb3 --- /dev/null +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-14B.toml @@ -0,0 +1,23 @@ +name = "Qwen/Qwen3-14B" +family = "qwen" +release_date = "2025-04-30" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.07 +output = 0.28 + +[limit] +context = 131_000 +output = 131_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml deleted file mode 120000 index ac5468800..000000000 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml new file mode 100644 index 000000000..c79de720e --- /dev/null +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml @@ -0,0 +1,23 @@ +name = "Qwen/Qwen3-235B-A22B-Thinking-2507" +family = "qwen" +release_date = "2025-07-28" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.13 +output = 0.6 + +[limit] +context = 262_000 +output = 262_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml deleted file mode 120000 index 15343f319..000000000 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/Qwen/Qwen3-32B.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml new file mode 100644 index 000000000..fae72d8f5 --- /dev/null +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-32B.toml @@ -0,0 +1,23 @@ +name = "Qwen/Qwen3-32B" +family = "qwen" +release_date = "2025-04-30" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.14 +output = 0.57 + +[limit] +context = 131_000 +output = 131_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml deleted file mode 120000 index 7335503d2..000000000 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/Qwen/Qwen3-8B.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml new file mode 100644 index 000000000..7cf17962d --- /dev/null +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-8B.toml @@ -0,0 +1,23 @@ +name = "Qwen/Qwen3-8B" +family = "qwen" +release_date = "2025-04-30" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.06 +output = 0.06 + +[limit] +context = 131_000 +output = 131_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml index 20b34142d..5e296a568 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-122B-A10B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-02-26" last_updated = "2026-02-26" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml index 07d846cba..3ab9828ca 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-27B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-02-25" last_updated = "2026-02-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml index e5ae72711..0768a3afd 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-35B-A3B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-02-25" last_updated = "2026-02-25" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml index b58d158c0..212eb1461 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-397B-A17B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-02-16" last_updated = "2026-02-16" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml index bc3c63c5f..4d2a9b611 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-4B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-03-03" last_updated = "2026-03-03" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml b/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml index e82beeb62..0bcad0e62 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3.5-9B.toml @@ -3,7 +3,8 @@ family = "qwen" release_date = "2026-03-03" last_updated = "2026-03-03" attachment = false -reasoning = false +reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true knowledge = "2025-04" tool_call = true diff --git a/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml b/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml deleted file mode 100644 index b6f156770..000000000 --- a/providers/siliconflow-cn/models/ascend-tribe/pangu-pro-moe.toml +++ /dev/null @@ -1,23 +0,0 @@ -name = "ascend-tribe/pangu-pro-moe" -family = "pangu" -release_date = "2025-07-02" -last_updated = "2026-01-16" -attachment = false -reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] -temperature = true -tool_call = false -structured_output = true -open_weights = false - -[cost] -input = 0.2 -output = 0.6 - -[limit] -context = 128_000 -output = 128_000 - -[modalities] -input = ["text"] -output = ["text"] diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml deleted file mode 120000 index 2ae62156d..000000000 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/deepseek-ai/DeepSeek-R1.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml new file mode 100644 index 000000000..75b8b1d88 --- /dev/null +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml @@ -0,0 +1,23 @@ +name = "deepseek-ai/DeepSeek-R1" +family = "deepseek-thinking" +release_date = "2025-05-28" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.5 +output = 2.18 + +[limit] +context = 164_000 +output = 164_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml deleted file mode 120000 index f8fb37580..000000000 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml new file mode 100644 index 000000000..1b3e2f478 --- /dev/null +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.1-Terminus.toml @@ -0,0 +1,23 @@ +name = "deepseek-ai/DeepSeek-V3.1-Terminus" +family = "deepseek" +release_date = "2025-09-29" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.27 +output = 1.0 + +[limit] +context = 164_000 +output = 164_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml deleted file mode 120000 index 9abb6fc51..000000000 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/deepseek-ai/DeepSeek-V3.2.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml new file mode 100644 index 000000000..beb833af1 --- /dev/null +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V3.2.toml @@ -0,0 +1,23 @@ +name = "deepseek-ai/DeepSeek-V3.2" +family = "deepseek" +release_date = "2025-12-03" +last_updated = "2025-12-03" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.27 +output = 0.42 + +[limit] +context = 164_000 +output = 164_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml index f1bdffe06..3bdbb9706 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml @@ -4,7 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = false diff --git a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml index c218824ac..bc2a8c6c0 100644 --- a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,7 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true @@ -20,4 +20,4 @@ output = 262_000 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml b/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml deleted file mode 120000 index ff2dbf842..000000000 --- a/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml +++ /dev/null @@ -1 +0,0 @@ -../../../siliconflow/models/tencent/Hunyuan-A13B-Instruct.toml \ No newline at end of file diff --git a/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml b/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml new file mode 100644 index 000000000..06e065cdb --- /dev/null +++ b/providers/siliconflow-cn/models/tencent/Hunyuan-A13B-Instruct.toml @@ -0,0 +1,23 @@ +name = "tencent/Hunyuan-A13B-Instruct" +family = "hunyuan" +release_date = "2025-06-30" +last_updated = "2025-11-25" +attachment = false +reasoning = true +reasoning_options = [{ type = "toggle" }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 0.14 +output = 0.57 + +[limit] +context = 131_000 +output = 131_000 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml index 3c04849a9..5d974ed73 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml @@ -4,7 +4,7 @@ release_date = "2025-10-04" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true @@ -20,4 +20,4 @@ output = 262_000 [modalities] input = ["text", "image"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml index 3a4ee24c5..3a144cc7a 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml @@ -4,7 +4,7 @@ release_date = "2025-10-11" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true @@ -20,4 +20,4 @@ output = 262_000 [modalities] input = ["text", "image"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml index a52e87ec3..9ca55527e 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml @@ -4,7 +4,7 @@ release_date = "2025-10-21" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [] temperature = true tool_call = true structured_output = true @@ -20,4 +20,4 @@ output = 262_000 [modalities] input = ["text", "image"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml b/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml index e416485cb..744b022d3 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml +++ b/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml @@ -1,5 +1,7 @@ base_model = "deepseek/deepseek-v4-flash" +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] + [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml b/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml index 38f653159..a573cf5c2 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml +++ b/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml @@ -1,5 +1,7 @@ base_model = "deepseek/deepseek-v4-pro" +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] + [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/tencent/Hy3-preview.toml b/providers/siliconflow/models/tencent/Hy3-preview.toml index c036342b9..fddc3766f 100644 --- a/providers/siliconflow/models/tencent/Hy3-preview.toml +++ b/providers/siliconflow/models/tencent/Hy3-preview.toml @@ -1,7 +1,7 @@ base_model = "tencent/hy3-preview" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["none", "low", "high"] }, { type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] open_weights = false [cost] diff --git a/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml b/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml index 73b8ab9b4..46db09d4b 100644 --- a/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml +++ b/providers/siliconflow/models/zai-org/GLM-5V-Turbo.toml @@ -4,7 +4,7 @@ release_date = "2026-04-01" last_updated = "2026-04-01" attachment = true reasoning = true -reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 128, max = 32_768 }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true open_weights = false From f16291c5a9184d9aa7706c7fd8ff7507c1600713 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 20:11:16 -0500 Subject: [PATCH 3/8] [siliconflow] Remove deprecated GLM-4.7 --- .../siliconflow/models/zai-org/GLM-4.7.toml | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 providers/siliconflow/models/zai-org/GLM-4.7.toml diff --git a/providers/siliconflow/models/zai-org/GLM-4.7.toml b/providers/siliconflow/models/zai-org/GLM-4.7.toml deleted file mode 100644 index e19d86df6..000000000 --- a/providers/siliconflow/models/zai-org/GLM-4.7.toml +++ /dev/null @@ -1,26 +0,0 @@ -name = "zai-org/GLM-4.7" -family = "glm" -release_date = "2025-12-22" -last_updated = "2025-12-22" -attachment = false -reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] -temperature = true -tool_call = true -structured_output = true -open_weights = false - -[interleaved] -field = "reasoning_content" - -[cost] -input = 0.60 -output = 2.20 - -[limit] -context = 205_000 -output = 205_000 - -[modalities] -input = ["text"] -output = ["text"] From 1ce47258d4d42518b93a4d9e817ce5bd4b220e3d Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 20:16:07 -0500 Subject: [PATCH 4/8] [siliconflow] Restrict reasoning options to documented controls --- packages/core/test/siliconflow.test.ts | 132 ++++++++++++++---- .../models/Pro/deepseek-ai/DeepSeek-R1.toml | 1 - .../models/Pro/moonshotai/Kimi-K2.5.toml | 1 - .../models/Pro/moonshotai/Kimi-K2.6.toml | 1 - .../models/Pro/zai-org/GLM-5.1.toml | 1 - .../Qwen/Qwen3-235B-A22B-Thinking-2507.toml | 1 - .../models/deepseek-ai/DeepSeek-R1.toml | 1 - .../models/deepseek-ai/DeepSeek-V4-Pro.toml | 1 - .../models/stepfun-ai/Step-3.5-Flash.toml | 1 - .../Qwen/Qwen3-VL-235B-A22B-Thinking.toml | 1 - .../Qwen/Qwen3-VL-30B-A3B-Thinking.toml | 1 - .../models/Qwen/Qwen3-VL-32B-Thinking.toml | 1 - .../models/deepseek-ai/deepseek-v4-flash.toml | 2 - .../models/deepseek-ai/deepseek-v4-pro.toml | 2 - .../models/stepfun-ai/Step-3.5-Flash.toml | 3 +- 15 files changed, 103 insertions(+), 47 deletions(-) diff --git a/packages/core/test/siliconflow.test.ts b/packages/core/test/siliconflow.test.ts index f0e49bdb3..71e5a94e5 100644 --- a/packages/core/test/siliconflow.test.ts +++ b/packages/core/test/siliconflow.test.ts @@ -2,7 +2,7 @@ import { expect, test } from "bun:test"; import { generateCatalog } from "../src/index.js"; -test("SiliconFlow catalogs expose only verified reasoning controls", async () => { +test("SiliconFlow catalogs expose only positively documented reasoning controls", async () => { const { providers } = await generateCatalog(process.cwd()); const global = providers.siliconflow!.models; const china = providers["siliconflow-cn"]!.models; @@ -18,45 +18,117 @@ test("SiliconFlow catalogs expose only verified reasoning controls", async () => expect(china[id]).toBeUndefined(); } - for (const id of [ - "Qwen/Qwen3.5-4B", - "Qwen/Qwen3.5-9B", + expect(optionIDs(global, "budget_tokens")).toEqual([ + "Qwen/Qwen3-14B", + "Qwen/Qwen3-235B-A22B-Thinking-2507", + "Qwen/Qwen3-32B", + "Qwen/Qwen3-8B", + "deepseek-ai/DeepSeek-R1", + "deepseek-ai/DeepSeek-V3.1", + "deepseek-ai/DeepSeek-V3.1-Terminus", + "deepseek-ai/DeepSeek-V3.2", + "deepseek-ai/DeepSeek-V3.2-Exp", + "moonshotai/Kimi-K2.5", + "moonshotai/Kimi-K2.6", + "openai/gpt-oss-120b", + "tencent/Hunyuan-A13B-Instruct", + "tencent/Hy3-preview", + "zai-org/GLM-5", + "zai-org/GLM-5.1", + ]); + for (const id of optionIDs(global, "budget_tokens")) { + expect(global[id]?.reasoning_options).toContainEqual({ + type: "budget_tokens", + min: 128, + max: 32_768, + }); + } + + expect(optionIDs(global, "toggle")).toEqual([ + "Qwen/Qwen3-14B", + "Qwen/Qwen3-32B", + "Qwen/Qwen3-8B", + "deepseek-ai/DeepSeek-V3.1", + "deepseek-ai/DeepSeek-V3.1-Terminus", + "deepseek-ai/DeepSeek-V3.2", + "deepseek-ai/DeepSeek-V3.2-Exp", + "tencent/Hunyuan-A13B-Instruct", + "zai-org/GLM-5V-Turbo", + ]); + expect(optionIDs(china, "toggle")).toEqual([ + "Pro/deepseek-ai/DeepSeek-V3.1-Terminus", + "Pro/deepseek-ai/DeepSeek-V3.2", + "Pro/zai-org/GLM-4.7", + "Pro/zai-org/GLM-5", + "Qwen/Qwen3-14B", + "Qwen/Qwen3-32B", + "Qwen/Qwen3-8B", + "Qwen/Qwen3.5-122B-A10B", "Qwen/Qwen3.5-27B", "Qwen/Qwen3.5-35B-A3B", - "Qwen/Qwen3.5-122B-A10B", "Qwen/Qwen3.5-397B-A17B", - "Pro/zai-org/GLM-4.7", - "Pro/zai-org/GLM-5", - ]) { - expect(china[id]).toMatchObject({ - reasoning: true, - reasoning_options: [{ type: "toggle" }], - }); - } + "Qwen/Qwen3.5-4B", + "Qwen/Qwen3.5-9B", + "deepseek-ai/DeepSeek-V3.1-Terminus", + "deepseek-ai/DeepSeek-V3.2", + "tencent/Hunyuan-A13B-Instruct", + ]); - for (const model of Object.values(china)) { - expect(model.reasoning_options ?? []).not.toContainEqual( - expect.objectContaining({ type: "budget_tokens" }), - ); - } + expect(optionIDs(china, "budget_tokens")).toEqual([]); + expect(optionIDs(global, "effort")).toEqual([]); + expect(optionIDs(china, "effort")).toEqual([]); + expect(fixedOptionIDs(global)).toEqual([]); + expect(fixedOptionIDs(china)).toEqual([]); - for (const id of [ - "Qwen/Qwen3-VL-32B-Thinking", + expect(unresolvedReasoningIDs(global)).toEqual([ "Qwen/Qwen3-VL-235B-A22B-Thinking", "Qwen/Qwen3-VL-30B-A3B-Thinking", - ]) { - expect(global[id]?.reasoning_options).toEqual([]); - } - - expect(global["zai-org/GLM-5V-Turbo"]?.reasoning_options).toEqual([ - { type: "toggle" }, + "Qwen/Qwen3-VL-32B-Thinking", + "deepseek-ai/deepseek-v4-flash", + "deepseek-ai/deepseek-v4-pro", + "stepfun-ai/Step-3.5-Flash", ]); - expect(global["tencent/Hy3-preview"]?.reasoning_options).toEqual([ - { type: "budget_tokens", min: 128, max: 32_768 }, + expect(unresolvedReasoningIDs(china)).toEqual([ + "Pro/deepseek-ai/DeepSeek-R1", + "Pro/moonshotai/Kimi-K2.5", + "Pro/moonshotai/Kimi-K2.6", + "Pro/zai-org/GLM-5.1", + "Qwen/Qwen3-235B-A22B-Thinking-2507", + "Qwen/Qwen3-VL-235B-A22B-Thinking", + "Qwen/Qwen3-VL-30B-A3B-Thinking", + "Qwen/Qwen3-VL-32B-Thinking", + "deepseek-ai/DeepSeek-R1", + "deepseek-ai/DeepSeek-V4-Pro", + "stepfun-ai/Step-3.5-Flash", ]); for (const model of [...Object.values(global), ...Object.values(china)]) { - if (model.reasoning) expect(model.reasoning_options).toBeDefined(); - else expect(model.reasoning_options).toBeUndefined(); + if (!model.reasoning) expect(model.reasoning_options).toBeUndefined(); } }); + +function optionIDs( + models: Record }>, + type: string, +) { + return Object.entries(models) + .filter(([, model]) => model.reasoning_options?.some((option) => option.type === type)) + .map(([id]) => id) + .sort(); +} + +function fixedOptionIDs(models: Record) { + return Object.entries(models) + .filter(([, model]) => model.reasoning_options?.length === 0) + .map(([id]) => id) + .sort(); +} + +function unresolvedReasoningIDs( + models: Record, +) { + return Object.entries(models) + .filter(([, model]) => model.reasoning && model.reasoning_options === undefined) + .map(([id]) => id) + .sort(); +} diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml index f22746dcc..6e169c5c8 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml @@ -4,7 +4,6 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml index 5de2ef81c..37457adb2 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml @@ -4,7 +4,6 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml index a5d829e04..85b0e9bf0 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml @@ -4,7 +4,6 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml index c8c316d38..4f7f68433 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml @@ -4,7 +4,6 @@ release_date = "2026-04-08" last_updated = "2026-04-08" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml index c79de720e..b72eb48dd 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml @@ -4,7 +4,6 @@ release_date = "2025-07-28" last_updated = "2025-11-25" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml index 75b8b1d88..48b619cd1 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml @@ -4,7 +4,6 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml index 3bdbb9706..8ba8153a6 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml @@ -4,7 +4,6 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = false diff --git a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml index bc2a8c6c0..22c5d0df0 100644 --- a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,7 +4,6 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml index 5d974ed73..0af8e4db1 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml @@ -4,7 +4,6 @@ release_date = "2025-10-04" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml index 3a144cc7a..77cb78acb 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml @@ -4,7 +4,6 @@ release_date = "2025-10-11" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml index 9ca55527e..e47b31554 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml @@ -4,7 +4,6 @@ release_date = "2025-10-21" last_updated = "2025-11-25" attachment = true reasoning = true -reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml b/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml index 744b022d3..e416485cb 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml +++ b/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml @@ -1,7 +1,5 @@ base_model = "deepseek/deepseek-v4-flash" -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] - [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml b/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml index a573cf5c2..38f653159 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml +++ b/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml @@ -1,7 +1,5 @@ base_model = "deepseek/deepseek-v4-pro" -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] - [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml index c218824ac..22c5d0df0 100644 --- a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,7 +4,6 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true -reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] temperature = true tool_call = true structured_output = true @@ -20,4 +19,4 @@ output = 262_000 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] From 8a17427a2271945156cdf7b0a58e3e472407c538 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 23:11:55 -0500 Subject: [PATCH 5/8] [siliconflow] Restore active exact model IDs --- packages/core/test/siliconflow.test.ts | 17 ++++++++++-- ...k-v4-flash.toml => DeepSeek-V4-Flash.toml} | 2 ++ ...pseek-v4-pro.toml => DeepSeek-V4-Pro.toml} | 2 ++ .../siliconflow/models/zai-org/GLM-4.7.toml | 26 +++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) rename providers/siliconflow/models/deepseek-ai/{deepseek-v4-flash.toml => DeepSeek-V4-Flash.toml} (64%) rename providers/siliconflow/models/deepseek-ai/{deepseek-v4-pro.toml => DeepSeek-V4-Pro.toml} (64%) create mode 100644 providers/siliconflow/models/zai-org/GLM-4.7.toml diff --git a/packages/core/test/siliconflow.test.ts b/packages/core/test/siliconflow.test.ts index 71e5a94e5..1e1637b27 100644 --- a/packages/core/test/siliconflow.test.ts +++ b/packages/core/test/siliconflow.test.ts @@ -7,6 +7,18 @@ test("SiliconFlow catalogs expose only positively documented reasoning controls" const global = providers.siliconflow!.models; const china = providers["siliconflow-cn"]!.models; + expect(Object.keys(global)).toHaveLength(49); + expect(Object.keys(china)).toHaveLength(46); + expect(global["zai-org/GLM-4.7"]).toMatchObject({ + name: "zai-org/GLM-4.7", + reasoning: true, + cost: { input: 0.6, output: 2.2 }, + }); + expect(global["deepseek-ai/DeepSeek-V4-Flash"]).toBeDefined(); + expect(global["deepseek-ai/DeepSeek-V4-Pro"]).toBeDefined(); + expect(global["deepseek-ai/deepseek-v4-flash"]).toBeUndefined(); + expect(global["deepseek-ai/deepseek-v4-pro"]).toBeUndefined(); + for (const id of [ "Pro/MiniMaxAI/MiniMax-M2.1", "Pro/moonshotai/Kimi-K2-Thinking", @@ -28,11 +40,14 @@ test("SiliconFlow catalogs expose only positively documented reasoning controls" "deepseek-ai/DeepSeek-V3.1-Terminus", "deepseek-ai/DeepSeek-V3.2", "deepseek-ai/DeepSeek-V3.2-Exp", + "deepseek-ai/DeepSeek-V4-Flash", + "deepseek-ai/DeepSeek-V4-Pro", "moonshotai/Kimi-K2.5", "moonshotai/Kimi-K2.6", "openai/gpt-oss-120b", "tencent/Hunyuan-A13B-Instruct", "tencent/Hy3-preview", + "zai-org/GLM-4.7", "zai-org/GLM-5", "zai-org/GLM-5.1", ]); @@ -84,8 +99,6 @@ test("SiliconFlow catalogs expose only positively documented reasoning controls" "Qwen/Qwen3-VL-235B-A22B-Thinking", "Qwen/Qwen3-VL-30B-A3B-Thinking", "Qwen/Qwen3-VL-32B-Thinking", - "deepseek-ai/deepseek-v4-flash", - "deepseek-ai/deepseek-v4-pro", "stepfun-ai/Step-3.5-Flash", ]); expect(unresolvedReasoningIDs(china)).toEqual([ diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Flash.toml similarity index 64% rename from providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml rename to providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Flash.toml index e416485cb..744b022d3 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-flash.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Flash.toml @@ -1,5 +1,7 @@ base_model = "deepseek/deepseek-v4-flash" +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] + [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml b/providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Pro.toml similarity index 64% rename from providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml rename to providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Pro.toml index 38f653159..a573cf5c2 100644 --- a/providers/siliconflow/models/deepseek-ai/deepseek-v4-pro.toml +++ b/providers/siliconflow/models/deepseek-ai/DeepSeek-V4-Pro.toml @@ -1,5 +1,7 @@ base_model = "deepseek/deepseek-v4-pro" +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] + [interleaved] field = "reasoning_content" diff --git a/providers/siliconflow/models/zai-org/GLM-4.7.toml b/providers/siliconflow/models/zai-org/GLM-4.7.toml new file mode 100644 index 000000000..e19d86df6 --- /dev/null +++ b/providers/siliconflow/models/zai-org/GLM-4.7.toml @@ -0,0 +1,26 @@ +name = "zai-org/GLM-4.7" +family = "glm" +release_date = "2025-12-22" +last_updated = "2025-12-22" +attachment = false +reasoning = true +reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }] +temperature = true +tool_call = true +structured_output = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.60 +output = 2.20 + +[limit] +context = 205_000 +output = 205_000 + +[modalities] +input = ["text"] +output = ["text"] From 2d718e100d7199fe237328b462e476b2c25ab1c7 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 10 Jun 2026 23:13:46 -0500 Subject: [PATCH 6/8] [siliconflow] Correct GLM-4.7 input price --- packages/core/test/siliconflow.test.ts | 2 +- providers/siliconflow/models/zai-org/GLM-4.7.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/test/siliconflow.test.ts b/packages/core/test/siliconflow.test.ts index 1e1637b27..51a30bd33 100644 --- a/packages/core/test/siliconflow.test.ts +++ b/packages/core/test/siliconflow.test.ts @@ -12,7 +12,7 @@ test("SiliconFlow catalogs expose only positively documented reasoning controls" expect(global["zai-org/GLM-4.7"]).toMatchObject({ name: "zai-org/GLM-4.7", reasoning: true, - cost: { input: 0.6, output: 2.2 }, + cost: { input: 0.42, output: 2.2 }, }); expect(global["deepseek-ai/DeepSeek-V4-Flash"]).toBeDefined(); expect(global["deepseek-ai/DeepSeek-V4-Pro"]).toBeDefined(); diff --git a/providers/siliconflow/models/zai-org/GLM-4.7.toml b/providers/siliconflow/models/zai-org/GLM-4.7.toml index e19d86df6..859c54215 100644 --- a/providers/siliconflow/models/zai-org/GLM-4.7.toml +++ b/providers/siliconflow/models/zai-org/GLM-4.7.toml @@ -14,7 +14,7 @@ open_weights = false field = "reasoning_content" [cost] -input = 0.60 +input = 0.42 output = 2.20 [limit] From bd3a3bee0f0c0bc1343ce610aa373fd8cf828f5d Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 11 Jun 2026 12:00:45 -0500 Subject: [PATCH 7/8] [siliconflow] Remove catalog regression test --- packages/core/test/siliconflow.test.ts | 147 ------------------------- 1 file changed, 147 deletions(-) delete mode 100644 packages/core/test/siliconflow.test.ts diff --git a/packages/core/test/siliconflow.test.ts b/packages/core/test/siliconflow.test.ts deleted file mode 100644 index 51a30bd33..000000000 --- a/packages/core/test/siliconflow.test.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { expect, test } from "bun:test"; - -import { generateCatalog } from "../src/index.js"; - -test("SiliconFlow catalogs expose only positively documented reasoning controls", async () => { - const { providers } = await generateCatalog(process.cwd()); - const global = providers.siliconflow!.models; - const china = providers["siliconflow-cn"]!.models; - - expect(Object.keys(global)).toHaveLength(49); - expect(Object.keys(china)).toHaveLength(46); - expect(global["zai-org/GLM-4.7"]).toMatchObject({ - name: "zai-org/GLM-4.7", - reasoning: true, - cost: { input: 0.42, output: 2.2 }, - }); - expect(global["deepseek-ai/DeepSeek-V4-Flash"]).toBeDefined(); - expect(global["deepseek-ai/DeepSeek-V4-Pro"]).toBeDefined(); - expect(global["deepseek-ai/deepseek-v4-flash"]).toBeUndefined(); - expect(global["deepseek-ai/deepseek-v4-pro"]).toBeUndefined(); - - for (const id of [ - "Pro/MiniMaxAI/MiniMax-M2.1", - "Pro/moonshotai/Kimi-K2-Thinking", - "Pro/moonshotai/Kimi-K2-Instruct-0905", - "Kwaipilot/KAT-Dev", - "PaddlePaddle/PaddleOCR-VL", - "ascend-tribe/pangu-pro-moe", - ]) { - expect(china[id]).toBeUndefined(); - } - - expect(optionIDs(global, "budget_tokens")).toEqual([ - "Qwen/Qwen3-14B", - "Qwen/Qwen3-235B-A22B-Thinking-2507", - "Qwen/Qwen3-32B", - "Qwen/Qwen3-8B", - "deepseek-ai/DeepSeek-R1", - "deepseek-ai/DeepSeek-V3.1", - "deepseek-ai/DeepSeek-V3.1-Terminus", - "deepseek-ai/DeepSeek-V3.2", - "deepseek-ai/DeepSeek-V3.2-Exp", - "deepseek-ai/DeepSeek-V4-Flash", - "deepseek-ai/DeepSeek-V4-Pro", - "moonshotai/Kimi-K2.5", - "moonshotai/Kimi-K2.6", - "openai/gpt-oss-120b", - "tencent/Hunyuan-A13B-Instruct", - "tencent/Hy3-preview", - "zai-org/GLM-4.7", - "zai-org/GLM-5", - "zai-org/GLM-5.1", - ]); - for (const id of optionIDs(global, "budget_tokens")) { - expect(global[id]?.reasoning_options).toContainEqual({ - type: "budget_tokens", - min: 128, - max: 32_768, - }); - } - - expect(optionIDs(global, "toggle")).toEqual([ - "Qwen/Qwen3-14B", - "Qwen/Qwen3-32B", - "Qwen/Qwen3-8B", - "deepseek-ai/DeepSeek-V3.1", - "deepseek-ai/DeepSeek-V3.1-Terminus", - "deepseek-ai/DeepSeek-V3.2", - "deepseek-ai/DeepSeek-V3.2-Exp", - "tencent/Hunyuan-A13B-Instruct", - "zai-org/GLM-5V-Turbo", - ]); - expect(optionIDs(china, "toggle")).toEqual([ - "Pro/deepseek-ai/DeepSeek-V3.1-Terminus", - "Pro/deepseek-ai/DeepSeek-V3.2", - "Pro/zai-org/GLM-4.7", - "Pro/zai-org/GLM-5", - "Qwen/Qwen3-14B", - "Qwen/Qwen3-32B", - "Qwen/Qwen3-8B", - "Qwen/Qwen3.5-122B-A10B", - "Qwen/Qwen3.5-27B", - "Qwen/Qwen3.5-35B-A3B", - "Qwen/Qwen3.5-397B-A17B", - "Qwen/Qwen3.5-4B", - "Qwen/Qwen3.5-9B", - "deepseek-ai/DeepSeek-V3.1-Terminus", - "deepseek-ai/DeepSeek-V3.2", - "tencent/Hunyuan-A13B-Instruct", - ]); - - expect(optionIDs(china, "budget_tokens")).toEqual([]); - expect(optionIDs(global, "effort")).toEqual([]); - expect(optionIDs(china, "effort")).toEqual([]); - expect(fixedOptionIDs(global)).toEqual([]); - expect(fixedOptionIDs(china)).toEqual([]); - - expect(unresolvedReasoningIDs(global)).toEqual([ - "Qwen/Qwen3-VL-235B-A22B-Thinking", - "Qwen/Qwen3-VL-30B-A3B-Thinking", - "Qwen/Qwen3-VL-32B-Thinking", - "stepfun-ai/Step-3.5-Flash", - ]); - expect(unresolvedReasoningIDs(china)).toEqual([ - "Pro/deepseek-ai/DeepSeek-R1", - "Pro/moonshotai/Kimi-K2.5", - "Pro/moonshotai/Kimi-K2.6", - "Pro/zai-org/GLM-5.1", - "Qwen/Qwen3-235B-A22B-Thinking-2507", - "Qwen/Qwen3-VL-235B-A22B-Thinking", - "Qwen/Qwen3-VL-30B-A3B-Thinking", - "Qwen/Qwen3-VL-32B-Thinking", - "deepseek-ai/DeepSeek-R1", - "deepseek-ai/DeepSeek-V4-Pro", - "stepfun-ai/Step-3.5-Flash", - ]); - - for (const model of [...Object.values(global), ...Object.values(china)]) { - if (!model.reasoning) expect(model.reasoning_options).toBeUndefined(); - } -}); - -function optionIDs( - models: Record }>, - type: string, -) { - return Object.entries(models) - .filter(([, model]) => model.reasoning_options?.some((option) => option.type === type)) - .map(([id]) => id) - .sort(); -} - -function fixedOptionIDs(models: Record) { - return Object.entries(models) - .filter(([, model]) => model.reasoning_options?.length === 0) - .map(([id]) => id) - .sort(); -} - -function unresolvedReasoningIDs( - models: Record, -) { - return Object.entries(models) - .filter(([, model]) => model.reasoning && model.reasoning_options === undefined) - .map(([id]) => id) - .sort(); -} From 426194a9aedcb03810f204c13eeeea590d9ca2d0 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 11 Jun 2026 12:04:58 -0500 Subject: [PATCH 8/8] [siliconflow] Mark unresolved reasoning controls fixed --- providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml | 1 + providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml | 1 + providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml | 1 + providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml | 1 + .../models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml | 1 + providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml | 1 + providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml | 1 + providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml | 1 + .../siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml | 1 + providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml | 1 + providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml | 1 + providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml | 1 + 12 files changed, 12 insertions(+) diff --git a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml index 6e169c5c8..f22746dcc 100644 --- a/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/Pro/deepseek-ai/DeepSeek-R1.toml @@ -4,6 +4,7 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml index 37457adb2..5de2ef81c 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.5.toml @@ -4,6 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml index 85b0e9bf0..a5d829e04 100644 --- a/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml +++ b/providers/siliconflow-cn/models/Pro/moonshotai/Kimi-K2.6.toml @@ -4,6 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml index 4f7f68433..c8c316d38 100644 --- a/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml +++ b/providers/siliconflow-cn/models/Pro/zai-org/GLM-5.1.toml @@ -4,6 +4,7 @@ release_date = "2026-04-08" last_updated = "2026-04-08" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml index b72eb48dd..c79de720e 100644 --- a/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml +++ b/providers/siliconflow-cn/models/Qwen/Qwen3-235B-A22B-Thinking-2507.toml @@ -4,6 +4,7 @@ release_date = "2025-07-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml index 48b619cd1..75b8b1d88 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-R1.toml @@ -4,6 +4,7 @@ release_date = "2025-05-28" last_updated = "2025-11-25" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml index 8ba8153a6..3bdbb9706 100644 --- a/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml +++ b/providers/siliconflow-cn/models/deepseek-ai/DeepSeek-V4-Pro.toml @@ -4,6 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = false diff --git a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml index 22c5d0df0..bc2a8c6c0 100644 --- a/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow-cn/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml index 0af8e4db1..5d974ed73 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-235B-A22B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-04" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml index 77cb78acb..3a144cc7a 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-30B-A3B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-11" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml index e47b31554..9ca55527e 100644 --- a/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml +++ b/providers/siliconflow/models/Qwen/Qwen3-VL-32B-Thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-10-21" last_updated = "2025-11-25" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml index 22c5d0df0..bc2a8c6c0 100644 --- a/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml +++ b/providers/siliconflow/models/stepfun-ai/Step-3.5-Flash.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true