Repository navigation
Conversation
GLM-5.3 (released 2026-08-14) ships one upstream model id with effort as a reasoning_effort request param (low|high|max, default max); thinking can no longer be disabled. Adds glm-5.3/glm-5.3-high/glm-5.3-low to GLM_SHARED_MODELS (glm/glm-cn/glmt) and glm-5.3 base to the zai catalog. - GlmExecutor: parseGlm52Effort generalized to parseGlmEffortTier; 5.3 tiers stay on the OpenAI coding transport and inject reasoning_effort + thinking.type=enabled; 5.2 tiers keep the Anthropic effort beta path - modelSpecs + GLM_PRICING entries for the three ids - default context window (1M) and pricing mirrored from GLM-5.2 (same base model) until Z.ai publishes official 5.3 specs
phuongddx
force-pushed
the
feat/glm-5.3
branch
from
August 14, 2026 07:52
f703216 to
314b4fd
Compare
GLM-5.3's reasoning_effort accepts low|high|max but only -high/-low had aliases; base glm-5.3 relied on the upstream default staying max. Add glm-5.3-max so the max tier is pinned explicitly (survives an upstream default change) and mirrors the glm-5.2-max UX.
Collaborator
|
Deferido para revalidação do head atual. A rodada anterior registrou um hold de ownership, mas a inspeção atual não confirmou esse worktree; por favor, reconfirme o head e os checks antes da decisão final. |
thinh0704hcm
added a commit
to thinh0704hcm/OmniRoute
that referenced
this pull request
Aug 17, 2026
glm-5.3 adds 4 models to provider inventory; cloudflare-playground joins the family combo set. Tiered rotation timeout raised to 15s under full-suite contention (was 5s, flaky since W3 catalog expansion). Inspired-by: cheaper-inference#10358, cheaper-inference#10442
diegosouzapw
added a commit
that referenced
this pull request
Aug 20, 2026
Merged — clean extraction from #10358's genuinely new content (see PR body for the rationale: an unrelated .planning/codebase/ scaffolding dump was dropped). typecheck/file-size/changelog/provider-consistency gates clean, 18/18 tests passing.
Collaborator
|
Thanks for this — GLM-5.3 support is solid and well-tested. The branch carried one unrelated commit — Extracted the real feature commit unmodified into a clean PR: #10896 (merged, with Closing this one as superseded by #10896 — full credit is there, nothing of yours is lost. |
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
Merged — clean extraction from cheaper-inference#10358's genuinely new content (see PR body for the rationale: an unrelated .planning/codebase/ scaffolding dump was dropped). typecheck/file-size/changelog/provider-consistency gates clean, 18/18 tests passing.
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.
What
Adds GLM-5.3 support (released 2026-08-14, https://z.ai/blog/glm-5.3) across the z.ai first-party providers.
Upstream ships one model id
glm-5.3— effort is now a request parameter (reasoning_effort:low|high|max, defaultmax) on the coding chat/completions endpoint, andthinking.type: "disabled"is no longer accepted. Per operator decision, OmniRoute keeps the 5.2 tier UX withglm-5.3-high/glm-5.3-lowaliases (base id = upstream defaultmax).Changes
open-sse/config/glmProvider.ts—glm-5.3,glm-5.3-high,glm-5.3-lowinGLM_SHARED_MODELS(→ glm / glm-cn / glmt)open-sse/config/providers/registry/zai/index.ts— baseglm-5.3only (tiers are GlmExecutor aliases;zaisends ids verbatim)open-sse/executors/glm.ts—parseGlm52Effortgeneralized toparseGlmEffortTier: 5.2 tiers keep the Anthropic-transport effort beta path (unchanged); 5.3 tiers stay on the OpenAI coding transport and injectreasoning_effort+thinking.type=enabledsrc/shared/constants/modelSpecs.ts— specs for the 3 ids +AUTHORITATIVE_CONTEXT_WINDOW_MODEL_IDSsrc/shared/constants/pricing/shared-tiers.ts—GLM_PRICINGentries for the 3 idsdocs/reference/PROVIDER_REFERENCE.md— regenerated (npm run gen:provider-reference)Spec caveats (unpublished upstream)
glm-5.3[1m]suffix for 1M but not the default; 1M mirrored from GLM-5.2 (same base model) per operator decision — correct when the official spec lands.Tests
tests/unit/glm-5.3-catalog-and-effort-tiers.test.ts(14 tests) — catalog presence on glm/glm-cn/glmt/zai, spec + pricing entries, executor tier resolution (reasoning_efforthigh/low + thinking enabled), base-id passthrough, 5.2 Anthropic-tier regression guard. Written failing-first, then implemented.node --import tsx/esm --test),npm run lint(0 errors),npm run typecheck:core,npm run check:provider-consistency.Sources