OpenRouter model

Z.ai: GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Provider
OpenRouter
Availability
Available
Model ID
z-ai/glm-5.2
Snapshot
2026-10-07

Z.ai: GLM 5.2 model overview

Z.ai: GLM 5.2 is listed in the public Swarm catalog through OpenRouter. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.

Provider
OpenRouter
Family
OpenRouter
Context window
1.05M tokens
Thinking support
off · high · xhigh
Availability status
Available
Catalog ID
openrouter/z-ai/glm-5.2
  • Text input
  • Text output
  • Reasoning
  • Tools
  • Structured output
  • JSON

Run Z.ai: GLM 5.2 in Swarm

Verified CLI workflow & multi-agent architecture

Quickstart Guide →
bash — swarm run
$swarm ctl model set --provider openrouter --model openrouter/z-ai/glm-5.2

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign Z.ai: GLM 5.2 to specialized system roles in ~/.swarm/config.json:

  • Primary / Planner: Orchestrates full task DAGs and multi-stage pipelines.
  • Coder Subagent: Generates code and unit tests inside private Git worktrees.
  • Finder Subagent: Performs read-only code search, symbol discovery, and mapping.
← All OpenRouter models

Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.