diff --git a/providers/alibaba-token-plan/logo.svg b/providers/alibaba-token-plan/logo.svg new file mode 100644 index 000000000..b3a2edc3c --- /dev/null +++ b/providers/alibaba-token-plan/logo.svg @@ -0,0 +1,3 @@ + + + diff --git a/providers/alibaba-token-plan/models/MiniMax-M2.5.toml b/providers/alibaba-token-plan/models/MiniMax-M2.5.toml new file mode 100644 index 000000000..43fb4b4b7 --- /dev/null +++ b/providers/alibaba-token-plan/models/MiniMax-M2.5.toml @@ -0,0 +1,16 @@ +[extends] +from = "minimax/MiniMax-M2.5" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[interleaved] +field = "reasoning_content" + +[limit] +context = 196_608 +input = 196_601 +output = 24_576 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/deepseek-v3.2.toml b/providers/alibaba-token-plan/models/deepseek-v3.2.toml new file mode 100644 index 000000000..caabf7530 --- /dev/null +++ b/providers/alibaba-token-plan/models/deepseek-v3.2.toml @@ -0,0 +1,23 @@ +name = "DeepSeek V3.2" +family = "deepseek" +release_date = "2025-12-03" +last_updated = "2025-12-05" +attachment = false +reasoning = true +structured_output = true +temperature = true +tool_call = true +knowledge = "2025-01" +open_weights = true + +[cost] +input = 0 +output = 0 + +[limit] +context = 131_072 +output = 65_536 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/deepseek-v4-flash.toml b/providers/alibaba-token-plan/models/deepseek-v4-flash.toml new file mode 100644 index 000000000..a9d8a96e8 --- /dev/null +++ b/providers/alibaba-token-plan/models/deepseek-v4-flash.toml @@ -0,0 +1,7 @@ +[extends] +from = "deepseek/deepseek-v4-flash" + +[cost] +input = 0 +output = 0 +cache_read = 0 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/deepseek-v4-pro.toml b/providers/alibaba-token-plan/models/deepseek-v4-pro.toml new file mode 100644 index 000000000..853fe090b --- /dev/null +++ b/providers/alibaba-token-plan/models/deepseek-v4-pro.toml @@ -0,0 +1,7 @@ +[extends] +from = "deepseek/deepseek-v4-pro" + +[cost] +input = 0 +output = 0 +cache_read = 0 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/glm-5.1.toml b/providers/alibaba-token-plan/models/glm-5.1.toml new file mode 100644 index 000000000..4b661ba9a --- /dev/null +++ b/providers/alibaba-token-plan/models/glm-5.1.toml @@ -0,0 +1,11 @@ +[extends] +from = "zhipuai/glm-5.1" + +[cost] +input = 0 +output = 0 +cache_read = 0 + +[limit] +context = 202_752 +output = 128_000 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/glm-5.toml b/providers/alibaba-token-plan/models/glm-5.toml new file mode 100644 index 000000000..72c72bc19 --- /dev/null +++ b/providers/alibaba-token-plan/models/glm-5.toml @@ -0,0 +1,14 @@ +open_weights = false + +[extends] +from = "zhipuai/glm-5" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 202_752 +output = 16_384 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/kimi-k2.5.toml b/providers/alibaba-token-plan/models/kimi-k2.5.toml new file mode 100644 index 000000000..abf76aa87 --- /dev/null +++ b/providers/alibaba-token-plan/models/kimi-k2.5.toml @@ -0,0 +1,17 @@ +family = "kimi" +attachment = true +temperature = true + +[extends] +from = "moonshotai/kimi-k2.5" +omit = ["structured_output"] + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 262_144 +output = 32_768 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/kimi-k2.6.toml b/providers/alibaba-token-plan/models/kimi-k2.6.toml new file mode 100644 index 000000000..c808118a5 --- /dev/null +++ b/providers/alibaba-token-plan/models/kimi-k2.6.toml @@ -0,0 +1,15 @@ +family = "kimi" + +[extends] +from = "moonshotai/kimi-k2.6" +omit = ["structured_output"] + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 262_144 +output = 16_384 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/qwen-image-2.0-pro.toml b/providers/alibaba-token-plan/models/qwen-image-2.0-pro.toml new file mode 100644 index 000000000..41db9524c --- /dev/null +++ b/providers/alibaba-token-plan/models/qwen-image-2.0-pro.toml @@ -0,0 +1,21 @@ +name = "Qwen Image 2.0 Pro" +family = "qwen" +release_date = "2026-03-03" +last_updated = "2026-03-03" +attachment = false +reasoning = false +temperature = true +tool_call = false +open_weights = false + +[cost] +input = 0 +output = 0 + +[limit] +context = 8_192 +output = 0 + +[modalities] +input = ["text"] +output = ["image"] \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/qwen-image-2.0.toml b/providers/alibaba-token-plan/models/qwen-image-2.0.toml new file mode 100644 index 000000000..9cac8e5a8 --- /dev/null +++ b/providers/alibaba-token-plan/models/qwen-image-2.0.toml @@ -0,0 +1,21 @@ +name = "Qwen Image 2.0" +family = "qwen" +release_date = "2026-03-03" +last_updated = "2026-03-03" +attachment = false +reasoning = false +temperature = true +tool_call = false +open_weights = false + +[cost] +input = 0 +output = 0 + +[limit] +context = 8_192 +output = 0 + +[modalities] +input = ["text"] +output = ["image"] \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/qwen3.6-flash.toml b/providers/alibaba-token-plan/models/qwen3.6-flash.toml new file mode 100644 index 000000000..84cf1331c --- /dev/null +++ b/providers/alibaba-token-plan/models/qwen3.6-flash.toml @@ -0,0 +1,8 @@ +[extends] +from = "alibaba/qwen3.6-flash" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 diff --git a/providers/alibaba-token-plan/models/qwen3.6-plus.toml b/providers/alibaba-token-plan/models/qwen3.6-plus.toml new file mode 100644 index 000000000..c34e5256b --- /dev/null +++ b/providers/alibaba-token-plan/models/qwen3.6-plus.toml @@ -0,0 +1,9 @@ +[extends] +from = "alibaba/qwen3.6-plus" +omit = ["cost.tiers", "cost.context_over_200k"] + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/qwen3.7-max.toml b/providers/alibaba-token-plan/models/qwen3.7-max.toml new file mode 100644 index 000000000..d944917f7 --- /dev/null +++ b/providers/alibaba-token-plan/models/qwen3.7-max.toml @@ -0,0 +1,8 @@ +[extends] +from = "alibaba/qwen3.7-max" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 diff --git a/providers/alibaba-token-plan/models/wan2.7-image-pro.toml b/providers/alibaba-token-plan/models/wan2.7-image-pro.toml new file mode 100644 index 000000000..ba9617a86 --- /dev/null +++ b/providers/alibaba-token-plan/models/wan2.7-image-pro.toml @@ -0,0 +1,20 @@ +name = "Wan2.7 Image Pro" +release_date = "2026-05-29" +last_updated = "2026-05-29" +attachment = false +reasoning = false +temperature = true +tool_call = false +open_weights = false + +[cost] +input = 0 +output = 0 + +[limit] +context = 8_192 +output = 0 + +[modalities] +input = ["text"] +output = ["image"] \ No newline at end of file diff --git a/providers/alibaba-token-plan/models/wan2.7-image.toml b/providers/alibaba-token-plan/models/wan2.7-image.toml new file mode 100644 index 000000000..4aec80a6b --- /dev/null +++ b/providers/alibaba-token-plan/models/wan2.7-image.toml @@ -0,0 +1,20 @@ +name = "Wan2.7 Image" +release_date = "2026-05-29" +last_updated = "2026-05-29" +attachment = false +reasoning = false +temperature = true +tool_call = false +open_weights = false + +[cost] +input = 0 +output = 0 + +[limit] +context = 8_192 +output = 0 + +[modalities] +input = ["text"] +output = ["image"] \ No newline at end of file diff --git a/providers/alibaba-token-plan/provider.toml b/providers/alibaba-token-plan/provider.toml new file mode 100644 index 000000000..97b34dae8 --- /dev/null +++ b/providers/alibaba-token-plan/provider.toml @@ -0,0 +1,5 @@ +name = "Alibaba Token Plan" +env = ["ALIBABA_TOKEN_PLAN_API_KEY"] +npm = "@ai-sdk/openai-compatible" +doc = "https://www.alibabacloud.com/help/en/model-studio/token-plan-overview" +api = "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1"