Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 2 min read

An uncensored LLM API for security research and red teaming (Claude Code, Codex, pentest agents)

Frontier models stop on exploit code, payloads and malware analysis, and an agent that refuses at step 40 wastes the 39 steps before it. OpenUncensored puts 50+ uncensored models on one OpenAI- and Anthropic-compatible k

Frontier models stop on exploit code, payloads and malware analysis, and an agent that refuses at step 40 wastes the 39 steps before it. OpenUncensored puts 50+ uncensored models on one OpenAI- and Anthropic-compatible key, so a pentest agent, a red-team harness, Claude Code or Codex can run on a model that does not refuse.

For security agents the best pick right now is DeepSeek V4.1 Flash 1017 Uncensored (deepseek-v4.1-flash-1017-uncensored): #1 of 34 on the uncensored LLM leaderboard (81.0), answers 100% of the requests censored models refuse, and runs on our own GPUs at $0.28 / $1.12 per million tokens.

Models that answer and finish

Model id Answers Agentic Agent tasks Speed $ / 1M in Β¬βˆ‘ out Rank (score)
deepseek-v4.1-flash-1017-uncensored 100% 85 2/5 186 tok/s $0.28 Β¬βˆ‘ $1.12 #1 (81.0)
deepseek-v4.1-flash-uncensored 100% 85 1/5 234 tok/s $0.12 Β¬βˆ‘ $0.45 #7 (74.2)
qwen3.8-27b-uncensored-fast 100% 80 2/5 187 tok/s $0.25 Β¬βˆ‘ $1.20 #11 (72.9)
qwen3.8-27b-uncensored 100% 80 2/5 240 tok/s $0.25 Β¬βˆ‘ $1.20 #15 (69.0)
glm-4.6-derestricted-v5 100% 49 1/5 20 tok/s $0.40 Β¬βˆ‘ $1.50 #25 (54.9)

"Answers" is the share of 36 requests that censored models refuse which the model answered. "Agentic" scores five multi-step tool tasks on finishing without loops or crashes.

What security work needs

  • No refusals mid-task. The models above answered every one of the 36 test requests.
  • Tool reliability. Recon, scanning and exploitation run as long tool loops, so check the agent task column, not only the refusal rate.
  • Works with your harness. OpenAI Chat Completions, OpenAI Responses and Anthropic Messages on one key: Claude Code, Codex, OpenCode and custom agents connect by changing the base URL.
  • Bounded spend. A prepaid key stops at its balance, which suits long unattended runs.

Run your agent on it

Buy a prepaid key on the credits page. No account needed.

Claude Code:

export ANTHROPIC_BASE_URL=https://api.openuncensored.com
export ANTHROPIC_API_KEY=ou-...
export ANTHROPIC_MODEL=deepseek-v4.1-flash-1017-uncensored
export ANTHROPIC_DEFAULT_OPUS_MODEL=$ANTHROPIC_MODEL
export ANTHROPIC_DEFAULT_SONNET_MODEL=$ANTHROPIC_MODEL
export ANTHROPIC_DEFAULT_HAIKU_MODEL=$ANTHROPIC_MODEL
export CLAUDE_CODE_SUBAGENT_MODEL=$ANTHROPIC_MODEL
claude

Codex (~/.codex/config.toml):

[model_providers.openuncensored]
name = "OpenUncensored"
base_url = "https://api.openuncensored.com/v1"
env_key = "OU_API_KEY"
wire_api = "responses"

[profiles.uncensored]
model_provider = "openuncensored"
model = "deepseek-v4.1-flash-1017-uncensored"

Python (any OpenAI-compatible harness):

from openai import OpenAI

client = OpenAI(base_url="https://api.openuncensored.com/v1", api_key="ou-...")
r = client.chat.completions.create(
    model="deepseek-v4.1-flash-1017-uncensored",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)

FAQ

Can I run it inside Claude Code or a pentest agent? Yes. Claude Code connects through the Anthropic Messages API, Codex through the Responses API, and other agents through OpenAI Chat Completions.

Which model refuses the least? Every model in the table above answered all 36 test requests; the highest ranked is DeepSeek V4.1 Flash 1017 Uncensored. Full list on the leaderboard.

Do I need an account? No. A prepaid key is the account.

More: uncensored LLM API for security research, uncensored model in Claude Code / Codex, leaderboard.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.