From 854c50dfc4cbf5f6b281dbe5be69b0967508e588 Mon Sep 17 00:00:00 2001 From: Reynold Hu <88558425+reynold-hu@users.noreply.github.com> Date: Sat, 10 Oct 2026 00:06:51 +0800 Subject: [PATCH] feat(providers): add BytePlus ModelArk Coding Plan provider Adds the international BytePlus ModelArk Coding Plan (ap-southeast-1) as a provider distinct from volcengine-coding-plan, with dola-seed-2.0-pro/lite/code, deepseek-v4-flash/pro, and glm-5.3-flash. Subscription tier: zero per-token cost; reasoning controls follow the sibling Volcengine Ark Coding Plan evidence. Closes #5857. --- providers/byteplus-coding-plan/logo.svg | 1 + .../models/deepseek-v4-flash.toml | 20 ++++++++++++++++++ .../models/deepseek-v4-pro.toml | 20 ++++++++++++++++++ .../models/dola-seed-2.0-code.toml | 19 +++++++++++++++++ .../models/dola-seed-2.0-lite.toml | 21 +++++++++++++++++++ .../models/dola-seed-2.0-pro.toml | 19 +++++++++++++++++ .../models/glm-5.3-flash.toml | 20 ++++++++++++++++++ providers/byteplus-coding-plan/provider.toml | 18 ++++++++++++++++ 8 files changed, 138 insertions(+) create mode 100644 providers/byteplus-coding-plan/logo.svg create mode 100644 providers/byteplus-coding-plan/models/deepseek-v4-flash.toml create mode 100644 providers/byteplus-coding-plan/models/deepseek-v4-pro.toml create mode 100644 providers/byteplus-coding-plan/models/dola-seed-2.0-code.toml create mode 100644 providers/byteplus-coding-plan/models/dola-seed-2.0-lite.toml create mode 100644 providers/byteplus-coding-plan/models/dola-seed-2.0-pro.toml create mode 100644 providers/byteplus-coding-plan/models/glm-5.3-flash.toml create mode 100644 providers/byteplus-coding-plan/provider.toml diff --git a/providers/byteplus-coding-plan/logo.svg b/providers/byteplus-coding-plan/logo.svg new file mode 100644 index 00000000000..074e6b0016f --- /dev/null +++ b/providers/byteplus-coding-plan/logo.svg @@ -0,0 +1 @@ + diff --git a/providers/byteplus-coding-plan/models/deepseek-v4-flash.toml b/providers/byteplus-coding-plan/models/deepseek-v4-flash.toml new file mode 100644 index 00000000000..9ea16c24a3a --- /dev/null +++ b/providers/byteplus-coding-plan/models/deepseek-v4-flash.toml @@ -0,0 +1,20 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Toggle: thinking.type = enabled|disabled, matching the sibling Volcengine Ark +# Coding Plan measurement on the same platform (providers/volcengine-coding-plan) +# and the toggle the lab (providers/deepseek) exposes. No graded effort: the wire +# accepts reasoning_effort, but graded levels fully overlap there; not +# independently re-measured on this host. +base_model = "deepseek/deepseek-v4-flash" + +[[reasoning_options]] +type = "toggle" + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/models/deepseek-v4-pro.toml b/providers/byteplus-coding-plan/models/deepseek-v4-pro.toml new file mode 100644 index 00000000000..fbc4b305a1c --- /dev/null +++ b/providers/byteplus-coding-plan/models/deepseek-v4-pro.toml @@ -0,0 +1,20 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Toggle: thinking.type = enabled|disabled, matching the sibling Volcengine Ark +# Coding Plan measurement on the same platform (providers/volcengine-coding-plan) +# and the toggle the lab (providers/deepseek) exposes. No graded effort: the wire +# accepts reasoning_effort, but graded levels fully overlap there; not +# independently re-measured on this host. +base_model = "deepseek/deepseek-v4-pro" + +[[reasoning_options]] +type = "toggle" + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/models/dola-seed-2.0-code.toml b/providers/byteplus-coding-plan/models/dola-seed-2.0-code.toml new file mode 100644 index 00000000000..28df190d146 --- /dev/null +++ b/providers/byteplus-coding-plan/models/dola-seed-2.0-code.toml @@ -0,0 +1,19 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Effort: reasoning_effort = none|low|high. Levels follow the sibling Volcengine +# Ark Coding Plan measurements for the Seed 2.0 family on the same platform +# (providers/volcengine-coding-plan); not independently re-measured on this host. +base_model = "bytedance-seed/seed-2.0-code" + +[[reasoning_options]] +type = "effort" +values = ["none", "low", "high"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/models/dola-seed-2.0-lite.toml b/providers/byteplus-coding-plan/models/dola-seed-2.0-lite.toml new file mode 100644 index 00000000000..219bce9acb0 --- /dev/null +++ b/providers/byteplus-coding-plan/models/dola-seed-2.0-lite.toml @@ -0,0 +1,21 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Effort: reasoning_effort = none|low|high, measured on the sibling Volcengine +# Ark Coding Plan endpoint for this same model on the same platform +# (providers/volcengine-coding-plan): the wire accepts medium and max too, but +# medium aliases low and max sits inside the high band, so only none|low|high +# hold up. Not independently re-measured on this host. +base_model = "bytedance-seed/seed-2.0-lite" + +[[reasoning_options]] +type = "effort" +values = ["none", "low", "high"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/models/dola-seed-2.0-pro.toml b/providers/byteplus-coding-plan/models/dola-seed-2.0-pro.toml new file mode 100644 index 00000000000..e0881f6e509 --- /dev/null +++ b/providers/byteplus-coding-plan/models/dola-seed-2.0-pro.toml @@ -0,0 +1,19 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Effort: reasoning_effort = none|low|high. Levels follow the sibling Volcengine +# Ark Coding Plan measurements for the Seed 2.0 family on the same platform +# (providers/volcengine-coding-plan); not independently re-measured on this host. +base_model = "bytedance-seed/seed-2.0-pro" + +[[reasoning_options]] +type = "effort" +values = ["none", "low", "high"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/models/glm-5.3-flash.toml b/providers/byteplus-coding-plan/models/glm-5.3-flash.toml new file mode 100644 index 00000000000..7a4dec6052b --- /dev/null +++ b/providers/byteplus-coding-plan/models/glm-5.3-flash.toml @@ -0,0 +1,20 @@ +# Coding Plan model name per the official activity page (accessed 2026-10-10) +# and the runtime-verified alias report in anomalyco/models.dev#5857. +# Subscription tier: no per-token price. +# Effort: reasoning_effort = low|high|max, mirroring the sibling Volcengine Ark +# Coding Plan entry on the same platform (providers/volcengine-coding-plan) and +# providers/zai-coding-plan. No toggle declared there: thinking.type=disabled is +# rejected. Not independently re-measured on this host. +base_model = "zhipuai/glm-5.3-flash" + +[[reasoning_options]] +type = "effort" +values = ["low", "high", "max"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 diff --git a/providers/byteplus-coding-plan/provider.toml b/providers/byteplus-coding-plan/provider.toml new file mode 100644 index 00000000000..38ab3ca1094 --- /dev/null +++ b/providers/byteplus-coding-plan/provider.toml @@ -0,0 +1,18 @@ +name = "BytePlus ModelArk Coding Plan" +env = ["BYTEPLUS_CODING_PLAN_API_KEY"] +npm = "@ai-sdk/openai-compatible" +# Coding Plan is a subscription tier of BytePlus ModelArk (international +# ap-southeast-1) with its own base URL. BytePlus warns that calling the +# pay-as-you-go https://ark.ap-southeast.bytepluses.com/api/v3 with a Coding +# Plan key does not draw down the subscription and bills separately, so the two +# must stay distinct; a dedicated env var avoids lighting up both at once. +# Anthropic-compatible base on the same key: https://ark.ap-southeast.bytepluses.com/api/coding +# Reasoning wire format follows the Volcengine Ark Coding Plan sibling on the +# same platform; see per-model comments for sources. +# Models per the official activity page and the runtime-verified alias report +# in anomalyco/models.dev#5857 (accessed 2026-10-10). +# Sources: +# https://www.byteplus.com/en/activity/codingplan +# https://docs.byteplus.com/en/docs/ModelArk/2628972 +doc = "https://www.byteplus.com/en/activity/codingplan" +api = "https://ark.ap-southeast.bytepluses.com/api/coding/v3"