feat(03-01): add 8 Tier 4 Chinese providers (DeepSeek, Zhipu, Moonshot, Qwen, Baidu, ByteDance, 01.AI, MiniMax)
- DeepSeek, Moonshot, Qwen use documented sk- prefix patterns - Zhipu, Baidu, ByteDance use keyword-only detection (no documented key format) - All dual-located in providers/ and pkg/providers/definitions/
This commit is contained in:
19
pkg/providers/definitions/01ai.yaml
Normal file
19
pkg/providers/definitions/01ai.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: 01ai
|
||||||
|
display_name: 01.AI (Yi)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "01.ai"
|
||||||
|
- "yi-large"
|
||||||
|
- "yi-34b"
|
||||||
|
- "YI_API_KEY"
|
||||||
|
- "api.lingyiwanwu.com"
|
||||||
|
- "lingyiwanwu"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.lingyiwanwu.com/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
19
pkg/providers/definitions/baidu.yaml
Normal file
19
pkg/providers/definitions/baidu.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: baidu
|
||||||
|
display_name: Baidu ERNIE (Wenxin)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "wenxin"
|
||||||
|
- "ernie"
|
||||||
|
- "BAIDU_API_KEY"
|
||||||
|
- "QIANFAN_AK"
|
||||||
|
- "QIANFAN_SK"
|
||||||
|
- "aip.baidubce.com"
|
||||||
|
- "qianfan"
|
||||||
|
verify:
|
||||||
|
method: POST
|
||||||
|
url: ""
|
||||||
|
headers: {}
|
||||||
|
valid_status: []
|
||||||
|
invalid_status: []
|
||||||
18
pkg/providers/definitions/bytedance.yaml
Normal file
18
pkg/providers/definitions/bytedance.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: bytedance
|
||||||
|
display_name: ByteDance Doubao (Volcengine)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "doubao"
|
||||||
|
- "volcengine"
|
||||||
|
- "VOLC_ACCESSKEY"
|
||||||
|
- "VOLC_SECRETKEY"
|
||||||
|
- "ARK_API_KEY"
|
||||||
|
- "ark.cn-beijing.volces.com"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: ""
|
||||||
|
headers: {}
|
||||||
|
valid_status: []
|
||||||
|
invalid_status: []
|
||||||
22
pkg/providers/definitions/deepseek.yaml
Normal file
22
pkg/providers/definitions/deepseek.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: deepseek
|
||||||
|
display_name: DeepSeek
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "deepseek"
|
||||||
|
- "DEEPSEEK_API_KEY"
|
||||||
|
- "api.deepseek.com"
|
||||||
|
- "deepseek-chat"
|
||||||
|
- "deepseek-coder"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[a-f0-9]{32}'
|
||||||
|
entropy_min: 3.5
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.deepseek.com/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
18
pkg/providers/definitions/minimax.yaml
Normal file
18
pkg/providers/definitions/minimax.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: minimax
|
||||||
|
display_name: MiniMax
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "minimax"
|
||||||
|
- "MINIMAX_API_KEY"
|
||||||
|
- "MINIMAX_GROUP_ID"
|
||||||
|
- "api.minimax.chat"
|
||||||
|
- "abab6"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.minimax.chat/v1/text/chatcompletion_v2
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200, 400]
|
||||||
|
invalid_status: [401, 403]
|
||||||
22
pkg/providers/definitions/moonshot.yaml
Normal file
22
pkg/providers/definitions/moonshot.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: moonshot
|
||||||
|
display_name: Moonshot AI (Kimi)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "moonshot"
|
||||||
|
- "MOONSHOT_API_KEY"
|
||||||
|
- "api.moonshot.cn"
|
||||||
|
- "kimi"
|
||||||
|
- "moonshot-v1"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[A-Za-z0-9]{48}'
|
||||||
|
entropy_min: 4.0
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.moonshot.cn/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
23
pkg/providers/definitions/qwen.yaml
Normal file
23
pkg/providers/definitions/qwen.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: qwen
|
||||||
|
display_name: Alibaba Qwen (DashScope)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "dashscope"
|
||||||
|
- "DASHSCOPE_API_KEY"
|
||||||
|
- "qwen"
|
||||||
|
- "qwen-turbo"
|
||||||
|
- "qwen-max"
|
||||||
|
- "dashscope.aliyuncs.com"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[a-f0-9]{32}'
|
||||||
|
entropy_min: 3.5
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200, 400]
|
||||||
|
invalid_status: [401, 403]
|
||||||
20
pkg/providers/definitions/zhipu.yaml
Normal file
20
pkg/providers/definitions/zhipu.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: zhipu
|
||||||
|
display_name: Zhipu AI (GLM)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "zhipu"
|
||||||
|
- "ZHIPU_API_KEY"
|
||||||
|
- "ZHIPUAI_API_KEY"
|
||||||
|
- "bigmodel.cn"
|
||||||
|
- "open.bigmodel.cn"
|
||||||
|
- "glm-4"
|
||||||
|
- "chatglm"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://open.bigmodel.cn/api/paas/v4/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
19
providers/01ai.yaml
Normal file
19
providers/01ai.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: 01ai
|
||||||
|
display_name: 01.AI (Yi)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "01.ai"
|
||||||
|
- "yi-large"
|
||||||
|
- "yi-34b"
|
||||||
|
- "YI_API_KEY"
|
||||||
|
- "api.lingyiwanwu.com"
|
||||||
|
- "lingyiwanwu"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.lingyiwanwu.com/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
19
providers/baidu.yaml
Normal file
19
providers/baidu.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: baidu
|
||||||
|
display_name: Baidu ERNIE (Wenxin)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "wenxin"
|
||||||
|
- "ernie"
|
||||||
|
- "BAIDU_API_KEY"
|
||||||
|
- "QIANFAN_AK"
|
||||||
|
- "QIANFAN_SK"
|
||||||
|
- "aip.baidubce.com"
|
||||||
|
- "qianfan"
|
||||||
|
verify:
|
||||||
|
method: POST
|
||||||
|
url: ""
|
||||||
|
headers: {}
|
||||||
|
valid_status: []
|
||||||
|
invalid_status: []
|
||||||
18
providers/bytedance.yaml
Normal file
18
providers/bytedance.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: bytedance
|
||||||
|
display_name: ByteDance Doubao (Volcengine)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "doubao"
|
||||||
|
- "volcengine"
|
||||||
|
- "VOLC_ACCESSKEY"
|
||||||
|
- "VOLC_SECRETKEY"
|
||||||
|
- "ARK_API_KEY"
|
||||||
|
- "ark.cn-beijing.volces.com"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: ""
|
||||||
|
headers: {}
|
||||||
|
valid_status: []
|
||||||
|
invalid_status: []
|
||||||
22
providers/deepseek.yaml
Normal file
22
providers/deepseek.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: deepseek
|
||||||
|
display_name: DeepSeek
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "deepseek"
|
||||||
|
- "DEEPSEEK_API_KEY"
|
||||||
|
- "api.deepseek.com"
|
||||||
|
- "deepseek-chat"
|
||||||
|
- "deepseek-coder"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[a-f0-9]{32}'
|
||||||
|
entropy_min: 3.5
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.deepseek.com/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
18
providers/minimax.yaml
Normal file
18
providers/minimax.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: minimax
|
||||||
|
display_name: MiniMax
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "minimax"
|
||||||
|
- "MINIMAX_API_KEY"
|
||||||
|
- "MINIMAX_GROUP_ID"
|
||||||
|
- "api.minimax.chat"
|
||||||
|
- "abab6"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.minimax.chat/v1/text/chatcompletion_v2
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200, 400]
|
||||||
|
invalid_status: [401, 403]
|
||||||
22
providers/moonshot.yaml
Normal file
22
providers/moonshot.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: moonshot
|
||||||
|
display_name: Moonshot AI (Kimi)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "moonshot"
|
||||||
|
- "MOONSHOT_API_KEY"
|
||||||
|
- "api.moonshot.cn"
|
||||||
|
- "kimi"
|
||||||
|
- "moonshot-v1"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[A-Za-z0-9]{48}'
|
||||||
|
entropy_min: 4.0
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://api.moonshot.cn/v1/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
23
providers/qwen.yaml
Normal file
23
providers/qwen.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: qwen
|
||||||
|
display_name: Alibaba Qwen (DashScope)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "dashscope"
|
||||||
|
- "DASHSCOPE_API_KEY"
|
||||||
|
- "qwen"
|
||||||
|
- "qwen-turbo"
|
||||||
|
- "qwen-max"
|
||||||
|
- "dashscope.aliyuncs.com"
|
||||||
|
patterns:
|
||||||
|
- regex: 'sk-[a-f0-9]{32}'
|
||||||
|
entropy_min: 3.5
|
||||||
|
confidence: medium
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200, 400]
|
||||||
|
invalid_status: [401, 403]
|
||||||
20
providers/zhipu.yaml
Normal file
20
providers/zhipu.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
format_version: 1
|
||||||
|
name: zhipu
|
||||||
|
display_name: Zhipu AI (GLM)
|
||||||
|
tier: 4
|
||||||
|
last_verified: "2026-04-05"
|
||||||
|
keywords:
|
||||||
|
- "zhipu"
|
||||||
|
- "ZHIPU_API_KEY"
|
||||||
|
- "ZHIPUAI_API_KEY"
|
||||||
|
- "bigmodel.cn"
|
||||||
|
- "open.bigmodel.cn"
|
||||||
|
- "glm-4"
|
||||||
|
- "chatglm"
|
||||||
|
verify:
|
||||||
|
method: GET
|
||||||
|
url: https://open.bigmodel.cn/api/paas/v4/models
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer {KEY}"
|
||||||
|
valid_status: [200]
|
||||||
|
invalid_status: [401, 403]
|
||||||
Reference in New Issue
Block a user