# Glm (latest)

> Always resolves to the newest live Glm model — currently GLM-5.3 (z-ai/glm-5.3). GLM-5.3 is Z.AI's open-weight reasoning model for coding and agentic workflows. It targets complex software engineering, long-running agents, and vulnerability analysis. It uses the same base model as GLM-5.2 with scaled post-training for stronger coding and token efficiency.

**ID**: `z-ai/glm-latest`  
**Creator**: Zhipu AI  
**Category**: text  
**Context**: 1M tokens  
**Family alias**: always resolves to the newest live family member — currently [`z-ai/glm-5.3`](https://anyrouter.dev/model/z-ai/glm-5.3). Specs below are z-ai/glm-5.3's.  
**Fallback order**: `z-ai/glm-5.3` → `z-ai/glm-5.2` → `z-ai/glm-5.1` → `z-ai/glm-5` → `z-ai/glm-4.7` → `z-ai/glm-4.6` → `z-ai/glm-4.5`  
**Pricing**: $0.06 / $0.22 per 1M · billed by your provider (BYOK)  
**Released**: 2026-08-14  
**Links**: [Weights on Hugging Face](https://huggingface.co/zai-org/GLM-5.3) · [Announcement](https://z.ai/blog/glm-5.3)  
**Web page**: https://anyrouter.dev/model/z-ai/glm-latest

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

**Tokenizer**: GLM

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

**Aliases**: `zai-org/glm-5.3`

## 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-latest",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| aihubmix-byok | $0.06/M (list) | $0.22/M (list) |
| router-byok | $1.40/M (list) | $4.40/M (list) |
| melious | $1.14/M | $3.42/M |
| openrouter-byok | $0.07/M (list) | $1.40/M (list) |
| vercel-byok | $1.40/M (list) | $4.40/M (list) |
| deepinfra-byok | $0.90/M (list) | $4.00/M (list) |
| novita-byok | $1.40/M (list) | $4.40/M (list) |
| siliconflow-byok | $1.40/M (list) | $4.40/M (list) |
| gmicloud-byok | $1.40/M (list) | $4.40/M (list) |
| huggingface-byok | $1.40/M (list) | $4.40/M (list) |
| nvidia-byok | $1.40/M (list) | $4.40/M (list) |
| nousresearch-byok | $0.91/M (list) | $2.86/M (list) |
| onetoken-byok | $0.05/M (list) | $0.15/M (list) |
| runinfra-byok | $1.30/M (list) | $4.20/M (list) |
| haimaker-byok | $0.65/M (list) | $2.05/M (list) |
| beatapi-byok | $0.98/M (list) | $3.08/M (list) |
| tokenharbor-byok | $1.40/M (list) | $4.40/M (list) |
| river-byok | $1.12/M (list) | $3.52/M (list) |
| computrix-byok | $1.40/M (list) | $4.40/M (list) |
| inference-net-byok | $0.90/M (list) | $3.00/M (list) |
| zenmux-byok | $1.40/M (list) | $4.40/M (list) |
| requesty-byok | $1.40/M (list) | $4.40/M (list) |
| phala-byok | $1.40/M (list) | $4.40/M (list) |
| infron-byok | $0.68/M (list) | $2.20/M (list) |
| moonmath-byok | $1.40/M (list) | $4.20/M (list) |
| inferx-byok | $1.40/M (list) | $4.40/M (list) |
| getvibe-byok | $0.38/M (list) | $1.19/M (list) |
| itera-byok | $0.82/M (list) | $2.88/M (list) |
| llmgateway-byok | $0.50/M (list) | $2.00/M (list) |
| ollama-byok | $1.40/M (list) | $4.40/M (list) |
| orcarouter-byok | $1.40/M (list) | $4.40/M (list) |
| opengateway-byok | $1.40/M (list) | $4.40/M (list) |
| opencode-go-byok | $1.40/M (list) | $4.40/M (list) |
| opencode-zen-byok | $1.40/M (list) | $4.40/M (list) |
| wafer-byok | $1.40/M (list) | $4.40/M (list) |
| aimlapi-byok | $1.40/M (list) | $4.40/M (list) |
| chutes-byok | $1.40/M (list) | $4.40/M (list) |
| nano-gpt-byok | $1.40/M (list) | $4.40/M (list) |
| edenai-byok | $1.40/M (list) | $4.40/M (list) |
| ofox-byok | $1.40/M (list) | $4.40/M (list) |
| abacus-byok | $1.40/M (list) | $4.40/M (list) |
| hilinkup-byok | $1.40/M (list) | $4.40/M (list) |
| fluence-byok | $0.48/M (list) | $0.11/M (list) |
| cortecs-byok | $1.40/M (list) | $4.40/M (list) |
| poe-byok | $1.40/M (list) | $4.40/M (list) |
| qiniu-byok | $1.40/M (list) | $4.40/M (list) |
| jiekou-byok | $1.40/M (list) | $4.40/M (list) |
| nearai-byok | $1.40/M (list) | $4.40/M (list) |

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

## Benchmarks

- **GPQA Diamond**: 0.9
- **SciCode**: 0.6
- **OTIS Mock AIME**: 0.9
- **CursorBench**: 0.4
- **SimpleQA (verified)**: 0.4

Benchmark data from [Epoch AI](https://epoch.ai/benchmarks) (CC-BY 4.0).

## Model card

- License: GLM-5.3 License, open weights (https://huggingface.co/zai-org/GLM-5.3) [1]

### Links

- announcement: https://z.ai/blog/glm-5.3
- model card: https://huggingface.co/zai-org/GLM-5.3

### Sources

1. [GLM-5.3 model card](https://huggingface.co/zai-org/GLM-5.3) (accessed 2026-11-11)
2. [GLM-5.3 blog](https://z.ai/blog/glm-5.3) (accessed 2026-11-11)
