Skip to main content

Try GLM 5.1 in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: zai-org-glm-5-1 zai-org/GLM-5.1 is a Mixture-of-Experts flagship language model from Z AI built for agentic engineering, with strong coding capabilities and sustained performance over long-horizon tasks spanning hundreds of iteration rounds. GLM-5.1 supports function calling and a long context window, making it well suited for code assistance, agentic systems, and other workflows that require reasoning across many steps. It is offered in an FP8 variant for efficient serving.
MetricValue
Parameter Count743 billion
Mixture of ExpertsYes
Context Length202,000 tokens
MultilingualYes
Quantized*Yes
Precision*FP8
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
curl -X POST https://hub.oxen.ai/api/ai/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "zai-org-glm-5-1",
  "messages": [
    {
      "role": "user",
      "content": "Hello, what can you do?"
    }
  ]
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/zai-org-glm-5-1

Request parameters

This model follows the standard OpenAI chat completions request body. See the chat completions reference for the full parameter list.