# GLM-4.7 Flash

> GLM-4.7-Flash is a fast and efficient multilingual text generation model with a 131,072 token context window. 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  
**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) |
| hue | $0.06/M | $0.40/M |
| 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) |
| ollama-byok | $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) |

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
