Skip to main content
Z.ai

GLM 5.3 Abliterated API

Z.ai

Z.ai 753B GLM 5.3 model with safety refusal directions removed from the weights, built for coding, terminal agents, and authorized security testing across a 1M-token context window.

z-ai/glm-5.3-abliterated

Documentation

Conversation

Start a conversation

Z.ai 753B GLM 5.3 model with safety refusal directions removed from the weights, built for coding, terminal agents, and authorized security testing across a 1M-token context window.

Enter to send · Shift+Enter for a new line

UnificAlly doesn't store your LLM prompts and replies. We only keep token usage information for billing purposes.

Uses POST /v1/chat/completions with your UnificAlly API key. Supports system and user prompts, tools, streaming, and thinking when available.

Updated

What is the GLM 5.3 Abliterated API?

The GLM 5.3 Abliterated API is live on UnificAlly as z-ai/glm-5.3-abliterated, at $1.15/1M tokens of input and $2.30/1M tokens of output. Built on Z.ai's 753B-parameter GLM 5.3 mixture-of-experts model released August 14, 2026 (open weights published August 28, 2026), GLM 5.3 Abliterated strips safety refusal directions directly from the weights rather than wrapping prompts in a jailbreak. The GLM 5.3 Abliterated API exposes a 1M-token context window, up to 128K output tokens, NVFP4 serving around 75 tokens per second, and OpenAI, Anthropic, and Responses endpoints for authorized security auditing and complex coding workflows.

GLM 5.3 Abliterated API specs

Model IDz-ai/glm-5.3-abliterated
EndpointPOST https://direct-api.unifically.com/v1/chat/completions
Other formatsPOST /v1/responses and POST /v1/messages
Request typesChat, streaming, tool calling, JSON mode
InputsText only
OutputText with separate reasoning_content
Context window1,048,576 tokens
Max output131,072 tokens
Reasoning effortlow (default), high, max
Quantization / speedNVFP4, ~75 tok/s
Input rate$1.15/1M tokens
Output rate$2.30/1M tokens
Cache read rate$0.1725/1M tokens

The GLM 5.3 Abliterated API bills strictly per token with zero monthly fees. Prefix cache hits bill at the lower cache read rate automatically.

How to use the GLM 5.3 Abliterated API

  1. Generate a bearer API key on the API keys page in your UnificAlly dashboard.
  2. Send a POST request to https://direct-api.unifically.com/v1/chat/completions with "model": "z-ai/glm-5.3-abliterated" and your messages array. Calling direct-api.unifically.com avoids Cloudflare proxy timeouts during long reasoning runs.
  3. Read the final response from choices[0].message.content and any chain-of-thought from choices[0].message.reasoning_content.
curl -X POST https://direct-api.unifically.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "z-ai/glm-5.3-abliterated",
    "reasoning_effort": "high",
    "messages": [
      { "role": "user", "content": "Review this JWT verification handler for signature confusion bugs." }
    ]
  }'

The endpoint returns a standard OpenAI chat completion object with token usage:

{
  "id": "22ddc3d9-dbb0-49a4-9883-b3485b5d916a",
  "object": "chat.completion",
  "created": 1795777913,
  "model": "z-ai/glm-5.3-abliterated",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Pin the expected algorithm in jwt.verify(..., { algorithms: ['HS256'] }) and reject empty keys."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 59,
    "completion_tokens": 22,
    "total_tokens": 81,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0
    }
  }
}

GLM 5.3 Abliterated API parameters

ParameterTypeDefaultWhat it does
modelstringrequiredModel identifier, z-ai/glm-5.3-abliterated
messagesarrayrequiredNon-empty list of { role, content } messages
reasoning_effortstringlowThinking depth: accepts low, high, or max only
streambooleanfalseStreams answer and reasoning_content deltas as SSE
stream_optionsobjectnonePass { "include_usage": true } to receive token usage on streams
max_tokensintegernoneMaximum completion tokens up to 131072 (alias max_completion_tokens)
temperaturenumbernoneSampling temperature between 0 and 2
top_pnumbernoneNucleus sampling threshold
stopstring or arraynoneUp to four stop sequences
toolsarraynoneOpenAI-format function tool schemas
tool_choicestring or objectnoneTool selection mode: none, auto, required, or named tool
response_formatobjectnoneSet { "type": "json_object" } for JSON output

Full request schemas for /v1/chat/completions, /v1/responses, and /v1/messages live in the GLM 5.3 Abliterated API documentation.

What GLM 5.3 Abliterated does well

Z.ai's GLM-5.3 model card highlights heavy reinforcement learning post-training over GLM-5.2 specifically for terminal agents and vulnerability discovery. On Z.ai's published benchmarks, base GLM-5.3 scores 84.5% on CyberGym, 105 / 130 on ExploitGym (2h), 54.4% on ExploitBench, 66.9% on DeepSWE v1.1, 88.2% on Terminal-Bench 2.1, and 1769 on GDPval-AA v2, while independent Artificial Analysis Terminal-Bench 4.0 puts GLM-5.3 (Max) at 41.9%. Removing the refusal direction lets security engineers and red-team harnesses ask vulnerability-reproduction, exploit-verification, and defensive code-audit questions without triggering canned policy stops mid-loop.

GLM 5.3 Abliterated limitations

Abliteration removes refusal behavior, not error modes: the GLM 5.3 Abliterated API carries the same knowledge ceiling and hallucination risks as the base checkpoint, and quantized NVFP4 weights trade tiny numerical precision for inference throughput. Unlike GLM 5.3 Flash Abliterated, z-ai/glm-5.3-abliterated accepts text only. Passing medium, minimal, xhigh, or off to reasoning_effort returns a 400 error, so clients using the GLM 5.3 Abliterated API must choose from low, high, or max. Every call remains governed by UnificAlly Terms of Service: authorized systems and lawful testing only.

When to use GLM 5.3 Abliterated

Pick the GLM 5.3 Abliterated API when you need Z.ai's largest coding and cyber-research model in text-only agent loops, exploit-validation harnesses, or static-analysis pipelines where standard safety refusals break automation. When you need image understanding or a lower token rate for high-volume sweeps, switch to GLM 5.3 Flash Abliterated or DeepSeek V4.1 Flash Abliterated Fast.