fix(provider): add glm-5.3 to zai_coding provider - #3847
Open
aditzel wants to merge 1 commit into
Open
Conversation
GLM-5.3 was released on 2026-08-14 and is available to all GLM Coding Plan subscribers, but was missing from the hardcoded zai_coding catalog. Adds the glm-5.3 model entry with specs from the official docs: - 1M context window, 128K max output - text-only input - always-on reasoning (low/high/max effort), tools + parallel calls Not added to the general 'zai' provider: the Model API endpoint for GLM-5.3 is not yet live (docs list it as 'available soon').
amitksingh1490
approved these changes
Aug 18, 2026
amitksingh1490
enabled auto-merge (squash)
August 18, 2026 01:59
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
GLM-5.3 was released on 2026-08-14 and is available to all GLM Coding Plan subscribers (announcement, docs), but it is missing from the hardcoded
zai_codingmodel catalog. This PR adds it.Changes
glm-5.3as the first model under thezai_codingprovider, mirroring the existingglm-5.2entry schema:context_length: 1048576 (1M, per official docs)tools_supported,supports_parallel_tool_calls,supports_reasoning:trueinput_modalities:["text"](GLM-5.3 is text-only)low/high/max)Why only
zai_codingand notzaiThe GLM Coding Plan endpoint (
https://api.z.ai/api/coding/paas/v4) serves GLM-5.3 to all plan tiers now. The general Model API endpoint still lists GLM-5.3 as "available soon" (docs), so the entry is intentionally not added to thezaiprovider yet.Notes for reviewers
glm-5.2/glm-5.1to GLM-5.3 server-side (devpack docs), so existing users are unaffected; this just makes the real model ID selectable.reasoning.enabledtothinking: {type: enabled}, which matches the required payload.glm-5.2entry. No existing tests reference zai model lists, so no test changes were needed.Verification
provider.jsonparses cleanly and the new entry uses the identical key set asglm-5.2provider_repo.rsor integration tests