[ Z.ai ]

GLM-4.7 Flash

Routed to the cheapest source. At or below list. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

Z.ai logoZ.aiglm-4.7-flashAvailabletextContext window: 200,000 tokens

Input

$0.07

$ / 1M tokens

Output

$0.40

$ / 1M tokens

Cached input

$0.01

$ / 1M tokens

Context window

200,000

tokens

Model ID
glm-4.7-flash
Modality
text
Unit
USD per 1M tokens
Status
Available
Endpoints
/v1/chat/completions
Context window
200,000 tokens
Max output
8,192 tokens
Pricing basis
Routed to the cheapest source. At or below list.

Sources

Zero retentionNo training

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-4.7-flash", "messages": [{"role": "user", "content": "Hello"}]}'