# GLM-4.5

> GLM-4.5 is Z-AI's foundational model for agent-oriented applications. A Mixture-of-Experts (MoE) model with 355B total parameters and 32B active parameters per forward pass, trained on 15 trillion tokens. Features a 128K context window (96K max output), hybrid reasoning modes (Thinking / Non-Thinking), and strong performance in tool invocation, web browsing, software engineering, and agent workflows. Supports 100+ languages.

**ID**: `z-ai/glm-4.5`  
**Creator**: Zhipu AI  
**Category**: text  
**Context**: 128K tokens  
**Pricing**: $0.60 / $2.20 per 1M · billed by your provider (BYOK)  
**Released**: 2025-04-01  
**Web page**: https://anyrouter.dev/model/z-ai/glm-4.5

**Input modalities**: text  
**Output modalities**: text  

**Tokenizer**: GLM

**Capabilities**: chat, reasoning, streaming, function-calling, coding, thinking

**Aliases**: `zai-org/GLM-4.5`

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-4.5",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| z-ai-byok | $0.60/M (list) | $2.20/M (list) |
| Z-AI Coding Plan | $0.60/M (list) | $2.20/M (list) |
| huggingface-byok | $0.60/M (list) | $2.20/M (list) |
| cline-byok | $0.60/M (list) | $2.20/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.
