Skip to content

Add Alibaba Coding Plan provider and model configs#1023

Merged
rekram1-node merged 4 commits intoanomalyco:devfrom
PandaSt0rm:add-alibaba-coding-plan
Mar 7, 2026
Merged

Add Alibaba Coding Plan provider and model configs#1023
rekram1-node merged 4 commits intoanomalyco:devfrom
PandaSt0rm:add-alibaba-coding-plan

Conversation

@PandaSt0rm
Copy link
Copy Markdown
Contributor

Summary

Add Alibaba Coding Plan as a new provider using the Model Studio global OpenAI-compatible endpoint, implemented per the official Coding Plan specification:
https://www.alibabacloud.com/help/en/model-studio/coding-plan

A separate provider is required because Coding Plan uses dedicated credentials and base URL, which differ from the existing alibaba provider:

  • Existing alibaba provider: https://dashscope-intl.aliyuncs.com/compatible-mode/v1
  • Coding Plan: https://coding-intl.dashscope.aliyuncs.com/v1

Changes

  • Added providers/alibaba-coding-plan/provider.toml
  • Added providers/alibaba-coding-plan/logo.svg
  • Added model configs:
    • qwen3.5-plus
    • qwen3-max-2026-01-23
    • qwen3-coder-next
    • qwen3-coder-plus
    • glm-5
    • glm-4.7
    • kimi-k2.5

Validation

  • bun validate passes

- add MiniMax-M2.5 model config under providers/alibaba-coding-plan/models
- update GLM-4.7 limits to 202,752 context / 16,384 output
- update GLM-5 limits to 202,752 context / 16,384 output
- update Kimi K2.5 output limit to 32,768
- validate with bun validate
@PandaSt0rm
Copy link
Copy Markdown
Contributor Author

PandaSt0rm commented Feb 25, 2026

Update in this PR:

Limits now set to:

  • GLM-4.7: 202,752 context / 16,384 output
  • GLM-5: 202,752 context / 16,384 output
  • Kimi K2.5: 262,144 context / 32,768 output
  • MiniMax-M2.5: 1,048,576 context / 32,768 output

Validation: bun validate passes.

- set MiniMax-M2.5 input modalities to text-only
- keep output modality as text
- validate with bun validate
@PandaSt0rm
Copy link
Copy Markdown
Contributor Author

Follow-up fix: corrected MiniMax-M2.5 modalities in Alibaba Coding Plan to text-only input.

  • before: input = ["text", "image", "video"]
  • now: input = ["text"]
  • output remains: output = ["text"]

Validation: bun validate passes.

@jnd0
Copy link
Copy Markdown

jnd0 commented Feb 28, 2026

Adding one more verification datapoint from local testing:

  • Ran bun validate on this branch (pass)
  • Tested opencode against a generated snapshot from this PR via OPENCODE_MODELS_PATH
  • alibaba-coding-plan/* models are discovered and routed correctly

This + #1030 should cover the provider-side fix for anomalyco/opencode#14819 without opencode core hardcoding.

@rekram1-node rekram1-node merged commit 8902640 into anomalyco:dev Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants