GLM 4.7 FlashX

zai/glm-4.7-flashx

A chat model with a 200K-token context window, at $0.063 per million input tokens and $0.42 per million output tokens.

Details

Maker
zai
Kind
Chat
Context window
200,000 tokens
Max output
128,000 tokens
Input
$0.063 per million tokens
Cached input
$0.0105 per million tokens, 83% off
Cache write
Same as input
Output
$0.42 per million tokens
Capabilities
Reasoning, tool use
Takes
Text
Returns
Text
Zero data retention
Not on every provider
No training on requests
Not on every provider
Released
2026-01-19

Description

GLM-4.7-Flash balances high performance with efficiency, making it the perfect lightweight deployment option.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai/glm-4.7-flashx",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.