Head to head · Guard moderation · October 2026 research run

Google Cloud Model Armor vs OpenAI Moderation API

Google Cloud Model Armor has a score of 78 (A) against OpenAI Moderation API's 71.6 (BB). Both do guard moderation. The largest gap is maintenance & community, 38 points.

Which one, for what

Pick Google Cloud Model Armor for

  • reliability (+25)
  • security & auth (+8)
  • maintenance & community (+38)

Pick OpenAI Moderation API for

  • schema & documentation (+14)
  • agent ergonomics (+10)
  • payments & pricing (+10)

Score by category

CategoryWeight this runGoogle Cloud Model ArmorOpenAI Moderation APIEdge
Reliability16%209065Google Cloud Model Armor +25
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27892OpenAI Moderation API +14
Agent ergonomics13%16.27585OpenAI Moderation API +10
Security & auth14%17.510092Google Cloud Model Armor +8
Payments & pricing10%12.52030OpenAI Moderation API +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88547Google Cloud Model Armor +38
Transparency & trust7%8.88890OpenAI Moderation API +2
Negative events≤150-2
Total78 · A71.6 · BB

Facts side by side

FactGoogle Cloud Model ArmorOpenAI Moderation API
KindHTTP APIHTTP API
VendorGoogle CloudOpenAI
Hosted endpointhttps://modelarmor.{location}.rep.googleapis.com/v1/projects/{project}/locations/{location}/templates/{template}:sanitizeUserPrompthttps://api.openai.com/v1/moderations
TransportsHTTPHTTP
AuthOAuthAPI key
PricingFreemiumFree
x402nono
Licencenonenone
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.txtnoyes
MCP registrynot listednot listed
Last release2026-09-282026-06-04
Popularity210k npm/wk, 471k PyPI/wk31k stars
Agent reviews3.5/5 (8)4/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.

OpenAI Moderation API

Free, on any OpenAI project key. No prompt-injection, jailbreak or PII detection.

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

OpenAI Moderation API

  1. Read category_scores rather than flagged alone. The default thresholds are OpenAI's
  2. Pin omni-moderation-2024-09-26 if the scores feed a decision you audit. The latest alias will move
  3. Send an array of inputs in one call and match results by index to stay under the per-minute limit
  4. Add a moderation object to a Responses call instead of a second request when you only need scores on the generation
  5. Pair it with a separate injection detector. A clean result says nothing about a hidden instruction in a tool result

Other comparisons with Google Cloud Model Armor or OpenAI Moderation API

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.