---
title: "Local vs Hosted LLM for Pentesting"
description: "Local security models keep data on your laptop; hosted ones need a contract and a data decision. A decision table by engagement type for 2026."
canonical: https://pentestllm.ai/local-vs-hosted-llm-for-pentesting
generated: 2026-11-27T06:35:47.679Z
source: https://pentestllm.ai/local-vs-hosted-llm-for-pentesting
base_url: https://api.pentestllm.ai/v1
---

Local vs hosted LLM

# Local or hosted LLM for offensive work

A local model run through Ollama, such as WhiteRabbitNeo V3 7B, keeps every prompt on your own laptop but is small and bounded by your hardware. A hosted security tune such as `orca-zero-1.5-cybersecurity` at https://api.pentestllm.ai/v1 lists a 999,488-token context window and needs no GPU, though it needs a contract and a data decision first.

[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)
```

## The question is about the data, then the model

For red team and pentest work, the right model depends first on what it will read. Raw scan output, credentials and client hostnames carry contract terms with them; methodology questions, CTF boxes and sanitised findings usually do not. Decide which kind of material the engagement produces, and the local-or-hosted choice mostly makes itself. The decision table below walks through common engagement types, and each row still assumes a signed scope and written permission.

## Local security models today

Both were checked on the Ollama library and Hugging Face on 21 November 2026. WhiteRabbitNeo V3 7B is on Ollama as WhiteRabbitNeo/WhiteRabbitNeo-V3-7B, a 15 GB download with a 32K context window, updated about a year ago; on Hugging Face its repository now resolves to DeepHat/DeepHat-V1-7B, a 7.61-billion-parameter fine-tune of Qwen2.5-Coder-7B under Apache 2.0, as the project was renamed Deep Hat, with the rename covered on the [WhiteRabbitNeo alternative](https://pentestllm.ai/whiterabbitneo-alternative) page. BaronLLM ships the author’s GGUF on Hugging Face built on Llama 3.1 8B Instruct under MIT, with a v2 on Qwen3 14B; on Ollama the build you pull by name is a community abliterated version, an 8B 4.9 GB download with a 128K window, which is a third party’s modification, so read its page before using it on work.

```bash
ollama run WhiteRabbitNeo/WhiteRabbitNeo-V3-7B
ollama run huihui_ai/baronllm-abliterated
```

## What running locally buys and costs

The case for local is simple: prompts never leave a machine you control, so there is no third party to name in the contract, no provider retention to explain, and it works on an isolated network, which matters most on internal tests and in regulated environments. The costs are just as concrete. A 7B or 8B model on a laptop has less room to reason over a long scan, a large code base or a full report draft, and the two tags above list 32K and 128K context windows. You also own the upkeep: both Ollama tags were last updated about a year ago, and nobody tells you when a better build lands.

## What hosted changes

A hosted build is not bounded by your GPU. `orca-zero-1.5-cybersecurity` lists a 999,488-token context window, up to 128,000 output tokens and tool calling for agents, which suits long inputs such as a whole repository’s scanner output; for quicker questions start with `uplink-red-team-flash`, or send `auto/security`. The price of that is a data decision. The [privacy page](https://pentestllm.ai/privacy) says the third-party hosts that serve each model receive the request and response content, bodies are not stored by default, and the redaction header can swap secrets and common personal data for placeholders before the request leaves. Whether any of that is acceptable is the client’s call, made in the contract or the [rules of engagement](https://pentestllm.ai/tools/rules-of-engagement); the trade-offs are on [client data and AI](https://pentestllm.ai/pentest-client-data-and-ai).

## Run both from one client

Ollama exposes an OpenAI-compatible endpoint at http://localhost:11434/v1, and the OpenAI SDK reads OPENAI_BASE_URL from the environment, so one script can switch between laptop and API with three variables. A common split: the local model reads raw tool output and produces a sanitised summary on the laptop, and that summary goes to the hosted model for analysis or report prose. The [setup guides](https://pentestllm.ai/guides) cover client setup in more languages.

```bash
# Local: raw client material
export OPENAI_BASE_URL=http://localhost:11434/v1
export OPENAI_API_KEY=ollama        # Ollama requires a value but ignores it
export MODEL=WhiteRabbitNeo/WhiteRabbitNeo-V3-7B

# Hosted: sanitised findings, long inputs, CTF work
export OPENAI_BASE_URL=https://api.pentestllm.ai/v1
export OPENAI_API_KEY=$PTL_KEY
export MODEL=orca-zero-1.5-cybersecurity
```

## Test before you trust either

No public benchmark yet compares these local and hosted builds on offensive security tasks, so "best" depends on your work. Take ten tasks from a past engagement, with names stripped, and run them through each candidate: summarise this scan, explain this finding, draft this remediation. Score the answers yourself; it takes an afternoon and tells you more than any leaderboard. For hosted options, the [best LLM for penetration testing](https://pentestllm.ai/best-llm-for-penetration-testing) page lists the security builds to start with, and per-token rates are on [pricing](https://pentestllm.ai/pricing).

## A decision by engagement type

- Internal test, NDA bars third parties: Reads raw scans, hostnames, credentials; start local; nothing can leave, so accept the smaller model.
- External web app, named AI provider approved: Reads redacted requests and findings; start hosted uplink-red-team-flash with redaction on; the contract allows it and redaction strips secrets.
- Source review of a large repository, hosted approved: Reads scanner output and code; start hosted orca-zero-1.5-cybersecurity; input outgrows a 32K or 128K local window.
- Air-gapped, OT or no outbound network: Reads everything; local, or no model; no API is reachable.
- CTF, lab or training range: No client data; start hosted auto/security; no data decision and no GPU needed.
- Bug bounty: Data found on the program’s assets; read the program’s rules, hosted for sanitised write-ups.
- Contract silent on AI: Unknown data; local until the client answers in writing; silence is not approval.

## 16 security builds, priced per token

USD per million tokens, live on 2026-11-27; `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.4935 | $1.645 | 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.5093 | $1.6975 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/models/uplink-red-team-flash) uplink-red-team-flash | Security | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/models/uplink-red-team-pro) uplink-red-team-pro | Security | $1.50 | $6.00 | – | 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

### What is the best local LLM for red teaming in 2026?

There is no public benchmark to settle it. WhiteRabbitNeo V3 7B and BaronLLM are both real and pullable today, so start with those and test them on your own sanitised tasks. Check each model’s page for its licence and last update before using it on client work.

### Is WhiteRabbitNeo still maintained?

The Hugging Face repository for V3 7B now resolves to Deep Hat (DeepHat/DeepHat-V1-7B), so the project continues under a new name. The Ollama tag WhiteRabbitNeo/WhiteRabbitNeo-V3-7B still pulls, last updated about a year ago.

### Can a hosted model ever be used on an internal test?

Yes, when the client agrees in writing and the data you send matches what they agreed to. A typical pattern keeps raw output on a local model and sends only redacted summaries to the hosted one. Without that agreement, keep it local.

### How large is the OrcaCyber Zero context window?

Its model page lists a 999,488-token context window and up to 128,000 output tokens, with tool calling for agents. That is what suits a whole repository’s scanner output in one request, which a 7B or 8B local model cannot hold.

## Read next

[Client data and AI What to check in the MSA and NDA, what to redact, and what each AI option keeps, before you paste client data.](https://pentestllm.ai/pentest-client-data-and-ai) [WhiteRabbitNeo alternative Hosted security builds by API, for people who do not want to run the weights.](https://pentestllm.ai/whiterabbitneo-alternative) [Best LLM for penetration testing What to judge a model on for authorized testing, and how to compare builds on your own work.](https://pentestllm.ai/best-llm-for-penetration-testing)

Facts about other products and tools on this page were read from their own pages on 21 November 2026: [Ollama OpenAI compatibility](https://docs.ollama.com/api/openai-compatibility), [WhiteRabbitNeo V3 7B (Ollama)](https://ollama.com/WhiteRabbitNeo/WhiteRabbitNeo-V3-7B), [OrcaCyber Zero 1.5 model page](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity), [PentestLLM privacy](https://pentestllm.ai/privacy). They change; check the source before relying on a figure.

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