---
title: "PentestGPT 替代方案：渗透测试模型 API"
description: "PentestGPT 是开源渗透测试智能体，需要大模型支撑。PentestLLM 提供 16 个安全调优模型，可作为它的后端，$3 起充。"
canonical: https://pentestllm.ai/zh/pentestgpt-alternative
generated: 2026-12-03T14:37:10.800Z
source: https://pentestllm.ai/zh/pentestgpt-alternative
base_url: https://api.pentestllm.ai/v1
---

授权渗透测试 · 红队 · 漏洞赏金 · CTF

# 作为 PentestGPT 后端的模型 API

PentestGPT 是一个开源的渗透测试智能体，它本身需要大模型在后面驱动；PentestLLM 是模型 API，与其说是替代，不如说是你运行 PentestGPT 或其他智能体时接入的模型后端。一个预付费密钥，$3 起充，调用 16 个安全调优模型。

- 安全调优模型: 16
- 输入价低至: $0.40/百万 token
- 预付费起充: $3

[获取密钥](https://app.pentestllm.ai/console?next=%2Fconsole%2Fkeys&lang=zh-Hans) [查看价格](https://pentestllm.ai/zh/pricing)

仅限授权测试：你自己的系统，或已拿到书面授权的目标。

## PentestGPT 是什么

PentestGPT 是发表在 USENIX Security 的研究项目，以 MIT 协议开源。它的 README 描述了两种模式：新模式是驱动 Claude Code 或 Codex 命令行工具的自动化流水线，旧模式通过自带的 OpenAI 连接器调用模型。

## 两者对比

- 开源还是托管: PentestGPT 开源自部署；PentestLLM 是托管的模型 API
- 谁跑模型: PentestGPT 调别人的模型；PentestLLM 就是模型
- 计费: PentestGPT 免费，模型费另算；PentestLLM 按 token 预付费
- 适合: 要论文里的分阶段任务树，用 PentestGPT；要一个少拒答的后端，用这里

## 为什么换后端

常见原因是拒答：通用模型在渗透测试任务中途推辞，智能体就断了。另外是成本结构，按 token 付费比包月更贴合项目制的工作量。

## 把 PentestGPT 指向这里

PentestGPT 旧模式会读取 `OPENAI_BASE_URL` 环境变量，也接受 `--base-url` 参数，把它设为 `https://api.pentestllm.ai/v1`，密钥换成你的 PentestLLM 密钥。它的内置模型列表是固定的，需要多配一步，让请求传入这里支持的模型 id。新模式驱动 Claude Code，而 Claude Code 可以直接指向 `https://api.pentestllm.ai`。无论哪种模式，都只对准你拥有或已获书面授权测试的系统。

## 今天可调用的安全模型，按输入价从低到高 · 2026-12-03

| 模型 | 版本 | 输入 $/百万 | 输出 $/百万 | 上下文 | 接口格式 |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | 安全 | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | 安全 | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/zh/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | 安全 | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/zh/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | 安全 | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/zh/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | 安全 | $0.525 | $1.75 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/zh/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | 安全 | $0.525 | $1.75 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/zh/models/red-team-flash) red-team-flash | 安全 | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/zh/models/red-team-pro) red-team-pro | 安全 | $1.455 | $5.82 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/zh/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/zh/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/zh/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/zh/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | 安全 | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/zh/models/cyber-frontier) cyber-frontier | 安全 | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/zh/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | 安全 | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/zh/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | 安全 | $7.50 | $18.75 | 999K | openai |

## 常见问题

### PentestLLM 能替代 PentestGPT 吗？

不完全是。PentestGPT 是智能体，PentestLLM 是模型 API，最常见的用法是把 PentestGPT 跑在这里的模型上。

### PentestGPT 免费吗？

它是 MIT 协议的开源软件，免费；但它调用的模型要另外付费。

### PentestGPT 支持哪些模型？

旧模式通过 OpenAI 连接器，可以改 base URL；新模式驱动 Claude Code 或 Codex 的命令行工具。

### 为什么要换智能体后面的模型？

为了减少任务中途的拒答，并按实际用量付费。

## 更多安全场景

[**红队大模型**给网络安全工作用的无审查模型：安全调优版本和通用无审查版本，一个密钥。](https://pentestllm.ai/zh/red-teaming) [**AI 写渗透测试报告**把核实过的笔记和证据交给模型，拿回漏洞描述、影响、修复建议和摘要的初稿。](https://pentestllm.ai/zh/pentest-report-writing) [**AI 侦察自动化**对授权范围内已跑完的扫描结果去重、排序，标出先验证什么。](https://pentestllm.ai/zh/recon-automation) [**AI 漏洞挖掘与研究**审代码找漏洞类型、读补丁、给崩溃分类、起草安全公告。](https://pentestllm.ai/zh/vulnerability-research) [**渗透测试无审查模型**拒答被削弱的模型怎么来的，渗透测试时怎么选，哪些事它依然不该做。](https://pentestllm.ai/zh/uncensored-llm-for-pentesting) [**AI 辅助 OSCP 备考**把模型当备考导师：讲概念、分级提示、复盘笔记。考试期间禁用。](https://pentestllm.ai/zh/oscp-study-with-ai)

[PentestLLM 是什么](https://pentestllm.ai/zh/what-is-pentestllm) [安全研究用大模型 API](https://pentestllm.ai/zh/uncensored-llm-api-for-security-research) [无审查大模型 API](https://pentestllm.ai/zh/uncensored-llm-api) [无审查编程 AI](https://pentestllm.ai/zh/uncensored-coding-ai) [WhiteRabbitNeo 替代方案](https://pentestllm.ai/zh/whiterabbitneo-alternative) [安全拒答率基准](https://pentestllm.ai/zh/security-refusal-benchmark) [红队演练 AI](https://pentestllm.ai/zh/red-team) [漏洞赏金 AI](https://pentestllm.ai/zh/bug-bounty) [CTF 用哪个大模型](https://pentestllm.ai/zh/best-llm-for-ctf) [AI 威胁建模](https://pentestllm.ai/zh/threat-modeling-ai) [AI 安全日志研判](https://pentestllm.ai/zh/security-log-triage-ai) [漏洞扫描报告复核](https://pentestllm.ai/zh/vulnerability-scan-report-review) [AI 写管理层摘要](https://pentestllm.ai/zh/pentest-executive-summary-ai) [XBOW 替代方案](https://pentestllm.ai/zh/xbow-alternative) [Strix 替代方案](https://pentestllm.ai/zh/strix-alternative)

## 更多页面

[首页](https://pentestllm.ai/zh) [价格](https://pentestllm.ai/zh/pricing) [模型](https://pentestllm.ai/zh/models) [无审查模型](https://pentestllm.ai/zh/uncensored) [Abliterated 模型](https://pentestllm.ai/zh/abliterated) [Playground](https://pentestllm.ai/zh/playground) [图片与视频](https://pentestllm.ai/zh/media)

### 充值 $3 起，今天就接进你的工具。

登录控制台，充值，把 base URL 和密钥填进你的智能体或脚本。没有订阅，余额不过期。

[获取密钥](https://app.pentestllm.ai/console?next=%2Fconsole%2Fkeys&lang=zh-Hans)
