MODELS / Z.AI

GLM 4.7 Flash

GLM-4.7-Flash balances high performance with efficiency, making it the perfect lightweight deployment option. Beyond coding, it is also recommended for creative writing, translation, long-context tasks, and roleplay.

TEXTREASONINGREASONINGTOOL-USEIMPLICIT-CACHING
200K
CONTEXT WINDOW
131K
MAX OUTPUT TOKENS
$0.07 / 1M tokens
INPUT PRICE
$0.4 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/zai/glm-4.7-flash",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: textOUTPUT: textRELEASED: 2026-01-19