GLM 5.1
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
Specifications
Modalities
Supported Parameters
Max Output Tokens
128,000Reasoning Configuration
- Default
- Thinking on
- Turning thinking off
- Possible (reasoning.enabled: false)
Data policy
- Prompt retention
- Unknown — we could not confirm
- Training
- Unknown — not declared
"Unknown" does not mean "safe". It means we could not confirm it.
Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.
Measured performance
Measured through FastMetal's own gateway over the last 30 days (482 first-response samples).
Time to first response is measured to the first streamed chunk; throughput counts all output tokens, including reasoning tokens. These are observations, not a performance guarantee.
Code Examples
curl https://api.fastmetal.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!"}]
}'How GLM 5.1 actually answers
Real responses to our standard prompts, recorded on FastMetal.
Count the number of 'r's in 'strawberry'
Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.
Debug This Error
I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…
Code Review
Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…
Frequently asked questions
- Is GLM 5.1 available on FastMetal?
- Not at the moment. GLM 4.7, from the same lab, is available on the FastMetal API today.
- What is the context window of GLM 5.1?
- 204,800 tokens, shared between the prompt and the response.