Uncensored LLM API for security research
Uncensored models for research
An uncensored LLM API for security research is an endpoint serving abliterated and security-tuned builds that answer the authorized questions stock models decline, and PentestLLM serves 16 security builds at https://api.pentestllm.ai/v1, OpenAI-compatible and Anthropic-compatible, from $0.40 per million input tokens. One key from $3 works with the OpenAI SDK, LangChain, OpenCode, Claude Code and your own research scripts.
from openai import OpenAI client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…") reply = client.chat.completions.create( model="auto/security", messages=[{"role": "user", "content": "Explain this advisory and list what to check on an affected host."}],)print(reply.model) # the build that answeredprint(reply.choices[0].message.content)What uncensored means here
Abliterated builds have the refusal direction removed from their weights; security-tuned builds were trained on security material. Both answer questions about vulnerabilities, malware behaviour and attack techniques that a stock assistant often declines. Both still have limits: the acceptable use policy applies to every request, and refusals are reduced, not gone. The abliterated vs uncensored page explains the difference between the kinds of build.
Research that needs it
- Vulnerability research
- Reading patches and advisories, reasoning about root cause and variant analysis on code you are allowed to study.
- Malware analysis
- Summarizing behaviour from a sandbox report and drafting detection rules. Analysis and detection only.
- Model red teaming
- Generating test cases for prompt injection and jailbreak resistance against AI systems you are authorized to test.
- Threat intelligence
- Turning reports into technique mappings and detection ideas.
- Teaching
- Writing course material and lab guides that explain attacks so students can defend against them.
The API itself
Two wire formats on one key: OpenAI chat completions at https://api.pentestllm.ai/v1 and Anthropic messages at https://api.pentestllm.ai/v1/messages. The router id auto/security picks a security build per request, or pin one by id for reproducible experiments. Server tools are billed when used: web search $0.01 per search, web fetch $0.001 per page fetched, code sandbox $0.05 per container-hour, 1-minute minimum, MCP No tool fee. The cybersecurity LLM API page lists the endpoints, and the uncensored LLM API page covers the general-purpose uncensored builds beside the security ones.
For a paper or a benchmark, pin the build id and record it with the date. Catalog builds are updated, and a pinned id is how a result stays reproducible.
Research ethics still apply
An endpoint that answers more questions does not widen what you are authorized to do. Test only systems you own or have written permission to test, follow coordinated disclosure for what you find, and keep the institution’s review process in the loop. Every request is billed with a signed receipt, which also gives your lab a record of what was run and when.
Keep prompts and outputs that touch unpublished vulnerabilities inside your lab’s records, and treat them with the same care as the finding itself. A model’s answer about a bug that is not yet disclosed is part of the disclosure timeline. When the vendor publishes a fix, the same prompts make a clean before-and-after comparison for the write-up, and the pinned build id lets a reviewer rerun them.
16 security builds, priced per token
USD per million tokens, live on 2026-12-03; auto/security bills at the build that answers.
Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. Verify your receipt.
| Wire formats | |||||
|---|---|---|---|---|---|
| Qwen3.8 27B Cybersecurity | Security | $0.40 | $2.40 | 262K | |
| Uncensored Qwen3.8 27b Cybersecurity | Security | $0.40 | $2.40 | 262K | |
| Gemma 4 26B A4B Cybersecurity | Security | $0.4224 | $1.3376 | 262K | |
| Gemma 4 26B A4B Cybersecurity (Uncensored) | Security | $0.48 | $1.52 | 262K | |
| GLM-5.3 Flash Cybersecurity | Security | $0.525 | $1.75 | 1049K | |
| GLM-5.3 Flash Cybersecurity (Uncensored) | Security | $0.525 | $1.75 | 1049K | |
| Red Team (Flash) | Security | $0.90 | $3.00 | 1000K | |
| Red Team (Pro) | Security | $1.455 | $5.82 | – | |
| OrcaCyber MiniMax M3.1 Flash | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber MiniMax M3.1 Flash (Uncensored) | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber Qwen3.8 Flash Next (Uncensored) | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber Qwen3.8 Flash Next | Security | $2.00 | $4.00 | 262K | |
| Uncensored Qwen3.8 Flash Next Cybersecurity | Security | $2.00 | $4.00 | 262K | |
| Cyber Frontier | Security | $5.25 | $15.75 | 1049K | |
| OrcaCyber Zero 1.5 | Security | $7.50 | $18.75 | 999K | |
| OrcaCyber Zero 1.5 (Uncensored) | Security | $7.50 | $18.75 | 999K |
Questions
Is there an uncensored LLM API for security research?
Yes. PentestLLM serves abliterated and security-tuned builds on one OpenAI-compatible key, priced per token from a $3 top-up, for authorized research.
Do uncensored models answer everything?
No. They decline far fewer authorized security questions than stock models, and the acceptable use policy still applies to every request.
Can I reproduce results across runs?
Pin a build id rather than the router, set the temperature low, and record the id and date with each result. The proof page shows each build’s daily check.
Which SDKs work?
Any OpenAI SDK with the base URL changed, any Anthropic SDK pointed at the messages endpoint, and frameworks built on either, such as LangChain.
Who is PentestLLM for?
Security professionals, researchers and students working on systems they own or have written permission to test, and on lab ranges built for practice. Unauthorized testing is not allowed whatever a model says.