# GLM-5.3-FlashX-Legal

> GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's model for professional legal workflows: document understanding, legal reasoning and task execution across legal research, contract review and document drafting. It adds legal-domain mid-training and post-training, with reinforcement learning in tens of thousands of task environments modeled on real legal work, on top of GLM-5.3-FlashX. It takes text, image, video and file input, returns text, and supports a 1M-token context window.

**ID**: `z-ai/glm-5.3-flashx-legal`  
**Creator**: Zhipu AI  
**Category**: multimodal  
**Context**: 1M tokens  
**Pricing**: $0.37 / $1.25 per 1M · billed by your provider (BYOK)  
**Released**: 2026-10-12  
**Web page**: https://anyrouter.dev/model/z-ai/glm-5.3-flashx-legal

**Input modalities**: text, image, video  
**Output modalities**: text  

**Tokenizer**: GLM

**Capabilities**: chat, streaming, agentic, function-calling, vision

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

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| nousresearch-byok | $0.37/M (list) | $1.25/M (list) |
| openrouter-byok | $0.37/M (list) | $1.25/M (list) |
| vercel-byok | $0.37/M (list) | $1.25/M (list) |

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

## Source

- Upstream docs: https://docs.z.ai/guides/vlm/glm-5.3-flash.md
