GLM 5.1
Model Information
Display Name: GLM 5.1
API Model ID: zai-org/glm-5.1
Category: Text To Text
Description: GLM 5.1 is Z.AI''s latest flagship model, purpose-built for agentic coding and long-horizon tool use. It delivers state-of-the-art performance on software engineering benchmarks while sustaining coherent optimization across hundreds of tool-calling rounds. **Key Features:** - 202K token context window - Advanced agentic coding and software engineering - Function calling and structured JSON outputs - Optimized for extended multi-turn tool use (hundreds of rounds, thousands of tool calls) - Bilingual: English and Chinese - FP4 quantization for efficient deployment **Capabilities:** - State-of-the-art code generation, editing, and debugging - Repository-level reasoning and refactoring - Agentic workflows with persistent tool orchestration - Terminal and shell command generation - Web browsing and search-driven research - Cybersecurity and CTF-style reasoning - Long-horizon planning and task decomposition **Best For:** - Autonomous coding agents and IDE assistants - SWE-Bench-style repository tasks - Multi-step agentic pipelines - Terminal automation and DevOps workflows - Long-running tool-calling sessions **Technical Specs:** - Architecture: Transformer (parameter counts undisclosed) - Quantization: FP4 - Context length: 202,752 tokens - License: MIT **Benchmarks:** - SWE-Bench Pro: 58.4% (state-of-the-art) - NL2Repo: 42.7% - Terminal-Bench 2.0: 63.5% - CyberGym: 68.7% - BrowseComp: 68.0%
Context Window: 202,752 tokens
Max Output: 8,192 tokens
How to Use This Model
To use GLM 5.1 via the HInow.ai API, use the model ID: zai-org/glm-5.1
API Request Example (Chat/Text)
POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"model": "zai-org/glm-5.1",
"messages": [
{"role": "user", "content": "Your message here"}
]
}
Pricing
- input: $2.10
- output: $6.60
- cached: $0.39
Available Parameters
- temperature: Controls randomness (0-2). Higher = more creative, lower = more deterministic. Default: 0.7 (Options: 0, 0.3, 0.5, 0.7, 1.0, 1.5, 2.0)
- top_p: Nucleus sampling threshold (0-1). Default: 0.9 (Options: 0.1, 0.5, 0.7, 0.9, 0.95, 1.0)
- top_k: Limits sampling to top K tokens. Default: off (Options: 10, 20, 40, 50, 100)
- max_tokens: Maximum tokens to generate. Default: 4096 (Options: 256, 512, 1024, 2048, 4096, 8192)
- response_format: Output format for structured responses (Options: text, json_object, json_schema)
- tools: Function/tool definitions for agentic workflows
- stop: Up to 4 sequences where the API stops generating further tokens
- thinking: Chain-of-thought reasoning. Default: off (Options: on, off)
- reasoning_effort: Thinking budget when reasoning is on (Options: low, medium, high)
Quick Reference
To use this model, set: "model": "zai-org/glm-5.1"
Featured: No
Documentation: https://hinow.ai/models/zai-org/glm-5.1
API Endpoint: https://api.hinow.ai/v1



