Skip to content

[Feat] Add GLM 5.3 support to Z AI and OpenCode Go - #1244

Merged
taltas merged 3 commits into
mainfrom
feature/glm-5-3-2onbhb0eop9fa
Aug 14, 2026
Merged

[Feat] Add GLM 5.3 support to Z AI and OpenCode Go#1244
taltas merged 3 commits into
mainfrom
feature/glm-5-3-2onbhb0eop9fa

Conversation

@zoomote

@zoomote zoomote Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

​Opened on behalf of @taltas. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Added glm-5.3 to the native Z AI provider for both International Coding and China Coding Plan entrypoints while keeping it unavailable on the standard pay-as-you-go API entrypoints.
  • Added its 1M context window, 128K output limit, required Low/High/Max reasoning with Max as the default, prompt-cache support, configurable output limit, and reasoning preservation.
  • Applied GLM-5.2 pricing provisionally as requested: $1.40 input / $0.26 cached input / $4.40 output internationally, and $0.68 / $0.13 / $2.28 for China mainland.
  • Kept the existing OpenCode Go catalog support and LiteLLM reasoning preservation, with tests covering endpoint filtering, regional metadata, standard API fallback, pricing, runtime request behavior, and selector normalization.

Why this change was made

GLM-5.3 is released for all Z AI Coding Plan subscribers even though Z AI's standard API rollout and official per-token prices are still pending. The provider catalogs now match that phased availability instead of limiting support to OpenCode Go or exposing an unsupported standard API route.

Impact

Z AI Coding Plan and OpenCode Go users can select GLM-5.3 with accurate limits and reasoning controls. Existing disabled reasoning settings are normalized to Max because GLM-5.3 requires reasoning, while standard API users continue to see only models officially available on those endpoints.

Related PRs

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@taltas
taltas marked this pull request as ready for review August 14, 2026 15:20
taltas
taltas previously approved these changes Aug 14, 2026
@github-actions github-actions Bot added the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 14, 2026
@github-actions github-actions Bot removed the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 14, 2026
@zoomote zoomote Bot changed the title [Feat] Add GLM 5.3 support through OpenCode Go [Feat] Add GLM 5.3 support to Z AI and OpenCode Go Aug 14, 2026
@github-actions github-actions Bot added the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 14, 2026
@zoomote

zoomote Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Fixed both failing Codecov patch checks in commit 61fc770f3. Added focused hook coverage for the default International Coding catalog, China Coding GLM-5.3 metadata, and fallback when GLM-5.3 is unavailable on the standard International and China API endpoints. Both codecov/patch checks and the full GitHub CI suite now pass.

@github-actions github-actions Bot removed the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 14, 2026
@github-actions github-actions Bot added the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 14, 2026
@taltas
taltas added this pull request to the merge queue Aug 14, 2026
Merged via the queue into main with commit c35f6e8 Aug 14, 2026
15 checks passed
@taltas
taltas deleted the feature/glm-5-3-2onbhb0eop9fa branch August 14, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR changes are ready and waiting for maintainer re-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant