From e428ad701d76f086e02076d7d0d6cc9b40b9b3e6 Mon Sep 17 00:00:00 2001 From: netphils Date: Mon, 14 Sep 2026 16:35:05 +0800 Subject: [PATCH] feat(alibaba-token-plan-cn): add DeepSeek V4.1 Flash --- .../models/deepseek-v4.1-flash.toml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 providers/alibaba-token-plan-cn/models/deepseek-v4.1-flash.toml diff --git a/providers/alibaba-token-plan-cn/models/deepseek-v4.1-flash.toml b/providers/alibaba-token-plan-cn/models/deepseek-v4.1-flash.toml new file mode 100644 index 00000000000..7bb457f885e --- /dev/null +++ b/providers/alibaba-token-plan-cn/models/deepseek-v4.1-flash.toml @@ -0,0 +1,20 @@ +# Reasoning HTTP format (accessed 2026-09-14): +# Toggle: enable_thinking = true|false. Chat Completions `reasoning_effort` +# accepts low, high (default), and max; medium and xhigh map to high. +# Reasoning streams on `reasoning_content`. +# Model availability: Token Plan model list (China, Beijing region only). +# Sources: +# https://platform.qianwenai.com/docs/api-reference/chat/openai-chat +# https://help.aliyun.com/zh/model-studio/token-plan-personal-overview +base_model = "deepseek/deepseek-v4.1-flash" + +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0