MyRouter
ModelsDocsSign In
Back to catalog

GLM-5

Provider: 智谱AIType: chat

Description

GLM-5 is an open-source foundation model engineered for complex system engineering and long-horizon Agent tasks, delivering reliable productivity for top-tier programmers. Transcending the boundary from "writing code" to "building systems," it moves beyond traditional snippet generation to offer senior-architect-level planning and execution capabilities. By rejecting the "frontend-heavy, logic-light" approach, GLM-5 demonstrates exceptional reasoning and self-healing abilities in backend refactoring, complex algorithm implementation, and deep debugging—autonomously analyzing logs and iteratively fixing persistent bugs until the system runs. As the first open-source model featuring Opus-class style and system engineering depth, GLM-5 provides extreme logic density alongside the freedom of local deployment and high cost-effectiveness, making it the ideal choice for large-scale backend development and automated Agent construction.

Capabilities

  • function-calling
  • structured-outputs
  • reasoning
  • serverless

Model Info

Model ID
zai-org/glm-5
Context Window
200K
Modalities

Input: Text

Output: Text

Pricing

Input
$0.0100
Output
$0.0320

Quick Start

Use your MyRouter API key with an OpenAI-compatible request body.

curl https://api.jiekou.ai/v1/chat/completions \
  -H "Authorization: Bearer $MYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/glm-5",
    "messages": [{"role":"user","content":"Hello from MyRouter"}]
  }'