mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
8b9cac1 swapped alicode-intl to the DashScope compatible-mode endpoint to
fix #2591 for standard DashScope keys, but that broke Coding Plan keys
(sk-sp-...) which only work on coding-intl.dashscope.aliyuncs.com. The two
key types use two different hosts and are not interchangeable.
- alicode-intl: revert to coding-intl endpoint (Coding Plan keys)
- alims-intl: new provider for dashscope-intl/compatible-mode (standard keys)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
1.0 KiB
JavaScript
33 lines
1.0 KiB
JavaScript
// Model Studio Intl — standard DashScope API keys (sk-...), NOT Coding Plan keys.
|
|
// Sibling of alicode-intl (Coding Plan). Two key types use two different hosts.
|
|
export default {
|
|
id: "alims-intl",
|
|
priority: 11,
|
|
alias: "alims-intl",
|
|
display: {
|
|
name: "Alibaba Studio",
|
|
icon: "cloud",
|
|
color: "#FF6A00",
|
|
textIcon: "ALi",
|
|
website: "https://modelstudio.console.alibabacloud.com",
|
|
notice: {
|
|
apiKeyUrl: "https://modelstudio.console.alibabacloud.com/?apiKey=1",
|
|
},
|
|
},
|
|
category: "apikey",
|
|
transport: {
|
|
baseUrl: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
|
|
headers: {},
|
|
quirks: { preserveCacheControl: true },
|
|
},
|
|
models: [
|
|
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
|
|
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
|
{ id: "glm-5", name: "GLM 5" },
|
|
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
|
|
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
|
|
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
|
|
{ id: "glm-4.7", name: "GLM 4.7" },
|
|
],
|
|
};
|