Skip to content

The uncensored LLM API

The uncensored LLM API is one base URL, https://api.pentestllm.ai/v1, that serves abliterated and security-tuned builds in the OpenAI and Anthropic wire formats. Billing is per token from a prepaid balance that starts at $10, and the service is for authorized security work.

shell
curl https://api.pentestllm.ai/v1/messages \
  -H "x-api-key: sk-ptl-live-…" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "auto/security",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Draft a detection rule for this log pattern and explain each condition."}]
  }'
Rows of server cabinets in a data centre

Three values move an existing client

If your code already calls a hosted model, it needs three changes: the base URL, the key and the model id. Nothing else about the request has to change, because the API speaks the wire formats the common SDKs already send. The response’s model field names the build that answered.

python
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": "Map these findings to CWE ids for the report."}],
)
print(reply.model, reply.choices[0].message.content)

Routes and wire formats

Chat completions
POST https://api.pentestllm.ai/v1/chat/completions. The OpenAI chat format, which most agents and SDKs send.
Responses
POST https://api.pentestllm.ai/v1/responses. The OpenAI Responses format, for clients built on it.
Completions
POST https://api.pentestllm.ai/v1/completions. The older prompt-in, text-out format, for tools that still use it.
Messages
POST https://api.pentestllm.ai/v1/messages. The Anthropic format, for the Anthropic SDK and Claude Code.

Every listed build answers on each of these routes, so the choice of format belongs to your client, not to the model. The key goes in the Authorization header as a bearer token, or in x-api-key for Anthropic-format clients. Streaming uses the usual stream flag.

What differs from build to build

Tool calls
Supported on some builds. An agent that edits files or runs commands needs one of these.
Structured output
Builds that take response_format return JSON matching a schema you send, which suits pipelines.
Reasoning
Some builds expose a reasoning mode for multi-step analysis.
Image input
Some builds read images, such as a screenshot attached to a finding. The rest are text only.
Context window
Published per build on the models page. The largest security build takes 1M tokens.

The routes are uniform and the builds are not. Each build publishes the request parameters it supports, and a client should read them instead of assuming. Sending tools to a build that does not take them is the most common integration mistake.

Billing to the token

Each build has an input price and an output price per million tokens, and a request is charged for the tokens it used at the price of the build that answered. The balance is prepaid by card from $10. There is no subscription, no seat licence and no minimum monthly spend, and a request that would overdraw the balance is refused, not billed.

A non-streamed answer returns its settled charge in the x-uplink-charge header, so a script can log the cost of every call beside its result. Every answer also carries x-uplink-request-id, which is the value to quote if you write to support. The pricing page has the same figures as the table below.

Rate limits and retries

Each key has a request rate limit, and it is lower during an account’s first day. Past the limit the API answers 429 with a retry-after header, so a batch job should wait and retry instead of failing the run. The docs list the other error codes and show a streamed request.

Who may call it

The API is for lawful security work: penetration testers, red teams, bug bounty hunters, CTF players and the people who build tools for them. You must own the systems you test or hold written permission, and that covers requests your own users or agents send through something you build on the API. Uncensored describes how often the models decline. It does not change the acceptable use policy.

For the router’s tiers and the tools the API runs on its side, see the cybersecurity LLM API page. For the builds themselves, see uncensored LLMs.

74 uncensored and abliterated builds, priced per token

Read from the live catalog on 2026-11-12. Prices are US dollars per million tokens, paid from a prepaid balance that starts at $10. The id auto/security has no price of its own: each request is billed at the build that answered.

BuildInputOutput
GLM-5.3 Flash Uncensored$0.1053$0.3685
GLM-5.3 Uncensored$0.282$0.846
GLM-4.7 Flash Heretic$0.336$1.92
GLM-5.3 Flash Abliterated$0.4656$1.94
Deepseek V4.1 Flash Uncensored$0.5412$2.5882
Qwen3.8 27B Obliterated$0.582$7.27
Gemma 4 26B-A4B Uncensored$0.60$2.80
Apex Flash 1 Abliterated$0.68$2.32
DeepSeek V4.1 Flash 1017 Abliterated$0.75$3.125
SuperGemma 4 26B Uncensored$0.78$2.40
GLM-5.3 Flash Apex Abliterated$0.80$3.20
DeepSeek V4.1 Flash 0910 Uncensored$0.825$3.30
DeepSeek V4.1 Flash 0910 Uncensored Thinking$0.825$3.30
DeepSeek V4.1 Flash 1017 Uncensored$0.825$3.30
DeepSeek V4.1 Flash 1017 Uncensored Thinking$0.825$3.30
DeepSeek V4.1 Flash Uncensored Thinking$0.825$3.30
DeepSeek V4.1 Flash 1017 Heretic$0.825$3.30
DeepSeek V4.1 Flash 1017 Heretic Thinking$0.825$3.30
DeepSeek V4.1 Flash Abliterated$0.8488$1.6975
Uncensored Coding Agent$0.90$3.00
DeepSeek V4 Pro Uncensored$0.97$1.94
DeepSeek V4 Pro Abliterated$1.00$4.00
Qwen3.8 Max Uncensored$1.00$3.00
Qwen3.8 27B Abliterated$1.0037$4.5326
Gemma 4 31B Cognitive Unshackled$1.071$1.071
Qwen3.5 27B Blossom V6.4 Derestricted$1.071$1.071
Qwen3.5 27B BlueStar v3 Derestricted$1.071$1.071
Qwen3.5 27B Claude 4.6 Opus Reasoning Distilled Derestricted$1.071$1.071
Qwen3.5 27B Claude 4.6 Opus Reasoning Distilled Derestricted Lite$1.071$1.071
Qwen3.5 27B Queen Derestricted$1.071$1.071
DeepSeek V4 Pro Qwen3.5 9B Uncensored Heretic$1.12$1.12
Nemotron 3 Ultra 550B Uncensored$1.125$6.60
Kimi K2.6 Uncensored$1.17$7.34
Kimi K3.1 Pro Uncensored$1.20$6.00
Qwen3.8 27B Uncensored$1.2125$3.6375
MiMo V2.6 Flash Uncensored Thinking$1.25$3.75
GLM-4.6 Derestricted v5$1.40$5.25
Gemma 31B Heretic Uncensored$1.50$8.25
MiMo V2.6 Pro Uncensored$1.5225$3.045
DeepSeek V4.1 Flash Abliterated Fast$1.75$3.50
Qwen 2.5 32B Abliterated$1.75$1.75
NeuralDaredevil 8B Abliterated$1.76$1.76
MiMo V2.6 Flash Abliterated$2.00$6.00
MiMo V2.6 Flash Uncensored$2.00$6.00
Inkling Uncensored$2.13$12.1403
GLM-5.3 Abliterated$2.1825$4.365
Gemma 4 31B Uncensored$2.304$6.912
Abliterated Large Flash$2.50$5.00
Abliterated Model$2.50$7.50
Qwen 3.8 27B Uncensored Fast$2.50$7.50
Qwen 3.8 27B Uncensored Thinking$2.50$7.50
DeepSeek R1 Distill Llama 70B Abliterated$2.80$2.80
Llama 3 70B Abliterated v3.5$2.80$2.80
Llama 3.3 70B Abliterated$2.80$2.80
DeepSeek R1 Distill Qwen 32B Abliterated$5.60$5.60
Kimi K3 Uncensored$5.745$28.68
Uncensored AI Assistant$5.85$7.80
Uncensored Chatbot$5.85$7.80
GLM-5.3 Flash Code Uncensored$6.00$6.00
Abliterated Model Large$7.50$12.50
Abliterated Model Large V2$7.50$12.50
Uncensored AI Chat$11.70$15.60
Uncensored Code Assistant$11.70$15.60
Aion 3.5 Mini Uncensored$0.13 a requestflat
Magistral Small Uncensored$0.005 a requestflat
Ministral 3 14B Instruct Uncensored$0.005 a requestflat
Ministral 3 8B Instruct Uncensored$0.005 a requestflat
Mistral Large 2 Uncensored$0.005 a requestflat
Mistral Large 3 Uncensored$0.09 a requestflat
Qwen3 Coder Next Uncensored$0.005 a requestflat
Qwen3 Next 80B-A3B Instruct Uncensored$0.005 a requestflat
Qwen3 VL 235B-A22B Instruct Uncensored$0.005 a requestflat
Qwen3.5 397B-A17B Uncensored$0.09 a requestflat
Qwen3.8 2.4T-A95B Uncensored$0.07 a requestflat

Full price list and tool fees · Every model · API docs

Questions

  • Yes. Point any OpenAI SDK or client at https://api.pentestllm.ai/v1, use your key as the API key and send a build id or auto/security as the model.

  • Yes. The Messages endpoint at https://api.pentestllm.ai/v1/messages takes Anthropic-format requests, with the key in the x-api-key header or as a bearer token.

  • Streaming is supported with the stream flag. Tool calling depends on the build, and each model page lists the parameters that build supports.

  • Per token, at the input and output price of the build that answered, from a prepaid balance. The smallest top-up is $10 by card and there is no subscription.

  • Yes, per key, and it is lower during an account’s first day. Past it the API answers 429 with a retry-after header.

  • People doing lawful security work on systems they own or have written permission to test. The acceptable use policy sets out what is not allowed.

Read next

One key, from $10

PentestLLM is for systems you own or have written permission to test. The acceptable use policy says what is not allowed.

Get a key

usage, 1,000 agent turns on Qwen3.8 27B Cybersecurity
Input, 8,000 tokens at $0.40 per million
$0.0032
Output, 1,000 tokens at $2.40 per million
$0.0024
One turn
$0.0056
1,000 turns
$5.60
output price per million tokens, 9 builds

$1.3376 Gemma 4 26B A4B CybersecurityOrcaCyber Zero 1.5 $18.75