z-ai/glm-4.6
Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...
Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.
curl https://tokenroute.app/api/v1/chat/completions \
-H "Authorization: Bearer $TOKENROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-4.6",
"messages": [{ "role": "user", "content": "Hello!" }]
}'