OpenRouter model

Z.ai: GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

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

Z.ai: GLM 5.1 model overview

Z.ai: GLM 5.1 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
204.8K tokens
Thinking support
off
Availability status
Available
Catalog ID
openrouter/z-ai/glm-5.1
  • Text input
  • Text output
  • Reasoning
  • Tools
  • Structured output
  • JSON

Run Z.ai: GLM 5.1 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.1

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign Z.ai: GLM 5.1 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.