feat: add Volcengine Coding Plan provider - #3968
Open
alwinlin23 wants to merge 1 commit into
Open
Conversation
1 task
Contributor
Action items
|
alwinlin23
force-pushed
the
volcengine-coding-plan
branch
from
August 3, 2026 02:50
f52a14d to
908cb7a
Compare
Contributor
Action items
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the Volcengine Ark Coding Plan (火山方舟 Coding Plan) provider requested in anomalyco/opencode#40203, alongside the existing
kimi-for-coding,alibaba-coding-plan-cn,zhipuai-coding-plan,minimax-cn-coding-plan, andtencent-coding-planentries.volcengine-coding-planhttps://ark.cn-beijing.volces.com/api/coding/v3(subscription usage must go through/api/coding/*; the pay-as-you-go/api/v3endpoint bills separately)ARK_API_KEY(Ark API key from https://console.volcengine.com/ark)Models (current plan lineup)
ark-code-latestdoubao-seed-2.0-litedoubao-seed-2.1-turbodeepseek-v4-probase_model = "deepseek/deepseek-v4-pro"deepseek-v4-flashbase_model = "deepseek/deepseek-v4-flash"glm-5.2base_model = "zhipuai/glm-5.2"kimi-k2.6base_model = "moonshotai/kimi-k2.6"kimi-k2.7-codebase_model = "moonshotai/kimi-k2.7-code"minimax-m3base_model = "minimax/MiniMax-M3"minimax-m2.7base_model = "minimax/MiniMax-M2.7"All models are priced
0(subscription plan), matching the other coding-plan providers. Deep-thinking models declare atoggle(thinking.type = enabled|disabled) withreasoning_contentinterleaved output, per the Ark deep-thinking docs. Third-party models inherit limits/modalities from their lab entries; only host-specific fields (cost,reasoning_options,interleaved) are overridden.Sources
/api/coding/v3): https://www.volcengine.com/docs/82379/2556056Test plan
bun validatepassesbun test— no new failures (the 5 failing SDK snapshot tests also fail on cleandev; they need a generated artifact)