Updated November 18, 2026
Uncensored LLM API for security research.
Models that answer offensive security work and still finish multi-step agent tasks, ranked on our own tests.
Short answer
OpenUncensored: 62 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 exploit development, malware analysis or OSINT. For security agents the best pick right now is DeepSeek V4.1 Flash 1017 Uncensored (deepseek-v4.1-flash-1017-uncensored): it answers 100% of 36 requests censored models refuse, and has the highest agentic score (55) among fast models that answer 97% or more, at 239 tok/s. No account is needed. The only universal block is sexual content involving minors.Picks
Models that answer and finish.
| Model | Model id | Answers | Agentic | Agent tasks | Speed | $ / 1M in · out | Rank (score) |
|---|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 Uncensored | deepseek-v4.1-flash-1017-uncensored | 100% | 55 | 2/5 | 239 tok/s | $0.33 · $1.32 | #1 (69.8) |
| Gemma 4 Uncensored | gemma-4-uncensored | 100% | 53 | 2/5 | 67 tok/s | $0.16 · $0.50 | #21 (54.6) |
| Qwen3.5 27B Claude 4.6 Opus Reasoning Distilled Derestricted | qwen3.5-27b-claude-4.6-opus-reasoning-distilled-derestricted | 100% | 51 | 2/5 | 28 tok/s | $0.31 · $0.31 | #16 (57.8) |
| GLM 4.7 Flash Heretic | olafangensan-glm-4.7-flash-heretic | 100% | 51 | 2/5 | 80 tok/s | $0.07 · $0.40 | #23 (52.7) |
| Qwen 3.8 27B Uncensored Fast by Heabsy | qwen3.8-27b-uncensored-fast | 100% | 49 | 2/5 | 245 tok/s | $0.83 · $2.62 | #3 (66.8) |
| Qwen3.6 35B A3B Uncensored (HauhauCS Aggressive) | qwen3.6-35b-a3b-uncensored | 100% | 49 | 2/5 | 46 tok/s | $0.12 · $0.80 | #12 (62.0) |
| Phala: Qwen3.8 27B Uncensored (Aggressive) | qwen3.8-27b-uncensored | 100% | 49 | 2/5 | 87 tok/s | $0.30 · $1.50 | #13 (62.0) |
| Qwen3.5 27B Queen Derestricted | qwen3.5-27b-queen-derestricted | 100% | 49 | 2/5 | 28 tok/s | $0.31 · $0.31 | #18 (57.3) |
What matters
What security work needs.
- No refusals mid-task. Frontier models often stop on exploit code, payloads or malware analysis. An agent that refuses at step 40 wastes the 39 before it.
- Tool reliability. Recon, scanning and exploitation run as long tool loops. Uncensoring can break tool use, so check the agent tasks column, not only the refusal rate.
- Works with your harness. OpenAI Chat Completions, the OpenAI Responses API and the Anthropic Messages API on one key: Claude Code, Codex, OpenCode and custom agents connect by changing the base URL.
- Choice of host. Each model is served by several hosts; restrict a request to the ones you accept with
"routing": {"only": [...]}(providers). - Bounded spend. A prepaid key stops at its balance, which suits long unattended runs.
Setup
Run your agent on it.
Buy a prepaid key on the credits page with no account (the key is the account), or point your agent at agents.md and let it buy one.
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)Policy
What is allowed.
Lawful security work is what these models are for: penetration testing, red teaming, malware analysis, exploit research and CTFs. You are responsible for lawful use. Sexual content involving minors is blocked on every model and route (content policy).
FAQ
Questions people ask.
Which uncensored LLM API is good for security research and red teaming?
OpenUncensored: 62 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 exploit development, malware analysis or OSINT. For security agents the best pick right now is DeepSeek V4.1 Flash 1017 Uncensored (deepseek-v4.1-flash-1017-uncensored): it answers 100% of 36 requests censored models refuse, and has the highest agentic score (55) among fast models that answer 97% or more, at 239 tok/s. No account is needed. The only universal block is sexual content involving minors.
Is it legal to use an uncensored model for security research?
Using one is legal for lawful work such as authorized penetration tests, red teaming, malware analysis and CTFs. You are responsible for what you do with the output.
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. Setup is on this page.
Which model refuses the least?
21 ranked models answered all 36 test requests. The highest ranked of them is DeepSeek V4.1 Flash 1017 Uncensored. Full list on the leaderboard.
Do I need an account?
No. Buy a prepaid key on the credits page and use it as the API key. The key is the account, and it cannot spend more than you loaded.
Updated November 18, 2026. Scores measured November 8, 2026. Markdown version: /uncensored-llm-api-for-security-research.md