diff --git a/providers/ppio/logo.svg b/providers/ppio/logo.svg new file mode 100644 index 00000000000..1112ab5b407 --- /dev/null +++ b/providers/ppio/logo.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/providers/ppio/models/alibaba/qwen3-235b-a22b-instruct-2507.toml b/providers/ppio/models/alibaba/qwen3-235b-a22b-instruct-2507.toml new file mode 100644 index 00000000000..ef854fe0b4d --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3-235b-a22b-instruct-2507.toml @@ -0,0 +1,13 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# limit.output is PPIO's completion cap, not the context window: the API +# rejects max_tokens above it with "must be between 0 and 260000". +base_model = "alibaba/qwen3-235b-a22b-instruct-2507" +structured_output = true + +[cost] +input = 0.21583 +output = 0.8633 + +[limit] +output = 260_000 diff --git a/providers/ppio/models/alibaba/qwen3-coder-next.toml b/providers/ppio/models/alibaba/qwen3-coder-next.toml new file mode 100644 index 00000000000..ac2e219cf35 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3-coder-next.toml @@ -0,0 +1,7 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +base_model = "alibaba/qwen3-coder-next" + +[cost] +input = 0.20838 +output = 1.56287 diff --git a/providers/ppio/models/alibaba/qwen3-vl-235b-a22b-instruct.toml b/providers/ppio/models/alibaba/qwen3-vl-235b-a22b-instruct.toml new file mode 100644 index 00000000000..c58abb12874 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3-vl-235b-a22b-instruct.toml @@ -0,0 +1,10 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +base_model = "alibaba/qwen3-vl-235b-a22b-instruct" + +[cost] +input = 0.29769 +output = 1.19076 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.5-122b-a10b.toml b/providers/ppio/models/alibaba/qwen3.5-122b-a10b.toml new file mode 100644 index 00000000000..f53469d1070 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.5-122b-a10b.toml @@ -0,0 +1,20 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.5-122b-a10b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.11908 +output = 0.95261 + +[[cost.tiers]] +tier = { type = "context", size = 128_000 } +input = 0.29769 +output = 2.38152 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.5-27b.toml b/providers/ppio/models/alibaba/qwen3.5-27b.toml new file mode 100644 index 00000000000..3df93a43885 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.5-27b.toml @@ -0,0 +1,20 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.5-27b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.08931 +output = 0.71446 + +[[cost.tiers]] +tier = { type = "context", size = 128_000 } +input = 0.26792 +output = 2.14337 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.5-35b-a3b.toml b/providers/ppio/models/alibaba/qwen3.5-35b-a3b.toml new file mode 100644 index 00000000000..15c2193796b --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.5-35b-a3b.toml @@ -0,0 +1,20 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.5-35b-a3b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.05954 +output = 0.4763 + +[[cost.tiers]] +tier = { type = "context", size = 128_000 } +input = 0.23815 +output = 1.90521 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.5-397b-a17b.toml b/providers/ppio/models/alibaba/qwen3.5-397b-a17b.toml new file mode 100644 index 00000000000..71bfe1f1f0e --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.5-397b-a17b.toml @@ -0,0 +1,20 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.5-397b-a17b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.17861 +output = 1.07168 + +[[cost.tiers]] +tier = { type = "context", size = 128_000 } +input = 0.44653 +output = 2.67921 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.6-27b.toml b/providers/ppio/models/alibaba/qwen3.6-27b.toml new file mode 100644 index 00000000000..7aff89daff8 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.6-27b.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.6-27b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 2.67921 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.6-35b-a3b.toml b/providers/ppio/models/alibaba/qwen3.6-35b-a3b.toml new file mode 100644 index 00000000000..84ac79582ee --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.6-35b-a3b.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "alibaba/qwen3.6-35b-a3b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.26792 +output = 1.60752 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/alibaba/qwen3.8-2.4t-a95b.toml b/providers/ppio/models/alibaba/qwen3.8-2.4t-a95b.toml new file mode 100644 index 00000000000..3ba06fb6989 --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.8-2.4t-a95b.toml @@ -0,0 +1,17 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is rejected by this model; thinking is always on. +# Effort: reasoning_effort = low|medium|xhigh (native set, default xhigh). +base_model = "alibaba/qwen3.8-2.4t-a95b" +reasoning_options = [{ type = "effort", values = ["low", "medium", "xhigh"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.78614 +output = 5.35841 +cache_read = 0.22327 + +[limit] +context = 1_000_000 diff --git a/providers/ppio/models/alibaba/qwen3.8-27b.toml b/providers/ppio/models/alibaba/qwen3.8-27b.toml new file mode 100644 index 00000000000..5732b8e864c --- /dev/null +++ b/providers/ppio/models/alibaba/qwen3.8-27b.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# reasoning_effort is accepted but has no observable effect on thinking. +base_model = "alibaba/qwen3.8-27b" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 1.78614 +cache_read = 0.08931 + +[limit] +context = 1_000_000 +output = 131_072 diff --git a/providers/ppio/models/deepseek/deepseek-ocr-2.toml b/providers/ppio/models/deepseek/deepseek-ocr-2.toml new file mode 100644 index 00000000000..5691da2e17d --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-ocr-2.toml @@ -0,0 +1,7 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +base_model = "deepseek/deepseek-ocr-2" + +[cost] +input = 0.03215 +output = 0.03215 diff --git a/providers/ppio/models/deepseek/deepseek-v3-0324.toml b/providers/ppio/models/deepseek/deepseek-v3-0324.toml new file mode 100644 index 00000000000..0d4f6487493 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v3-0324.toml @@ -0,0 +1,12 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +base_model = "deepseek/deepseek-v3-0324" +structured_output = true + +[cost] +input = 0.29769 +output = 1.19076 +cache_read = 0.08931 + +[limit] +output = 65_536 diff --git a/providers/ppio/models/deepseek/deepseek-v3.2.toml b/providers/ppio/models/deepseek/deepseek-v3.2.toml new file mode 100644 index 00000000000..c601bed42ce --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v3.2.toml @@ -0,0 +1,17 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled (thinking is off by default) +base_model = "deepseek/deepseek-v3.2" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.29769 +output = 0.44653 +cache_read = 0.02977 + +[limit] +context = 163_840 +output = 65_536 diff --git a/providers/ppio/models/deepseek/deepseek-v3.toml b/providers/ppio/models/deepseek/deepseek-v3.toml new file mode 100644 index 00000000000..6d76f3264af --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v3.toml @@ -0,0 +1,12 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +base_model = "deepseek/deepseek-v3" +structured_output = true + +[cost] +input = 0.29769 +output = 1.19076 + +[limit] +context = 64_000 +output = 8_000 diff --git a/providers/ppio/models/deepseek/deepseek-v4-flash-0731.toml b/providers/ppio/models/deepseek/deepseek-v4-flash-0731.toml new file mode 100644 index 00000000000..7836d0dbab4 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4-flash-0731.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4-flash-0731" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 1.3396 +cache_read = 0.14884 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/deepseek/deepseek-v4-flash-vision-exp.toml b/providers/ppio/models/deepseek/deepseek-v4-flash-vision-exp.toml new file mode 100644 index 00000000000..7d30f8b297e --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4-flash-vision-exp.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4-flash-vision-exp" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 1.3396 +cache_read = 0.14884 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/deepseek/deepseek-v4-flash.toml b/providers/ppio/models/deepseek/deepseek-v4-flash.toml new file mode 100644 index 00000000000..9ea2daf2a01 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4-flash.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4-flash" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 1.3396 +cache_read = 0.14884 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/deepseek/deepseek-v4-pro-0813.toml b/providers/ppio/models/deepseek/deepseek-v4-pro-0813.toml new file mode 100644 index 00000000000..7bf7983e8e0 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4-pro-0813.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4-pro-0813" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.3396 +output = 4.01881 +cache_read = 0.44653 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/deepseek/deepseek-v4-pro.toml b/providers/ppio/models/deepseek/deepseek-v4-pro.toml new file mode 100644 index 00000000000..61a7e126e36 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4-pro.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4-pro" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.3396 +output = 4.01881 +cache_read = 0.44653 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/deepseek/deepseek-v4.1-flash.toml b/providers/ppio/models/deepseek/deepseek-v4.1-flash.toml new file mode 100644 index 00000000000..3304a67dec4 --- /dev/null +++ b/providers/ppio/models/deepseek/deepseek-v4.1-flash.toml @@ -0,0 +1,18 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = high|max +base_model = "deepseek/deepseek-v4.1-flash" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.29769 +output = 1.19076 +cache_read = 0.00595 + +[limit] +context = 1_048_576 +output = 393_216 diff --git a/providers/ppio/models/minimax/minimax-m2.1.toml b/providers/ppio/models/minimax/minimax-m2.1.toml new file mode 100644 index 00000000000..433fcade1f8 --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.1.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "minimax/MiniMax-M2.1" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.31257 +output = 1.2503 +cache_read = 0.03126 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m2.5-highspeed.toml b/providers/ppio/models/minimax/minimax-m2.5-highspeed.toml new file mode 100644 index 00000000000..8e0034e3ce2 --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.5-highspeed.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "minimax/MiniMax-M2.5-highspeed" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.62515 +output = 2.50059 +cache_read = 0.03126 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m2.5.toml b/providers/ppio/models/minimax/minimax-m2.5.toml new file mode 100644 index 00000000000..e7887f05c4b --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.5.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "minimax/MiniMax-M2.5" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.31257 +output = 1.2503 +cache_read = 0.03126 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m2.7-highspeed.toml b/providers/ppio/models/minimax/minimax-m2.7-highspeed.toml new file mode 100644 index 00000000000..16bbf649421 --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.7-highspeed.toml @@ -0,0 +1,16 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +# reasoning_split = true splits thinking into reasoning_content. +base_model = "minimax/MiniMax-M2.7-highspeed" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.62515 +output = 2.50059 +cache_read = 0.06251 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m2.7.toml b/providers/ppio/models/minimax/minimax-m2.7.toml new file mode 100644 index 00000000000..8f0ae34c63f --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.7.toml @@ -0,0 +1,16 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +# reasoning_split = true splits thinking into reasoning_content. +base_model = "minimax/MiniMax-M2.7" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.31257 +output = 1.2503 +cache_read = 0.06251 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m2.toml b/providers/ppio/models/minimax/minimax-m2.toml new file mode 100644 index 00000000000..a07f83e15f0 --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m2.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "minimax/MiniMax-M2" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.31257 +output = 1.2503 +cache_read = 0.03126 +cache_write = 0.39072 diff --git a/providers/ppio/models/minimax/minimax-m3.toml b/providers/ppio/models/minimax/minimax-m3.toml new file mode 100644 index 00000000000..a635d2a5bc4 --- /dev/null +++ b/providers/ppio/models/minimax/minimax-m3.toml @@ -0,0 +1,25 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = adaptive|disabled +# reasoning_split = true splits thinking into reasoning_content. +base_model = "minimax/MiniMax-M3" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.31257 +output = 1.2503 +cache_read = 0.06251 + +[[cost.tiers]] +tier = { type = "context", size = 524_288 } +input = 0.62515 +output = 2.50059 +cache_read = 0.12503 + +[limit] +context = 1_000_000 +output = 131_072 diff --git a/providers/ppio/models/moonshotai/kimi-k2-thinking.toml b/providers/ppio/models/moonshotai/kimi-k2-thinking.toml new file mode 100644 index 00000000000..8045fa94736 --- /dev/null +++ b/providers/ppio/models/moonshotai/kimi-k2-thinking.toml @@ -0,0 +1,16 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "moonshotai/kimi-k2-thinking" +structured_output = true +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.59538 +output = 2.38152 + +[limit] +output = 100_352 diff --git a/providers/ppio/models/moonshotai/kimi-k2.5.toml b/providers/ppio/models/moonshotai/kimi-k2.5.toml new file mode 100644 index 00000000000..6b632294c07 --- /dev/null +++ b/providers/ppio/models/moonshotai/kimi-k2.5.toml @@ -0,0 +1,13 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "moonshotai/kimi-k2.5" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.59538 +output = 3.12574 +cache_read = 0.10419 diff --git a/providers/ppio/models/moonshotai/kimi-k2.6.toml b/providers/ppio/models/moonshotai/kimi-k2.6.toml new file mode 100644 index 00000000000..35f1446c0bd --- /dev/null +++ b/providers/ppio/models/moonshotai/kimi-k2.6.toml @@ -0,0 +1,13 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "moonshotai/kimi-k2.6" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.96749 +output = 4.01881 +cache_read = 0.16373 diff --git a/providers/ppio/models/moonshotai/kimi-k2.7-code.toml b/providers/ppio/models/moonshotai/kimi-k2.7-code.toml new file mode 100644 index 00000000000..0a7638cc602 --- /dev/null +++ b/providers/ppio/models/moonshotai/kimi-k2.7-code.toml @@ -0,0 +1,13 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +base_model = "moonshotai/kimi-k2.7-code" +reasoning_options = [] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.96749 +output = 4.01881 +cache_read = 0.1935 diff --git a/providers/ppio/models/moonshotai/kimi-k3.toml b/providers/ppio/models/moonshotai/kimi-k3.toml new file mode 100644 index 00000000000..6e099032b06 --- /dev/null +++ b/providers/ppio/models/moonshotai/kimi-k3.toml @@ -0,0 +1,19 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# limit.output follows PPIO: GET /openai/v1/models/moonshotai/kimi-k3 reports +# max_output_tokens = 1048576, and the API accepts max_tokens = 1048576. +# Toggle: thinking.type = enabled|disabled +# Effort: reasoning_effort = low|high|max (default max) +base_model = "moonshotai/kimi-k3" +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 2.9769 +output = 14.88449 +cache_read = 0.29769 + +[limit] +output = 1_048_576 diff --git a/providers/ppio/models/xiaomi/mimo-v2.5-pro.toml b/providers/ppio/models/xiaomi/mimo-v2.5-pro.toml new file mode 100644 index 00000000000..005356ec93c --- /dev/null +++ b/providers/ppio/models/xiaomi/mimo-v2.5-pro.toml @@ -0,0 +1,14 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "xiaomi/mimo-v2.5-pro" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 0.89307 +cache_read = 0.00372 diff --git a/providers/ppio/models/xiaomi/mimo-v2.5.toml b/providers/ppio/models/xiaomi/mimo-v2.5.toml new file mode 100644 index 00000000000..ff138133c14 --- /dev/null +++ b/providers/ppio/models/xiaomi/mimo-v2.5.toml @@ -0,0 +1,17 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "xiaomi/mimo-v2.5" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.14884 +output = 0.29769 +cache_read = 0.00298 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/zhipuai/glm-4.5-air.toml b/providers/ppio/models/zhipuai/glm-4.5-air.toml new file mode 100644 index 00000000000..e97685733d7 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.5-air.toml @@ -0,0 +1,14 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.5-air" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.17861 +output = 0.29769 +cache_read = 0.03572 diff --git a/providers/ppio/models/zhipuai/glm-4.5v.toml b/providers/ppio/models/zhipuai/glm-4.5v.toml new file mode 100644 index 00000000000..5e9690d9ec0 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.5v.toml @@ -0,0 +1,16 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.5v" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.59538 +output = 1.78614 +cache_read = 0.11908 + +[limit] +context = 65_536 diff --git a/providers/ppio/models/zhipuai/glm-4.6.toml b/providers/ppio/models/zhipuai/glm-4.6.toml new file mode 100644 index 00000000000..8c430a4492f --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.6.toml @@ -0,0 +1,15 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.6" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.59538 +output = 2.38152 +cache_read = 0.11908 +cache_write = 0.11908 diff --git a/providers/ppio/models/zhipuai/glm-4.6v.toml b/providers/ppio/models/zhipuai/glm-4.6v.toml new file mode 100644 index 00000000000..89e772ed0a9 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.6v.toml @@ -0,0 +1,24 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# cache_read is published only for the 32768+ band (CNY 0.4); PPIO lists no +# cache_read rate for the 1-32768 band. +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.6v" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.14884 +output = 0.44653 + +[[cost.tiers]] +tier = { type = "context", size = 32_768 } +input = 0.29769 +output = 0.89307 +cache_read = 0.05954 + +[limit] +context = 131_072 diff --git a/providers/ppio/models/zhipuai/glm-4.7-flash.toml b/providers/ppio/models/zhipuai/glm-4.7-flash.toml new file mode 100644 index 00000000000..0020354ef1e --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.7-flash.toml @@ -0,0 +1,17 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.7-flash" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.07442 +output = 0.44653 +cache_read = 0.01488 + +[limit] +output = 128_000 diff --git a/providers/ppio/models/zhipuai/glm-4.7.toml b/providers/ppio/models/zhipuai/glm-4.7.toml new file mode 100644 index 00000000000..dc53a831053 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-4.7.toml @@ -0,0 +1,26 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Tiered pricing: PPIO splits the 1-32000 context band by output length +# (up to 200 output tokens at CNY 2/8, above at CNY 3/14). models.dev tiers +# are context-only, so the general-case rate is used for that band. +# cache_write is published only for the 32000+ band (CNY 0.8); PPIO lists no +# cache_write rate for the 1-32000 band. +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-4.7" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.44653 +output = 2.08383 +cache_read = 0.08931 + +[[cost.tiers]] +tier = { type = "context", size = 32_000 } +input = 0.59538 +output = 2.38152 +cache_read = 0.11908 +cache_write = 0.11908 diff --git a/providers/ppio/models/zhipuai/glm-5.1.toml b/providers/ppio/models/zhipuai/glm-5.1.toml new file mode 100644 index 00000000000..12a251c4a97 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-5.1.toml @@ -0,0 +1,22 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-5.1" +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.89307 +output = 3.57228 +cache_read = 0.1935 + +[[cost.tiers]] +tier = { type = "context", size = 32_768 } +input = 1.19076 +output = 4.16766 +cache_read = 0.29769 + +[limit] +context = 204_800 diff --git a/providers/ppio/models/zhipuai/glm-5.2.toml b/providers/ppio/models/zhipuai/glm-5.2.toml new file mode 100644 index 00000000000..fb79261fc7d --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-5.2.toml @@ -0,0 +1,16 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Effort: reasoning_effort = none|high|max +base_model = "zhipuai/glm-5.2" +reasoning_options = [{ type = "effort", values = ["none", "high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.19076 +output = 4.16766 +cache_read = 0.29769 + +[limit] +context = 1_048_576 diff --git a/providers/ppio/models/zhipuai/glm-5.3-flash.toml b/providers/ppio/models/zhipuai/glm-5.3-flash.toml new file mode 100644 index 00000000000..526c49f3add --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-5.3-flash.toml @@ -0,0 +1,20 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +# Effort: reasoning_effort = low|high|max (default max) +base_model = "zhipuai/glm-5.3-flash" +reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.11908 +output = 0.41677 +cache_read = 0.03423 + +[limit] +context = 1_048_576 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/ppio/models/zhipuai/glm-5.3.toml b/providers/ppio/models/zhipuai/glm-5.3.toml new file mode 100644 index 00000000000..6d95e2ec918 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-5.3.toml @@ -0,0 +1,17 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# thinking.type is accepted but has no effect: thinking stays on. +# Effort: reasoning_effort = low|high|max (default max) +base_model = "zhipuai/glm-5.3" +reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.19076 +output = 4.16766 +cache_read = 0.29769 + +[limit] +context = 1_048_576 diff --git a/providers/ppio/models/zhipuai/glm-5.toml b/providers/ppio/models/zhipuai/glm-5.toml new file mode 100644 index 00000000000..c069e88bd58 --- /dev/null +++ b/providers/ppio/models/zhipuai/glm-5.toml @@ -0,0 +1,23 @@ +# CNY→USD rate: 6.718405, 2026-09-20, source: https://open.er-api.com/v6/latest/USD +# CNY list price source: https://ppio.com/pricing +# Toggle: thinking.type = enabled|disabled +base_model = "zhipuai/glm-5" +structured_output = true +reasoning_options = [{ type = "toggle" }] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.59538 +output = 2.67921 +cache_read = 0.14884 + +[[cost.tiers]] +tier = { type = "context", size = 32_000 } +input = 0.89307 +output = 3.27459 +cache_read = 0.22327 + +[limit] +context = 202_800 diff --git a/providers/ppio/provider.toml b/providers/ppio/provider.toml new file mode 100644 index 00000000000..3af52736a21 --- /dev/null +++ b/providers/ppio/provider.toml @@ -0,0 +1,20 @@ +name = "PPIO" +env = ["PPIO_API_KEY"] +npm = "@ai-sdk/openai-compatible" +# Reasoning controls, verified against POST /openai/v1/chat/completions (2026-09-21). +# `thinking.type` = enabled|disabled toggles thinking; `reasoning_effort` sets +# effort. Which control a model exposes differs: +# - Toggle only: the Qwen 3.5, 3.6 and 3.8-27b models, deepseek-v3.2, +# minimax-m3, kimi-k2.5, kimi-k2.6, mimo-v2.5, mimo-v2.5-pro, glm-4.5-air, +# glm-4.5v, glm-4.6, glm-4.6v, glm-4.7, glm-4.7-flash, glm-5, glm-5.1. +# minimax-m3 takes adaptive|disabled; `enabled` is rejected. +# - Effort only: qwen3.8-2.4t-a95b, glm-5.2, glm-5.3, glm-5.3-flash. For the +# glm-5.3 pair `thinking.type` is accepted but ignored, thinking stays on. +# - Toggle and effort: the DeepSeek V4 family and kimi-k3. +# - No caller control: the minimax-m2 family, kimi-k2-thinking, kimi-k2.7-code. +# `thinking.type` is accepted but ignored, thinking stays on. +# deepseek-v3.2 is the one model that starts with thinking off; every other +# reasoning model thinks by default. Responses carry the reasoning side +# channel in `reasoning_content`. +doc = "https://ppio.com/model-api/product/llm-api" +api = "https://api.ppio.com/openai/v1"