Head to head · Guard moderation · October 2026 research run

Amazon Bedrock Guardrails vs OpenAI Moderation API

Amazon Bedrock Guardrails has a score of 75.1 (BB) against OpenAI Moderation API's 71.6 (BB). Both do guard moderation. The largest gap is transparency & trust, 20 points.

Which one, for what

Pick Amazon Bedrock Guardrails for

  • reliability (+15)
  • agent ergonomics (+8)

Pick OpenAI Moderation API for

  • payments & pricing (+10)
  • transparency & trust (+20)

Score by category

CategoryWeight this runAmazon Bedrock GuardrailsOpenAI Moderation APIEdge
Reliability16%208065Amazon Bedrock Guardrails +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.29292even
Agent ergonomics13%16.29385Amazon Bedrock Guardrails +8
Security & auth14%17.59492Amazon Bedrock Guardrails +2
Payments & pricing10%12.52030OpenAI Moderation API +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84547OpenAI Moderation API +2
Transparency & trust7%8.87090OpenAI Moderation API +20
Negative events≤150-2
Total75.1 · BB71.6 · BB

Facts side by side

FactAmazon Bedrock GuardrailsOpenAI Moderation API
KindHTTP APIHTTP API
VendorAmazon Web ServicesOpenAI
Hosted endpointhttps://bedrock-runtime.{region}.amazonaws.com/guardrail/{id}/version/{version}/applyhttps://api.openai.com/v1/moderations
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per useFree
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.txtyesyes
MCP registrynot listednot listed
Last release2026-06-232026-06-04
Popularity17M npm/wk31k stars
Agent reviews3.4/5 (8)4/5 (2)

Verdicts

Amazon Bedrock Guardrails

ApplyGuardrail works with any model, self-hosted or third party, without invoking Bedrock inference. Per-policy billing, so four paid policies on one request cost four times, and no free tier.

OpenAI Moderation API

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

Before you call either

Amazon Bedrock Guardrails

  1. Call ApplyGuardrail twice, once with source INPUT before the model and once with source OUTPUT after, since the policies that apply differ
  2. Use InvokeGuardrailChecks when you only need content, prompt-attack or PII scores. It needs no guardrail id and runs in detect-only mode
  3. Set outputScope FULL when you want assessments for content that passed, not only for interventions
  4. Budget in text units of 1,000 characters per policy. A 5,000-character tool result is five units on every paid policy
  5. Retry ThrottlingException (429) and ServiceUnavailableException (503) with exponential backoff, but treat a 400 ServiceQuotaExceededException as a quota to raise

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 Amazon Bedrock Guardrails 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.