# How to cut model spend on an AI security agent

> Most model calls in a security agent work out answers another team already proved. Proven outcomes cut triage to under 1% of Opus's cost.

Updated 2026-11-29.

A security agent pays a model for every finding it triages and every CVE it fixes. Much of that work was already done and proven somewhere else. Reusing the proven answer costs less than any model, and on our benchmarks it was as accurate as Claude Opus.

## Where the money goes

A triage agent sends each scanner finding to the model with the files around it. The model reads the code and decides if the query or eval can be reached. A fix agent does the same for each CVE: it reads the advisory, finds the code, writes a patch and runs the tests.

The same library bug sits in thousands of repositories, and the same scanner rule fires on the same safe pattern again and again. Each agent works the answer out from scratch, at full price, because nothing tells it someone already has.

## The usual ways to cut the bill, and what they cost you

Three moves come up first. Each one saves money by giving something up.

- A cheaper model. Claude Haiku alone scored 82 of 100 on OWASP Java findings where Opus scored 97. The bill drops and so does accuracy.
- A semantic cache. It returns old text for a prompt that looks similar. Nothing checks that the old text was right, and in security a similar prompt is often different code. See [verified outcomes vs semantic caching](https://reeflex.si/guides/semantic-cache/).
- A smaller context. The agent still pays for every case, and it sees less of the code it has to judge.

## Reuse answers that were proven

Reeflex sits between your agent and the model as a drop-in API. When an analyst has already confirmed the same finding, or a fix has already passed a project's tests, Reeflex returns that answer with no model call. Everything else goes to your model on your own key, unchanged.

Here is the triage result on four sets of 100 findings each, run in Claude Code. The only difference between the arms is the base URL.

| Set | Opus alone | Haiku alone | Haiku with Reeflex | Answered by the network | Cost vs Opus |
| --- | --- | --- | --- | --- | --- |
| OWASP Java | 97 | 82 | 100 | 93 | 0.17% |
| OWASP Python | 100 | 91 | 98 | 84 | 0.37% |
| NIST Juliet | 100 | 96 | 99 | 89 | 0.32% |
| Random real code | 99 | 98 | 98 | 78 | 0.95% |

## Fixes cost less too

On five CVE fix benchmarks with 431 tasks, judged by each project's own tests, Haiku through Reeflex fixed 423, the same number as Opus. 309 of those fixes needed no model call. Opus cost $109 across the five, and Haiku through Reeflex cost $2.93.

| Benchmark | Opus alone | Haiku alone | Haiku with Reeflex | Fixed by the network | Cost vs Opus |
| --- | --- | --- | --- | --- | --- |
| 124 Django CVE backports | 124 | 120 | 122 | 111 (90%) | 0.52% |
| 72 fixes from the advisory text only | 71 | 72 | 72 | 65 (90%) | 0.78% |
| 44 backports in six Python projects | 44 | 44 | 44 | 40 (91%) | 0.6% |
| 68 backports in C: curl, git, expat, libarchive | 67 | 67 | 68 | 50 (74%) | 4.5% |
| 123 first-ever CVE fixes in 40 projects | 117 | 114 | 117 | 43 (35%) | 4.4% |

## Where the saving is smaller

The saving depends on how much of your work the network has seen. On backports in C the network fixed 74% on its own and the cost was 4.5% of Opus's. On first-ever CVE fixes, where the project's own fix was held out, it fixed 35% and the cost was 4.4%. Only 55 of those 123 bugs had another published version to learn from.

On real code where Haiku alone already scores 98 on triage, the gain is cost, not accuracy. An agent that does no security work saves nothing, because Reeflex forwards every request.

## Measure it on your own runs first

Every new team starts with a free replay: send a week of your agent's logs and within 48 hours you get the spend Reeflex would have saved and the wrong answers it would have caught. [Get access](https://reeflex.si/#contact) or read every result on the [benchmarks](https://reeflex.si/benchmarks/) page.

## Questions

### How much does Reeflex cut model cost on security triage?

On four benchmark sets of 100 findings, Claude Haiku through Reeflex cost between 0.17% and 0.95% of Claude Opus alone, and scored 100, 98, 99 and 98 against Opus's 97, 100, 100 and 99.

### Does switching to a cheaper model lose accuracy?

On its own, yes. Haiku alone scored 82 on OWASP Java where Opus scored 97. Through Reeflex, Haiku scored 100, because the network answered 93 of the 100 findings from verified outcomes.

### What happens to requests Reeflex can't answer?

They go to your model on your own key exactly as before. If Reeflex is down or not sure, it steps aside and your agent keeps running.

## Related

- [How to reduce false positives in AI scanner triage](https://reeflex.si/guides/false-positive-triage/)
- [Automated CVE fixes and backports, proven by tests](https://reeflex.si/guides/cve-fixes/)
- [Verified security outcomes vs semantic caching](https://reeflex.si/guides/semantic-cache/)

Page: https://reeflex.si/guides/security-agent-cost/
