Skip to content

feat(alibaba-coding-plan-cn): add Coding Plan provider for China region#1030

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
Mingholy:feat/alibaba-coding-plan-cn
Mar 7, 2026
Merged

feat(alibaba-coding-plan-cn): add Coding Plan provider for China region#1030
rekram1-node merged 1 commit intoanomalyco:devfrom
Mingholy:feat/alibaba-coding-plan-cn

Conversation

@Mingholy
Copy link
Copy Markdown
Contributor

Summary

Add Alibaba Coding Plan provider for China region (alibaba-coding-plan-cn). This complements #1023 which added the global region provider (alibaba-coding-plan), together providing full China/Global coverage for the Coding Plan service.

Changes

  • Added providers/alibaba-coding-plan-cn/provider.toml
  • Added providers/alibaba-coding-plan-cn/logo.svg
  • Added model configs with corrected context/output limits:
    • qwen3.5-plus
    • qwen3-max-2026-01-23
    • qwen3-coder-next
    • qwen3-coder-plus (context: 1,000,000)
    • glm-5 (output: 16,384)
    • glm-4.7 (output: 16,384)
    • kimi-k2.5 (output: 32,768)

Details

The Coding Plan service requires separate providers for China and Global regions due to different endpoints:

Provider Region Endpoint
alibaba-coding-plan Global https://coding-intl.dashscope.aliyuncs.com/v1 (#1023)
alibaba-coding-plan-cn China https://coding.dashscope.aliyuncs.com/v1 (this PR)

Model specifications follow the official Coding Plan documentation. The limits have been carefully set according to the latest provider specifications:

  • qwen3-coder-plus: context 1,000,000 tokens
  • glm-5: max output 16,384 tokens
  • glm-4.7: max output 16,384 tokens
  • kimi-k2.5: max output 32,768 tokens

Validation

  • bun validate passes

Update model limits:
- qwen3-coder-plus: context 1_048_576 → 1_000_000
- glm-5: output 131_072 → 16_384
- glm-4.7: output 131_072 → 16_384
- kimi-k2.5: output 65_536 → 32_768

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
@jnd0
Copy link
Copy Markdown

jnd0 commented Feb 28, 2026

Local verification from my side:

  • bun validate passes on this branch
  • Smoke-tested in opencode by pointing OPENCODE_MODELS_PATH to a generated snapshot from this PR
  • alibaba-coding-plan-cn/* models are discoverable and model initialization path is correct

This cleanly complements #1023 for the opencode request in anomalyco/opencode#14819.

@rekram1-node rekram1-node merged commit b3fb902 into anomalyco:dev Mar 7, 2026
1 check passed
@qzzhu87-spec
Copy link
Copy Markdown

The model MiniMax2.5 provided by the plan is missing in the choice

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.

4 participants