Zhipu AI

GLM-5.3 Uncensored API

Uncensored

GLM-5.3 Uncensored is the uncensored version of GLM-5.3, available through the XiuAI API as glm-5.3-uncensored. It builds on Z.ai’s open-weight, 753B-parameter GLM-5.3 for lawful fiction, roleplay and security research that the original model tends to refuse. Reasoning, tool calling and JSON Schema output passed route tests, with usage-based billing.[1][4][8]

glm-5.3-uncensored

Model overview

Published provider specifications. Available features depend on the current API route.

Input
text
Output
Text
Context
1M
API routes
OpenAI-compatible API / Responses API / Anthropic Messages

How it relates to GLM-5.3

GLM-5.3 is a text model whose weights Z.ai publishes on Hugging Face. Z.ai says it shares GLM-5.2’s base model and that all of its gains come from post-training, especially in complex coding and long-horizon tasks. It is a 753B-parameter mixture-of-experts model with text input and text output.[1]

“Uncensored” describes open weights whose original refusal behavior has been weakened. Abliteration, a common community method, builds on research showing that refusal in chat models is largely mediated by a single direction in the residual stream; removing that direction from the weights sharply reduces refusals without retraining. Third parties make these versions from the open weights; Z.ai does not release them.[3][4][1]

Removing the refusal direction can also affect other capabilities: the author of the abliteration guide saw benchmark scores drop after the edit and needed further training to recover them. GLM-5.3’s published results therefore do not describe the uncensored version, so glm-5.3-uncensored was tested on its own route; see Tested capabilities.[4][8]

Where it fits

It suits lawful work that the original model tends to refuse: fiction and scripts with mature themes such as violence or crime, interactive fiction and roleplay, authorized security research and red-team testing, and research into refusal behavior itself. Its coding and long-horizon agent capabilities still come from the GLM-5.3 base model.[5][1]

Products for minors or the general public, and work that depends on a provider’s safety alignment and service commitments, are better served by a provider model. If you still need the uncensored version there, add age checks, content moderation and human review in your application.[3][6]

Tested capabilities

GLM-5.3 Uncensored was tested on this route on 2026-11-29. Through Chat Completions, text, reasoning, tool calling (including answering after a tool result), JSON mode, strict JSON Schema output and streaming all passed. Text, tool calling and streaming also passed through the Responses API and Anthropic Messages. It accepts text only; a request that includes an image returns 400.[8]

For long documents, GLM-5.3 Uncensored accurately retrieved details scattered across an input of about 130,000 tokens. An input of about 260,000 tokens was accepted, but not every detail came back correctly. For longer material, split it up or retrieve the relevant parts before asking.[8]

Thinking and structured output

The GLM-5.3 model card lists three reasoning_effort levels, low, high and max, with max as the default when the field is omitted, and Z.ai’s own API keeps thinking on for 5.3. In testing, glm-5.3-uncensored also always thinks before answering, and setting thinking.type to disabled does not turn it off. With reasoning_effort set to low or high, simple questions used 10 or fewer thinking tokens, down from dozens to hundreds without it. Thinking tokens are billed as output, so set reasoning_effort explicitly for everyday tasks.[1][2][8]

For strict JSON, use response_format with json_schema in Chat Completions: in testing, the output followed the schema even when the prompt asked it to break the schema. With json_schema in the Responses API, set reasoning.effort to low, because the default level can spend all 8,192 output tokens on thinking. For this model, structured-output parameters in Anthropic Messages do not constrain the result, so validate it in your application.[8]

Usage boundaries

An uncensored model changes how readily the model refuses, not what the law or the terms allow. Under the XiuAI Terms of Service, you may not use the service for illegal activity, fraud, infringement, harassment, distributing malicious code or attacking systems, and violations can lead to suspension of API keys or accounts.[6]

Outputs can be inaccurate and may include offensive or harmful material. When you serve end users, you are responsible for moderation and compliance, and you should not treat outputs as legal, medical, financial or security conclusions.[6]

Compared with self-hosting

The GLM-5.3 weights are published on Hugging Face. The full model has 753B parameters, and Z.ai lists serving frameworks such as vLLM and SGLang. Self-hosting needs multi-GPU servers and ongoing operations, which suits teams that want full control over deployment.[1]

Calling GLM-5.3 Uncensored through XiuAI skips downloading weights and provisioning GPUs. You use your existing API key, pay for input, output and cache tokens, and reach the same ID through the OpenAI-compatible Chat Completions, Responses and Anthropic Messages APIs.[7]

How billing works

GLM-5.3 Uncensored is billed at the current rates on this page for input, output and cache-read tokens, and thinking tokens count as output. The reference price is Z.ai’s official API price for the original GLM-5.3, and the discount on this page compares against it in the same unit.[7][2]

API access

Calling it through XiuAI

Call glm-5.3-uncensored with your existing API key through the OpenAI-compatible Chat Completions, Responses or Anthropic Messages API.[7]

The previous ID, glm-5.3, still works and points to the same model but no longer appears in the public catalog. Use glm-5.3-uncensored for new integrations.[7]

Send a request using your existing API key.

POST /v1/chat/completions
curl 'https://router-api.xiu.ai/v1/chat/completions' \
  -H "Authorization: Bearer $XIUAI_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "model": "glm-5.3-uncensored",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
Read the API documentation

Frequently asked questions

Can I still call glm-5.3?

Yes. glm-5.3 was this model’s previous ID, and it still works and points to the same model, so existing code keeps working. Use glm-5.3-uncensored for new integrations.[7]

What if glm-5.3-uncensored returns a “no access to model” error?

That API key limits which models it can call and allows only the previous ID, glm-5.3. Calls to glm-5.3 keep working. To switch to the new ID, open the key’s edit dialog in the XiuAI console and save it; its allowed models change to glm-5.3-uncensored and still include glm-5.3.[9]

How is it different from Z.ai’s official GLM-5.3?

Both come from the GLM-5.3 open weights. The official model keeps Z.ai’s safety alignment and is served through Z.ai’s API. GLM-5.3 Uncensored weakens refusal behavior and is offered here as a hosted API, not as an official Z.ai service. Its reasoning, tool calling and JSON Schema output passed testing.[1][2][4][8]

Does uncensored mean anything goes?

No. A model that refuses less does not make a use lawful. You still need to follow applicable law and the acceptable-use rules in the XiuAI Terms of Service, and violations can lead to suspension of API keys or accounts.[6]

Can it process images?

No. GLM-5.3 accepts text only, and a request with an image returns 400 in testing. For image understanding, DeepSeek V4.1 Flash Uncensored supports image input in testing.[1][8]

Why does a short question produce many output tokens?

GLM-5.3 Uncensored thinks before it answers, and thinking tokens are billed as output. Without reasoning_effort it thinks at the max level; low or high cuts a simple question from dozens or hundreds of thinking tokens to 10 or fewer. Setting thinking.type to disabled does not turn thinking off.[1][8]

Related models

DeepSeek V4.1 Flash Uncensoredglm-5.2

Sources and updates

Specifications reference provider documentation; prices and availability come from the current XiuAI catalog. Specifications checked: 2026-11-11

Content reviewed: 2026-11-29

[1] Hugging Face: Z.ai GLM-5.3 model card[2] Z.ai GLM-5.3 documentation[3] Arditi et al.: Refusal in language models is mediated by a single direction (arXiv:2406.11717)[4] Hugging Face blog: Uncensor any LLM with abliteration[5] XiuAI homepage: uncensored models[6] XiuAI Terms of Service: acceptable use[7] Current XiuAI model and pricing data[8] XiuAI pricing: tested capabilities and current prices[9] API docs: errors and production readinessTool callingStructured output