Skip to content

GLM abliterated, without the weights

GLM abliterated builds are modified versions of the open-weights GLM models in which the refusal behaviour has been removed, and PentestLLM hosts them so you can call one without downloading weights or running a GPU server. The same prepaid key from $10 also reaches uncensored and cybersecurity-tuned GLM builds, for authorized security testing only.

shell
curl https://api.pentestllm.ai/v1/messages \
  -H "x-api-key: sk-ptl-live-…" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "auto/security",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Draft a detection rule for this log pattern and explain each condition."}]
  }'
Rows of server cabinets in a data centre

GLM lines served as of November 2026

The catalog carries builds on more than one GLM generation. On GLM-4.6 there is a derestricted build. On GLM-4.7 Flash there is a heretic build, which is an abliteration made with an automated tool. On GLM-5.3, the current generation, there are abliterated and uncensored builds of both the full model and the Flash model, a code-oriented uncensored Flash build, and a cybersecurity-tuned Flash build that carries the security label on the models page.

None of these is released by the lab behind GLM. They are built on its weights by community authors and third parties. The table on this page is read from the live catalog, so it shows the ids, prices and context windows as they are today.

Full model or Flash

GLM-5.3
The full model, for the questions where depth matters: a subtle logic flaw in a code review, or a long chain of reasoning in a CTF challenge.
GLM-5.3 Flash
The fast model, suited to volume: triage of scan output, log reading, first-pass summaries of advisories, and agent loops that send many short requests.
Older lines
The GLM-4.6 and GLM-4.7 Flash builds remain for people who tuned prompts against them or want a known baseline.

What GLM is good at for testers

GLM models are built with coding agents in mind. They are steady at long, multi-step tasks: reading a repository, keeping track of what they have already checked, and reporting in a consistent structure. For security work that translates into source review across many files, mapping findings to CWE and OWASP identifiers, and drafting report sections that follow your template.

Some of the current rows publish very long context windows, which suits triage of a whole scan and large log extracts. The table shows the figure for each build; a few rows publish none, and for those the model page is the place to check before you send a long input.

Abliterated, heretic, derestricted, tuned

The first three labels describe how refusals were reduced. Abliteration measures the direction in the model’s activations that produces a refusal and projects it out of the weights. Heretic builds do the same with an automated search for the settings that change the rest of the model least. Derestricted builds use a later variant that tries to preserve the size of the weights it edits. None of the three teaches the model anything: it answers what it used to decline, from what it already knew.

The cybersecurity build is different in kind. It is fine-tuned on security material, so it knows the vocabulary and the tooling as well as declining less. For pentest work start there, and read every label as reduced refusals, not zero. Abliterated vs uncensored sets the labels side by side.

Tool calls and the Messages endpoint

As of November 2026 the cybersecurity-tuned Flash build and the derestricted GLM-4.6 build publish tool calling, and the second also publishes a reasoning parameter. The other GLM rows publish neither, so they fit chat-shaped work: review, explanation and drafting.

Every GLM row lists the OpenAI-format chat completions endpoint and the Anthropic-format Messages endpoint. The request at the top of this page is a Messages call, the shape Claude Code sends. OpenCode, Cline, Cursor and aider use the OpenAI shape against https://api.pentestllm.ai/v1. To pin a GLM build, put its id from the table in the model field; to let the router choose a security build per request, send auto/security.

Hosting GLM yourself

The full-size GLM releases are large mixture-of-experts models. Serving one takes a multi-GPU server with hundreds of gigabytes of memory, or a heavy quantization that costs quality, and an abliterated copy adds a second change on top of that. The smaller Flash releases have been the ones within reach of a workstation card.

So the usual reason to call GLM by API is that the hardware is out of reach, not that it is inconvenient. You also skip the upkeep: when a new snapshot or a better abliteration appears, the catalog changes and you change a model id, with no new download. The cost is that prompts travel to an API. For an engagement whose data must stay on an isolated network a smaller local model is the right answer, and Gemma is the family most people run that way.

When to pick something else

For thinking variants that show their reasoning, see the DeepSeek builds. For the widest choice of cybersecurity-tuned and coder builds, see Qwen. Whichever you call, the acceptable use policy applies: lawful security work only, on systems you own or have written permission to test.

9 GLM builds, priced per token

Read from the live catalog on 2026-11-12. Prices are US dollars per million tokens, paid from a prepaid balance that starts at $10. The id auto/security has no price of its own: each request is billed at the build that answered.

BuildInputOutput
GLM-5.3 Flash Uncensored$0.1053$0.3685
GLM-5.3 Uncensored$0.282$0.846
GLM-4.7 Flash Heretic$0.336$1.92
GLM-5.3 Flash Abliterated$0.4656$1.94
GLM-5.3 Flash Cybersecurity$0.5093$1.6975
GLM-5.3 Flash Apex Abliterated$0.80$3.20
GLM-4.6 Derestricted v5$1.40$5.25
GLM-5.3 Abliterated$2.1825$4.365
GLM-5.3 Flash Code Uncensored$6.00$6.00

Full price list and tool fees · Every model · API docs

Questions

  • Yes. PentestLLM hosts abliterated, heretic, derestricted, uncensored and cybersecurity-tuned builds built on GLM and serves them by API, so there are no weights to download and no GPU to run.

  • As of November 2026 the catalog carries builds on GLM-4.6, GLM-4.7 Flash and GLM-5.3, including the 5.3 Flash model. The table on this page shows what is listed today.

  • Yes. Every GLM row lists the Anthropic-format Messages endpoint, which is what Claude Code calls. For agent work choose a build that publishes tool calling, such as the cybersecurity-tuned Flash build.

  • No. The builds are community or third-party modifications built on open GLM weights, not releases by the lab that trains GLM.

  • No. Abliteration reduces refusals; it does not remove every one, and it does not make an answer correct. Check what the model tells you against the target and the documentation.

  • Authorized security work: testing systems you own or have written permission to test, bug bounty programs you are enrolled in, CTF events and labs.

Read next

One key, from $10

PentestLLM is for systems you own or have written permission to test. The acceptable use policy says what is not allowed.

Get a key

usage, 1,000 agent turns on Qwen3.8 27B Cybersecurity
Input, 8,000 tokens at $0.40 per million
$0.0032
Output, 1,000 tokens at $2.40 per million
$0.0024
One turn
$0.0056
1,000 turns
$5.60
output price per million tokens, 9 builds

$1.3376 Gemma 4 26B A4B CybersecurityOrcaCyber Zero 1.5 $18.75