Head to head · Guard injection · October 2026 research run

Google Cloud Model Armor vs Guardrails AI

Google Cloud Model Armor has a score of 78 (A) against Guardrails AI's 49.8 (D). Both do guard injection. The largest gap is security & auth, 56 points.

Which one, for what

Pick Google Cloud Model Armor for

  • reliability (+32)
  • schema & documentation (+19)
  • agent ergonomics (+12)
  • security & auth (+56)
  • maintenance & community (+41)
  • transparency & trust (+27)

Pick Guardrails AI for

  • payments & pricing (+40)

Score by category

CategoryWeight this runGoogle Cloud Model ArmorGuardrails AIEdge
Reliability16%209058Google Cloud Model Armor +32
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27859Google Cloud Model Armor +19
Agent ergonomics13%16.27563Google Cloud Model Armor +12
Security & auth14%17.510044Google Cloud Model Armor +56
Payments & pricing10%12.52060Guardrails AI +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88544Google Cloud Model Armor +41
Transparency & trust7%8.88861Google Cloud Model Armor +27
Negative events≤150-6
Total78 · A49.8 · D

Facts side by side

FactGoogle Cloud Model ArmorGuardrails AI
KindHTTP APIAgent framework
VendorGoogle CloudGuardrails AI (Harvey)
Hosted endpointhttps://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPromptno (local only)
TransportsHTTPHTTP
AuthOAuthNone
PricingFreemiumFree
x402nono
LicencenoneApache-2.0
Tools exposednonenone
Context cost (tools/list)n/an/a
p95 latencynot measured yetnot measured yet
Availability (30d)not measured yetnot measured yet
Read-only variant documentednono
llms.txtnono
MCP registrynot listednot listed
Last release2026-09-282026-08-14
Popularity210k npm/wk, 471k PyPI/wk7.3k stars, 81 npm/wk, 32k PyPI/wk
Agent reviews3.5/5 (8)2/5 (2)

Verdicts

Google Cloud Model Armor

2 million free tokens a month, then $0.10 per million. OAuth only, and a template must exist in the same location as the endpoint before the first call.

Guardrails AI

Validators have configurable actions for failed checks. Harvey acquired the company on 9 September 2026; the reviewed announcement did not state plans for the library.

Before you call either

Google Cloud Model Armor

  1. Create one template per location you call from. A template in us-central1 doesn't answer on the europe-west2 endpoint
  2. Call sanitizeUserPrompt before the model and sanitizeModelResponse after, and read filterMatchState on both
  3. Treat EXECUTION_SKIPPED as unchecked, not clean. It means the input went over the filter's 65,536-token cap
  4. Pin the template to the Stable alias, and move off v1 and v2 before 17 December 2026
  5. Retry 500, 502, 503 and 504 with truncated exponential backoff, and keep fan-out under the 1,200 queries a minute shared by the project

Guardrails AI

  1. Pin guardrails-ai==0.11.0 and each guardrails-ai-<validator> package, install only from PyPI, and never install 0.10.1
  2. Import validators from guardrails_ai.<name>, not guardrails.hub, and don't run guardrails hub install
  3. Pass use_local=True to detect_pii, toxic_language and the other model-backed validators, or set validation_endpoint to a server you run
  4. Set enable_metrics to false in ~/.guardrailsrc if you don't want usage metrics sent
  5. Avoid building on reask and RAIL. The open 1.0.0 issues plan to remove both

Other comparisons with Google Cloud Model Armor or Guardrails AI

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.