Languagetext
GLM 5.1
GLM-5.1 is Z.AI's flagship reasoning and agentic-engineering model released April 7, 2026, a 754B-parameter hybrid MoE (GlmMoeDSA) combining linear and standard attention with sparse MoE feed-forward layers. It offers a 200K context window and up to 128K max output, and is designed for sustained multi-hour autonomous execution via iterative experiment-analyze-optimize loops. Reported benchmarks include 58.4% on SWE-Bench Pro and 95.3% on AIME 2026, with thinking mode, function calling, structured output and MCP support. Ideal for complex reasoning, tool use and long-running agentic coding tasks.
Entrada
Top p
01
Reasoning
Temperature
02
Max completion tokens
1200000
Ready to generateReferencia de la API
POSThttps://api.token360.ai/v1/chat/completionscurl https://api.token360.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key" \
-d '{
"model": "glm-5.1",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"temperature": 0.7,
"top_p": 1,
"max_completion_tokens": 4096
}'