Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions providers/alibaba-token-plan/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions providers/alibaba-token-plan/models/MiniMax-M2.5.toml
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions providers/alibaba-token-plan/models/deepseek-v3.2.toml
Original file line number Diff line number Diff line change
@@ -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"]
7 changes: 7 additions & 0 deletions providers/alibaba-token-plan/models/deepseek-v4-flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[extends]
from = "deepseek/deepseek-v4-flash"

[cost]
input = 0
output = 0
cache_read = 0
7 changes: 7 additions & 0 deletions providers/alibaba-token-plan/models/deepseek-v4-pro.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[extends]
from = "deepseek/deepseek-v4-pro"

[cost]
input = 0
output = 0
cache_read = 0
11 changes: 11 additions & 0 deletions providers/alibaba-token-plan/models/glm-5.1.toml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions providers/alibaba-token-plan/models/glm-5.toml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions providers/alibaba-token-plan/models/kimi-k2.5.toml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions providers/alibaba-token-plan/models/kimi-k2.6.toml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions providers/alibaba-token-plan/models/qwen-image-2.0-pro.toml
Original file line number Diff line number Diff line change
@@ -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"]
21 changes: 21 additions & 0 deletions providers/alibaba-token-plan/models/qwen-image-2.0.toml
Original file line number Diff line number Diff line change
@@ -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"]
8 changes: 8 additions & 0 deletions providers/alibaba-token-plan/models/qwen3.6-flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[extends]
from = "alibaba/qwen3.6-flash"

[cost]
input = 0
output = 0
cache_read = 0
cache_write = 0
9 changes: 9 additions & 0 deletions providers/alibaba-token-plan/models/qwen3.6-plus.toml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions providers/alibaba-token-plan/models/qwen3.7-max.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[extends]
from = "alibaba/qwen3.7-max"

[cost]
input = 0
output = 0
cache_read = 0
cache_write = 0
20 changes: 20 additions & 0 deletions providers/alibaba-token-plan/models/wan2.7-image-pro.toml
Original file line number Diff line number Diff line change
@@ -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"]
20 changes: 20 additions & 0 deletions providers/alibaba-token-plan/models/wan2.7-image.toml
Original file line number Diff line number Diff line change
@@ -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"]
5 changes: 5 additions & 0 deletions providers/alibaba-token-plan/provider.toml
Original file line number Diff line number Diff line change
@@ -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"
Loading