Skip to content

feat(alibaba-cn): add GLM-5.2#2990

Open
callmepopo wants to merge 1 commit into
anomalyco:devfrom
callmepopo:codex/alibaba-cn-glm-5-2
Open

feat(alibaba-cn): add GLM-5.2#2990
callmepopo wants to merge 1 commit into
anomalyco:devfrom
callmepopo:codex/alibaba-cn-glm-5-2

Conversation

@callmepopo

Copy link
Copy Markdown

Summary

Adds the Alibaba Cloud Model Studio supplied glm-5.2 model to the alibaba-cn provider.

This is the Alibaba-supplied model listed in Model Studio as glm-5.2, not the third-party direct ZHIPU/GLM-5.2 listing.

Details

  • Reuses canonical GLM-5.2 metadata through base_model = "zhipuai/glm-5.2"
  • Uses reasoning_options = [] because Alibaba-specific GLM-5.2 reasoning controls have not been provider-audited yet
  • Keeps interleaved.field = "reasoning_content"
  • Sets pricing from the Alibaba Cloud Model Studio detail page

First-party reference:
https://bailian.console.aliyun.com/cn-beijing/?tab=model#/model-market/detail/glm-5.2?serviceSite=asia-pacific-china

Related blocked PR: #2676
Related OpenCode request: anomalyco/opencode#34889

Validation

  • Parsed the added TOML with Python tomllib
  • git diff --check
  • Did not run bun validate locally because Bun is not installed in this environment; GitHub Actions should run the repository validation

@callmepopo callmepopo marked this pull request as ready for review July 3, 2026 01:36
@callmepopo

Copy link
Copy Markdown
Author

Hi maintainers, this PR is now ready for review.

A few notes to make the intent clear:

  • This adds the Alibaba Cloud Model Studio supplied glm-5.2 under the alibaba-cn provider.
  • It intentionally uses reasoning_options = [], following the feedback on feat(alibaba-cn): add GLM-5.2 model #2676 that high/max are not audited Alibaba GLM-5.2 reasoning controls.
  • The pricing reference is the official Alibaba Cloud Model Studio GLM-5.2 detail page already linked in the PR body.
  • The GitHub Actions validate check is passing.

Thanks for taking a look.

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.

1 participant