---
title: "Uncensored LLM API for Security Research, per Token"
description: "An uncensored LLM API for security research: abliterated and security-tuned builds that answer authorized questions, on one OpenAI-compatible key."
canonical: https://pentestllm.ai/uncensored-llm-api-for-security-research
generated: 2026-12-03T14:37:09.261Z
source: https://pentestllm.ai/uncensored-llm-api-for-security-research
base_url: https://api.pentestllm.ai/v1
---

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.

[Prices per token](https://pentestllm.ai/pricing)

[Get a key](https://app.pentestllm.ai/console) [Try it free in the browser](https://pentestllm.ai/playground)

```
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 answered
print(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](https://pentestllm.ai/acceptable-use) applies to every request, and refusals are reduced, not gone. The [abliterated vs uncensored page](https://pentestllm.ai/abliterated-vs-uncensored) 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](https://pentestllm.ai/cybersecurity-llm-api) lists the endpoints, and the [uncensored LLM API page](https://pentestllm.ai/uncensored-llm-api) 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](https://pentestllm.ai/statements/verify).

| Model | Build | Input $/M | Output $/M | Context | Wire formats |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | Security | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | Security | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | Security | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | Security | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | Security | $0.525 | $1.75 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | Security | $0.525 | $1.75 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/models/red-team-flash) red-team-flash | Security | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/models/red-team-pro) red-team-pro | Security | $1.455 | $5.82 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/models/cyber-frontier) cyber-frontier | Security | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | Security | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | Security | $7.50 | $18.75 | 999K | openai |

[Full price list and tool fees](https://pentestllm.ai/pricing) · [Every model](https://pentestllm.ai/models) · [API docs](https://pentestllm.ai/docs)

## 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.

## Read next

[Uncensored LLM API The endpoints, wire formats and per-token billing behind the uncensored builds.](https://pentestllm.ai/uncensored-llm-api) [Cybersecurity LLM API The API itself: endpoints, the auto/security router, server tools and per-token prices.](https://pentestllm.ai/cybersecurity-llm-api) [Vulnerability research Models for code review, CVE and patch analysis, and advisory writing.](https://pentestllm.ai/vulnerability-research) [Abliterated vs uncensored The difference between abliterated, uncensored, derestricted and security-tuned builds.](https://pentestllm.ai/abliterated-vs-uncensored)

## One key, from $3

For systems you own or may test in writing: [acceptable use](https://pentestllm.ai/acceptable-use).

[Get a key](https://app.pentestllm.ai/console)
