GLM 4.6 API
CODELLM

GLM 4.6 API

All You Need To Know About This Model

Overview

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

Key Specs

Quantization:BF16
Parameters:355B
Context:128k
Pricing:$0.45 input / $1.50 output
Try Model
Quick Start
Reserve Dedicated Endpoint

Introduction

As the latest iteration in the GLM series, GLM-4.6 delivers comprehensive enhancements over its predecessor, GLM-4.5, across multiple key domains. Key upgrades include an expanded 200K-token context window to handle more complex tasks, superior real-world coding capabilities, and advanced reasoning with enhanced tool-use integration.

Furthermore, the model demonstrates more capable agentic functions and refined, human-aligned writing. Evaluated on public benchmarks, GLM-4.6 not only shows clear gains over GLM-4.5 but also establishes competitive performance against other leading models, confirming its significant advancements in reasoning, coding, and agentic applications.

GLM 4.6 API Usage

Model

Endpoint

zai/glm-4.6


        1
        curl -X POST https://inference.canopywave.io/v1 \
      
        2
          -H "Content-Type: application/json" \
      
        3
          -H "Authorization: Bearer $CANOPYWAVE_API_KEY" \
      
        4
          -d '{
      
        5
            "model": "zai/glm-4.6",
      
        6
            "messages": [
      
        7
              {"role": "system", "content": "You are a helpful assistant."},
      
        8
              {"role": "user", "content": "please tell me a story."}
      
        9
            ],
      
        10
          }'
      
Contact us

Hi. Need any help?