# GLM-4.7 Flash

> GLM-4.7 Flash is an open-weight fast multilingual text generation model from Z-AI with a 131,072 token context window. It is optimized for dialogue, instruction following, and multi-turn tool calling across 100+ languages.

**ID**: `z-ai/glm-4.7-flash`  
**Creator**: Zhipu AI  
**Category**: text  
**Context**: 128K tokens  
**Pricing**: $0.06 / $0.40 per 1M · billed by your provider (BYOK)  
**Released**: 2025-04-10  
**Links**: [Weights on Hugging Face](https://huggingface.co/zai-org/GLM-4.7-Flash) · [Announcement](https://z.ai/blog/glm-4.7)  
**Web page**: https://anyrouter.dev/model/z-ai/glm-4.7-flash

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

**Tokenizer**: GLM

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

**Aliases**: `zai-org/glm-4.7-flash`

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

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| aihubmix-byok | $0.06/M (list) | $0.40/M (list) |
| deepinfra-byok | $0.06/M (list) | $0.40/M (list) |
| z-ai-byok | $0.06/M (list) | $0.40/M (list) |
| Z-AI Coding Plan | $0.06/M (list) | $0.40/M (list) |
| openrouter-byok | $0.06/M (list) | $0.40/M (list) |
| zenmux-byok | $0.06/M (list) | $0.40/M (list) |
| vercel-byok | $0.07/M (list) | $0.40/M (list) |
| novita-byok | $0.07/M (list) | $0.40/M (list) |
| huggingface-byok | $0.06/M (list) | $0.40/M (list) |
| nousresearch-byok | $0.06/M (list) | $0.40/M (list) |
| respan-byok | $0.06/M (list) | $0.40/M (list) |
| infron-byok | $0.06/M (list) | $0.40/M (list) |
| aimlapi-byok | $0.13/M (list) | $0.53/M (list) |
| nano-gpt-byok | $0.06/M (list) | $0.40/M (list) |
| fluence-byok | $0.09/M (list) | $0.40/M (list) |
| cortecs-byok | $0.06/M (list) | $0.40/M (list) |
| poe-byok | $0.06/M (list) | $0.40/M (list) |
| jiekou-byok | $0.06/M (list) | $0.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.5
- **HLE**: 0.0
- **τ²-Bench Telecom**: 0.9
- **SciCode**: 0.3
- **OTIS Mock AIME**: 0.6

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

## Model card

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

### Links

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

### Sources

1. [GLM-4.7-Flash model card](https://huggingface.co/zai-org/GLM-4.7-Flash) (accessed 2026-11-11)
2. [GLM-4.7 blog (family post linked from the model card)](https://z.ai/blog/glm-4.7) (accessed 2026-11-11)
