Public model route · Z.ai

GLM 5.1 security profile

Z.ai model route with a 204,800-token context window. Open weights. Maps to 8 MITRE ATLAS techniques.

Model record

Provider
Z.ai
Record ID
z-ai/glm-5.1
Version label
z-ai/glm-5.1-20260406
Input modalities
text
Output modalities
text
Context window
204,800 tokens
First listed
Tool calling
Advertised
Reasoning
Advertised
Input per million tokens
$0.966
Output per million tokens
$3.036
Inventory snapshot

Company marketplace metadata, not an intelligence or security evaluation. First-listed date is not asserted to be the model's release date. Advertised parameters concern this route; price is per million tokens and excludes non-token fees.

Inspect GLM 5.1 in Interactive Model Observatory

Weight provenance

Open weights

The public OpenRouter listing for this route names the Hugging Face repository zai-org/GLM-5.1, which the Hub API confirmed public on 2026-11-28. Download availability does not certify license terms, hosting settings or safety.

Reference URI: https://huggingface.co/zai-org/GLM-5.1 · Checked

ATLAS attack surface

Z.ai: GLM 5.1 maps to 8 MITRE ATLAS techniques and 17 mitigations across 5 surface vectors. Profiles are derived from model metadata (modalities, tool calling, reasoning, context window, and weight access). They show where techniques apply, not measured weaknesses.

Deployment posture
Open-weights (self-hostable)
ATLAS techniques in scope
8
Mitigations to review
17
Framework
MITRE ATLAS 2026.10

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. The command below runs the packs that match this route's attack-surface vectors through OpenRouter's OpenAI-compatible API.

refract scan \
  --target "openai_compat:z-ai/glm-5.1" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery baseline,system_prompt_extraction,mcp_tool_schema_boundary,reasoning_trace_leak
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Primary source & citation record

Common questions

Which MITRE ATLAS techniques apply to GLM 5.1?
GLM 5.1 maps to 8 MITRE ATLAS techniques through 5 attack-surface vectors derived from its listed capabilities: Denial of AI Service (AML.T0029), Craft Adversarial Data: White-Box Optimization (AML.T0043.000), Full AI Model Access (AML.T0044), LLM Prompt Injection (AML.T0051), AI Agent Tool Invocation (AML.T0053), LLM Jailbreak (AML.T0054), Discover LLM System Information: System Prompt (AML.T0069.002), and Outputs from AI Models (AML.T0135). The mapping shows where techniques apply, not measured weaknesses.
Does GLM 5.1 support tool calling?
Yes. The Nov 24, 2026 OpenRouter inventory snapshot lists tool calling as advertised for this route, which adds the tool-calling and confused-deputy attack surface (LLM Prompt Injection (AML.T0051) and AI Agent Tool Invocation (AML.T0053)).
Does GLM 5.1 have open weights?
Yes. The public OpenRouter listing for this route names the Hugging Face repository zai-org/GLM-5.1, which the Hub API confirmed public on 2026-11-28. Download availability does not certify license terms, hosting settings or safety.
What is the context window of GLM 5.1?
204,800 tokens, according to the Nov 24, 2026 OpenRouter inventory snapshot. At 128K tokens or more, many-shot jailbreaking and context-stuffing techniques apply.
How can I test GLM 5.1 for prompt injection and jailbreaks?
Run Refract against the OpenRouter route: refract scan --target "openai_compat:z-ai/glm-5.1" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery baseline,system_prompt_extraction,mcp_tool_schema_boundary,reasoning_trace_leak, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.