GLM 5.2 is Live on CGLM 5.2 is Live on Canopy Wave. Start BuildingArrow
GLM-5.2 API
CodeLLM

GLM-5.2 API

All You Need to Know About GLM-5.2 API

Overview

Model Provider:Zai-org
Model Type:CODE/LLM
State:Ready

Key Specs

Quantization:FP8
Parameters:753B
Context:200K
Pricing:$1.40 input / $4.40 output / $0.26 cache
Try Model API
Quick Start
Reserve Dedicated Endpoint

Introduction

GLM-5.2 is a flagship model built for the era of long-horizon tasks. It has been tested to handle project-scale engineering context, delivering more stable long-task execution, more reliable adherence to engineering standards, and higher success rates in development scenarios. A single task can complete the full development workflow—from requirements to deployable products across multiple platforms.

GLM-5.2 API Usage

Model

Endpoint

zai/glm-5.2


        1
        curl -X POST https://inference.canopywave.io/v1/chat/completions \
      
        2
          -H "Content-Type: application/json" \
      
        3
          -H "Authorization: Bearer $CANOPYWAVE_API_KEY" \
      
        4
          -d '{
      
        5
            "model": "zai/glm-5.2",
      
        6
            "messages": [
      
        7
              {"role": "user", "content": "tell me a story"}
      
        8
            ],
      
        9
            "max_tokens": 1000,
      
        10
            "temperature": 0.7
      
        11
          }'