Uncensored models for coding and agents

Where refusals get in the way of legitimate engineering, why one refusal can sink a whole agent run, what the publishers say their models can do, and how to wire an uncensored model into your tools.

Where refusals hurt engineers

Most coding requests never come near a refusal. The ones that do tend to cluster in a few areas where the same words describe defence and attack:

  • Security tooling. Scanners, fuzzing harnesses, detection rules and log parsers for incidents all have to describe what they look for.
  • Scrapers and automation. Bots that log in, fill forms or drive a browser on your behalf can look, to a cautious model, like abuse.
  • Reverse engineering your own software. Reading a binary you built, recovering a lost protocol, or analysing a crash in a legacy component.
  • CTF practice. Capture the Flag events are information security competitions whose tasks cover cryptography, binary analysis and reverse engineering, as the CTFtime archive describes them.
  • Plain automation that an assistant is “not comfortable” with because a word in the prompt resembles something else.

This is a measured effect, and also a limited one. The CyberSecEval 2 paper, published in 2024, notes that conditioning a model to reject unsafe prompts can make it falsely reject benign ones, and introduced a False Refusal Rate for borderline cybersecurity requests. Its authors also found that many models manage to comply with such borderline requests while still rejecting most unsafe ones. So a mainstream model is often fine; the trouble is that “often” is a weak guarantee inside automation.

Why one refusal breaks an agent

An agent, in the words of Anthropic’s engineering guide, is typically a model using tools based on feedback from its environment, in a loop. Each step depends on the last. If step twelve of a long run comes back as an apology instead of a tool call, the loop has nothing to act on: it stops, retries with the same context and gets the same answer, or carries on from a wrong state. The same guide warns that the autonomy of agents brings higher costs and the potential for compounding errors.

Diagram of an agent loop: the model sends a tool call, the tool’s result comes back, and each step depends on the last. In a long run, step twelve comes back as an apology instead of a tool call, so the loop has nothing to act on: it stops, retries with the same context and gets the same answer, or carries on from a wrong state.
In a chat a refusal costs a rephrasing; in an unattended run it costs the run and the tokens already spent. A model that refuses less removes one way for the loop to fail, not the others.

A refusal in a chat costs you a rephrasing. A refusal in an unattended run costs the run, plus the tokens already spent on it. For pipelines that touch the topics above, a model that refuses less removes one way for the loop to fail. It does not remove the others.

What the publishers say their models do

All our uncensored models start from two families whose publishers aim them squarely at this kind of work. Z.ai presents GLM-5.3 as its flagship for complex software engineering and agents, and its model card claims state-of-the-art results on CyberGym, a benchmark of finding vulnerabilities, and its benchmark notes name Claude Code among the harnesses used. DeepSeek reports better coding and agentic results for the 1017 revision, with shorter runs, and its release note says the model was optimised for agent harnesses.

These are the vendors’ own figures on their own choice of benchmarks, and removing refusals does not add to them. The model pages, such as GLM-5.3 Abliterated and DeepSeek V4.1 Flash 1017 Abliterated, sum up what each publisher documents; GLM-5.3 Abliterated vs DeepSeek V4.1 Flash 1017 Abliterated sets the two families side by side.

Wiring it into your tools

Every model in the table below is served in the OpenAI Chat Completions and Responses formats and in the Anthropic Messages format, so most coding tools only need a base URL, a key and a model id. The coding tools section of the docs has set-up pages for Claude Code, Codex, Cursor, OpenCode and others.

Diagram of what each step of an agent sends and gets back. The input, four columns for steps one to four, holds, on the two GLM-5.3 Uncensored models only, the model’s own instructions, placed first to push the uncensoring further, then the system prompt, the task and the call and result of every earlier step, so it grows at each step. The output is reasoning first, then the tool call, both within max_tokens.
The API is stateless, so a long run sends its whole, growing history at every step: watch the input side, and leave room in max_tokens for the reasoning so the tool call is not cut off.
  • Tool calling. tools and tool_choice work in both formats on models that support them. Both publishers document function calling for their base models.
  • State. The API is stateless: an agent sends its whole history with every step. That is what agent frameworks do anyway, but it means a long run re-sends a growing context each time, so watch the input side.
  • Reasoning. Today our model list marks every model in the table as a reasoning model. Reasoning is generated before each answer and billed as output, as Billing explains; leave room for it in max_tokens so a tool call is not cut off halfway.
  • Built-in instructions. The two GLM-5.3 Uncensored models add instructions of their own, there to push the uncensoring further, counted as input on every step. Today the abliterated models add nothing, which some prefer when the system prompt of a framework must be the only one.

Before a long unattended run, try the agent on a short task with the model you picked and read the transcript. Look for malformed tool calls and for the rare refusal that remains; state what the work is and its scope; that context can settle the second. Uncensored AI API has working requests in both formats, and How to write a system prompt for an uncensored model an example for an agent with tools.

Limits

  • Fewer refusals, not none. A model can still decline, and it can still fail at a task beyond its skill.
  • No new ability. An uncensored model can do what its base model could, possibly a little less: published comparisons of abliteration tools find some loss of capability, mathematical reasoning first.
  • Agents act. A model that refuses less will also carry out a wrong instruction more readily. Anthropic’s guide recommends extensive testing in sandboxed environments with appropriate guardrails; that applies twice over here. Run agents with the least access they need and review what they change.

Your responsibility

Our Terms of Service forbid using the service to write or run malware, or to attack systems you are not authorized to test, and make you responsible for what you ask and what you do with the answers. That line is the usual one in security work: Anthropic’s usage policy, for comparison, does not prohibit security research or tool development on systems you own or operate. Keep your targets to your own systems, your own code, authorised engagements and CTF infrastructure built to be attacked.

Models in this guide

USD per 1M tokens.

ModelContextInputOutputCachedOutput speed
GLM-5.3 Uncensored Uncensored glm-5.3-uncensored1M$0.15$0.24$0.017103 tokens/s
GLM-5.3 Flash Uncensored Uncensored glm-5.3-flash-uncensored1M$0.088$0.14$0.00567 tokens/s
GLM-5.3 Abliterated Uncensored glm-5.3-abliterated1M$2.00$3.20$0.413200 tokens/s
DeepSeek V4.1 Flash 1017 Abliterated Uncensored deepseek-v4.1-flash-1017-abliterated1M$0.375$0.60$0.083125 tokens/s
DeepSeek V4.1 Flash 1017 Abliterated Fast Uncensored deepseek-v4.1-flash-1017-abliterated-fast1M$1.25$2.00$0.264280 tokens/s

Questions

Which uncensored model is best for coding agents?

There is no fixed answer. Both families are aimed at code and agents by their publishers; compare the live figures in the table and run a short agent task on two candidates before a long run.

Can I use an uncensored model in Claude Code or Codex?

Yes. Point Claude Code at our Anthropic base URL, or Codex at our OpenAI one, and set an uncensored model id. The coding tools section of the docs has a page for each.

Do uncensored models support function calling?

Yes, through tools and tool_choice in both the OpenAI and Anthropic formats, on models that support them. Z.ai and DeepSeek both document tool calling for the base models.

Is it legal to use an uncensored model for security research?

That depends on the law where you are and on what you do, not on the model. Our Terms forbid malware and attacks on systems you are not authorized to test; working on your own systems, authorised engagements and CTFs is the usual boundary.

Other guides