AI Security

Griffin AI vs Claude Batch API for Scanning

Claude's Batch API gives you 50% off for async workloads. Griffin AI uses it internally. The question is whether your team should use the Batch API directly or consume it through Griffin.

Shadab Khan
Security Engineer
2 min read

Anthropic's Batch API provides ~50% discount for asynchronous workloads, making it an attractive option for bulk security scanning. Griffin AI uses the Batch API internally for high-throughput analysis. The question for security teams is whether to consume the Batch API directly or through Griffin AI — and the answer depends on how much engineering infrastructure the team is willing to build.

What Claude Batch API provides

Three properties:

  • ~50% cost reduction for async jobs.
  • 24-hour turnaround (often faster in practice).
  • Structured input/output for batch processing.

For bulk, non-time-sensitive work, this is excellent.

What direct Batch API use requires building

Five layers:

  • Input construction. Framing each scan as a batch-compatible prompt with appropriate context.
  • Output parsing. Extracting findings from model outputs reliably across batch responses.
  • Result integration. Feeding findings into SIEM, ticketing, dashboards.
  • Eval harness. Verifying batch outputs meet quality bars.
  • Cost controls. Preventing runaway batch volumes.

This is 1-2 quarters of engineering for a team that doesn't already have it.

How Griffin AI uses it

Griffin AI's engine identifies scan candidates that benefit from Batch API processing — bulk advisory summarisation, dependency metadata enrichment, low-priority finding triage. Those jobs route to Batch; real-time reasoning routes to synchronous APIs.

The savings pass through to customers as lower platform token spend.

When to use Batch API directly

Two cases:

  • Custom workflows that don't fit any commercial platform.
  • Organisations with dedicated AI engineering capacity.

For mainstream security workflows, Griffin AI's Batch integration delivers the cost benefit without the engineering investment.

How Safeguard Helps

Safeguard's Griffin AI uses Claude's Batch API for appropriate workloads automatically. Customers get the cost benefit without building the batch orchestration layer themselves. For teams that want the Batch pricing without the Batch engineering, this is the architectural choice that pays back.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.