feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists - #47391
Merged
Conversation
Z.ai released GLM 5.2 on 2026-06-15, available on OpenRouter: - https://openrouter.ai/z-ai/glm-5.2 GLM-5.2 is Z.ai's flagship for long-horizon tasks, shipping a 1M-token context window (up from 200K on GLM 5.1) and tool calling. Per the OpenRouter API: text-only, context_length 1048576, tools supported. No separate -fast variant exists. The 1M context length, native zai picker entry, setup wizard, and Z.ai coding-plan auth entries for glm-5.2 already landed on main. This fills the remaining gap: the two aggregator surfaces where glm-5.1 appears but glm-5.2 did not. Changes: hermes_cli/models.py - Add z-ai/glm-5.2 to the OpenRouter fallback snapshot (OPENROUTER_MODELS) and the Nous Portal curated list (_PROVIDER_MODELS["nous"]), newest flagship first. Live catalogs surface it automatically when reachable; the fallback lists matter when the manifest fetch fails. website/static/api/model-catalog.json - Regenerated via scripts/build_model_catalog.py (not hand-edited) so the manifest stays in sync with the source lists; guarded by tests/hermes_cli/test_model_catalog.py.
1 task
waefrebeorn
pushed a commit
to waefrebeorn/slermes
that referenced
this pull request
Jul 2, 2026
…-5.2 feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists
habarmc1223-sudo
pushed a commit
to habarmc1223-sudo/hermes-agent-fluxmem
that referenced
this pull request
Jul 8, 2026
…-5.2 feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists
santhreal
pushed a commit
to santhreal/hermes-agent
that referenced
this pull request
Jul 13, 2026
…-5.2 feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists
Gravezzz
pushed a commit
to Gravezzz/hermes-agent
that referenced
this pull request
Jul 21, 2026
…-5.2 feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists
leewenjie
pushed a commit
to leewenjie/hermes-agent
that referenced
this pull request
Aug 7, 2026
…-5.2 feat: add z-ai/glm-5.2 to OpenRouter and Nous model lists
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.
Z.ai released GLM 5.2 on 2026-06-15, available on OpenRouter: https://openrouter.ai/z-ai/glm-5.2
GLM-5.2 is Z.ai's flagship for long-horizon tasks, shipping a 1M-token context window (up from 200K on GLM 5.1) with tool calling. Per the OpenRouter
/api/v1/modelsAPI: text-only,context_length1048576,toolssupported. There is no separate-fastvariant (unlike Opus 4.8).Context: most of GLM 5.2 already landed
The 1M context length (
agent/model_metadata.py), the nativezaipicker entry (_PROVIDER_MODELS["zai"]), the setup wizard (hermes_cli/setup.py), and the Z.ai coding-plan auth entries (hermes_cli/auth.py) forglm-5.2are already onmain. This PR fills the one remaining gap: the two aggregator surfaces wherez-ai/glm-5.1appears butz-ai/glm-5.2did not — mirroring how Opus 4.8 was added to "the OpenRouter fallback snapshot and the Nous Portal curated list."Changes
hermes_cli/models.py— addz-ai/glm-5.2to the OpenRouter fallback snapshot (OPENROUTER_MODELS) and the Nous curated list (_PROVIDER_MODELS["nous"]), newest flagship first. Live catalogs surface it automatically when reachable; the fallback lists matter when the manifest fetch fails.website/static/api/model-catalog.json— regenerated viascripts/build_model_catalog.py(not hand-edited) so the manifest stays in sync with the source lists; guarded bytests/hermes_cli/test_model_catalog.py.Verification
tests/hermes_cli/test_model_catalog.py(28),tests/agent/test_model_metadata.py(105),tests/hermes_cli/test_provider_live_curated_merge.py(9) — 142 passed.z-ai/glm-5.2present in OpenRouter snapshot, Nous list, and zai native list; context resolves to 1,048,576.Infographic