Skip to main content
Z.ai

GLM 5.3 Flash Abliterated API

Z.ai

Z.ai multimodal GLM 5.3 Flash model (320B total, 18B active MoE) with safety refusal directions removed from the weights, supporting text and base64 image input over 1M tokens.

z-ai/glm-5.3-flash-abliterated

Documentation

Conversation

Start a conversation

Z.ai multimodal GLM 5.3 Flash model (320B total, 18B active MoE) with safety refusal directions removed from the weights, supporting text and base64 image input over 1M tokens.

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 Flash Abliterated API?

The GLM 5.3 Flash Abliterated API is live on UnificAlly as z-ai/glm-5.3-flash-abliterated, at $0.138/1M tokens of input and $0.575/1M tokens of output. Based on Z.ai's natively multimodal GLM 5.3 Flash architecture released August 26, 2026 (320B total parameters, 18B active), it removes safety refusal directions directly from the weights while keeping coding, tool-calling, and vision understanding intact. The GLM 5.3 Flash Abliterated API offers a 1M-token context window, 128K output tokens, and NVFP4 inference at around 80 tokens per second.

GLM 5.3 Flash Abliterated API specs

Model IDz-ai/glm-5.3-flash-abliterated
EndpointPOST https://direct-api.unifically.com/v1/chat/completions
Other formatsPOST /v1/responses and POST /v1/messages
Request typesChat, streaming, inline vision, tool calling, JSON mode
InputsText and inline base64 images (data:image/...;base64)
OutputText with separate reasoning_content
Context window1,048,576 tokens
Max output131,072 tokens
Reasoning effortlow (default), high, max
Quantization / speedNVFP4, ~80 tok/s
Input rate$0.138/1M tokens
Output rate$0.575/1M tokens
Cache read rate$0.02875/1M tokens

Every GLM 5.3 Flash Abliterated API call is billed purely by token count across input, cache reads, and output tokens.

How to use the GLM 5.3 Flash Abliterated API

  1. Create a bearer key on the API keys page in your UnificAlly dashboard.
  2. Post your request to https://direct-api.unifically.com/v1/chat/completions with "model": "z-ai/glm-5.3-flash-abliterated". Using direct-api.unifically.com keeps long reasoning streams open without Cloudflare proxy cutoffs.
  3. Extract the assistant text from choices[0].message.content and optional thinking tokens 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-flash-abliterated",
    "reasoning_effort": "low",
    "messages": [
      { "role": "user", "content": "Parse these nginx access logs and group suspicious 4xx bursts by CIDR." }
    ]
  }'

A synchronous completion returns the answer alongside token accounting:

{
  "id": "d12fa641-5575-4a1f-a9fe-82a3635f6994",
  "object": "chat.completion",
  "created": 1795777916,
  "model": "z-ai/glm-5.3-flash-abliterated",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Grouped top bursts across 203.0.113.0/24 (418 hits to /admin)."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 39,
    "completion_tokens": 43,
    "total_tokens": 82,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 40
    }
  }
}

GLM 5.3 Flash Abliterated API parameters

ParameterTypeDefaultWhat it does
modelstringrequiredModel identifier, z-ai/glm-5.3-flash-abliterated
messagesarrayrequiredMessages array; images go in image_url parts as data:image/...;base64
reasoning_effortstringlowThinking depth: accepts low, high, or max only
streambooleanfalseEnables SSE streaming for answer and reasoning_content
stream_optionsobjectnonePass { "include_usage": true } for final usage chunk on streams
max_tokensintegernoneMaximum completion tokens up to 131072 (alias max_completion_tokens)
temperaturenumbernoneSampling temperature between 0 and 2
top_pnumbernoneNucleus sampling parameter
stopstring or arraynoneUp to four stop strings
toolsarraynoneFunction calling definitions
tool_choicestring or objectnoneControls tool execution: none, auto, required, or function
response_formatobjectnoneSet { "type": "json_object" } for JSON output

See the GLM 5.3 Flash Abliterated API documentation for /v1/responses and /v1/messages examples, including base64 vision formatting.

What GLM 5.3 Flash Abliterated does well

According to Z.ai's GLM-5.3-Flash release post, the model pairs hybrid linear and sparse attention with IndexPool across 45 layers, cutting attention compute 3x and KV cache memory 4.4x relative to GLM-5.3 while keeping 1M-token recall. Base GLM-5.3-Flash reports 57 on the Artificial Analysis Intelligence Index v4.1.1, 63.4% on DeepSWE v1.1, 84.3% on Terminal-Bench 2.1, 78.4% on Toolathlon Verified, 48.8% on AutomationBench v1.0.6, and 59.1% on OSWorld 2.0. That makes the GLM 5.3 Flash Abliterated API well suited to GUI/screenshot agent loops, log triage, and visual debugging without content refusals interrupting execution.

GLM 5.3 Flash Abliterated limitations

Remote https:// image URLs are NOT fetched by the GLM 5.3 Flash Abliterated API; clients must inline PNG, JPEG, GIF, or WebP screenshots as base64 data URIs or /v1/chat/completions returns a 400. reasoning_effort accepts only low, high, and max (off and medium are rejected). Abliteration strips refusal alignment without improving accuracy, and all requests remain governed by UnificAlly Terms of Service.

When to use GLM 5.3 Flash Abliterated

Choose the GLM 5.3 Flash Abliterated API when you want low-cost multimodal agent runs, screenshot analysis, or high-volume coding pipelines with refusal behavior removed. If you want higher output throughput (~250 tok/s) for text/vision agent loops, compare DeepSeek V4.1 Flash Abliterated Fast, or step up to GLM 5.3 Abliterated for maximum text-only benchmark strength.