Back to model catalog

Z.ai

GLM-4 Flash

Enterprise-friendly Chinese model route with good reasoning, coding and low-latency deployment options.

reasoningcodingfastjson

Best use cases

internal tools
knowledge assistants
coding support
business workflows

OpenAI-compatible request

Set baseURL to https://thesmartoken.com/v1 and pass the model ID below.

curl -s "https://thesmartoken.com/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_SMARTOKEN_KEY" \
  -d '{
    "model": "glm-4-flash",
    "stream": true,
    "messages": [
      { "role": "user", "content": "Summarize this product idea in three bullets." }
    ]
  }'