You are offline

Switched to Home view. Returning to your route when internet connects.

← Back to Knowledge Center
Coding
Published:Nov 28, 2026
•
Updated:Nov 28, 2026
•2 min read

Running Autonomous Pentest Agents for About $1 (What Our Benchmarks Taught Us)

Running Autonomous Pentest Agents for About $1 (What Our Benchmarks Taught Us)
Karan Singh

Karan Singh

Contributor & Platform Mentor

Writes about programming, productivity, and online learning.

Wanted to drop a quick guide on this. Let me know what you guys think!

When an AI agent runs for 200+ turns, you are not paying for fresh prompts. You are paying to **re-read the same growing conversation** over and over.

We hit this lesson twice: first in our ARC-AGI-3 agent benchmark (FL-2026-006** on the exact same models:

basically, | Model | Agent | Result | Avg tokens / call | Total cost | | :--- | :--- | :--- | ---: | ---: | | Opus 5.5 | **Nodecode** | 100/100 (183/183) | 77,000 | **$124.09** (-41%) | | Opus 5.5 | Claude Code | 100/100 (183/183) | 175,000 | $209.67 | | GPT-6.1 Sol | **Nodecode** | 25/25 won (99.5) | 20,500 | **$32.55** (-24%) | | GPT-6.1 Sol | Codex CLI | 25/25 won (99.9) | 74,700 | $42.97 |

Surprisingly, Nodecode made **more** LLM calls on both models and still paid much less. The difference was keeping dead tool output out of every turn while still letting the provider's prefix cache do the heavy lifting between checkpoints.

2. Why Pentest Agents Break Standard APIs

Autonomous security tools like Strix - DeepSeek V4.1 Flash 1017 with its refusal direction abliterated, **strict zero data retention** (memory-only, no prompt logs, isolated per-org/per-user KV caches), 1M context, native OpenAI + Anthropic wire support, and **`$0.009/M` cached input** (97.3% off `$0.33/M` input, zero cache-write fee, `$1.32/M` output).

3. Two Live Autonomous Pentest Runs

Both runs below hit disposable lab containers and are reproducible from our public upstream PRs:

  • **Strix 1.7.1 (PR #1832 proving an unauthenticated SQLi login bypass and admin token replay.

*(Quick tip if you use PentAGI / `langchaingo` with custom reasoning models: pass `extra_body: {reasoning_effort: "none"}` on non-reasoning roles - `reasoning.mode: "off"` omits the field for unknown model IDs and leaves thinking on.)*

4. Try It in 10 Seconds

Cyber v1 speaks standard OpenAI and Anthropic wire formats out of the box:

Bash
-H "Authorization: Bearer $NODECODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nodecode-cyber-v1",
"messages": [
{"role": "user", "content": "22/tcp and 8080/tcp are open in lab scope. Verification order?"}
],
"max_tokens": 500
}'
  • Cyber v1 & docs: nodecode.ai/cyber:** [nodecode.ai]( · [GitHub]( · [Zenodo v0.1.17](
  • Full ARC-AGI-3 paper: [FL-2026-006](

Hopefully this saves someone a bit of debugging time. Catch you later!

Comments (0)

No comments yet. Be the first to join the dialogue!