Compare · Azure Prompt Shields

Azure Prompt Shields alternative for teams not on Azure

Azure AI Content Safety Prompt Shields is a strong text prompt-injection detector — and it ships as part of Azure's tenant-bound stack with per-call pricing tied to your Azure subscription. If your runtime lives on AWS, GCP, Cloudflare Workers, Fly, Vercel, or your own metal, you have three options: spin up Azure just for the scanner, build your own, or pick a cross-cloud detector. This page is for the third path.

TL;DR

Glyphward is a cross-cloud, flat-rate, multimodal alternative to Azure Prompt Shields. One HTTPS endpoint, no tenant binding, no Azure-AD round-trip, and image plus audio bytes as first-class inputs — not just text strings. Use Glyphward if your stack is not Azure-native, or if you are Azure-native but need image and audio coverage that Prompt Shields does not provide.

What Prompt Shields actually does

Prompt Shields is Azure AI Content Safety's prompt-injection detector. It accepts user prompts and (optionally) document context, and returns a verdict for two attack classes: direct user-prompt jailbreaks (called userPromptAttack) and indirect attacks injected through retrieved documents (called documentAttack). It is text-in, text-verdict-out, served from Azure regions, billed under your Azure Cognitive Services subscription with a per-1k-text-records meter on top of your data egress.

Worth a clarifying note up front, because this is the most common confusion we hear in this buyer conversation: Azure also ships an image moderation API under the same Content Safety umbrella, but that is a content moderation classifier (violence, sexual content, self-harm, hate), not a prompt-injection detector. It will happily pass a clean-looking screenshot containing a hidden FigStep payload because such payloads are not what it is trained to flag. Our /compare/vs-azure-prompt-shields page walks through that distinction in more detail; it bites everyone at least once.

Where the Azure-only constraint hurts

Three concrete operational frictions make Prompt Shields a poor fit for non-Azure deployments:

Architectural difference

Azure Prompt ShieldsGlyphward
HostingAzure-tenant-bound, Azure regionsCloud-portable HTTPS endpoint, Cloudflare-fronted
AuthAzure subscription key + Entra IDSingle API key, optional HMAC
ModalitiesText (user prompt + doc context)Image bytes + audio bytes + text fallback
Multimodal PINot in scope (image moderation is separate, different purpose)FigStep / AgentTypo / WhisperInject / typographic / indirect-via-image
Pricing modelPer 1k text records, billed via Azure subscriptionFlat $29/mo or $99/mo, free tier 10/day
SDK lock-inAzure SDK ecosystem encouragedPlain REST, no SDK required
Region storyPick from Azure regionsSingle global anycast endpoint

The architectural difference matters less than the deployment one. Prompt Shields is the right detector for an Azure-native stack with text-only PI surface and procurement that already knows Azure billing. Glyphward is the right detector for everyone else — and the right second detector for Azure-native shops whose attack surface includes image and audio uploads.

Run-both for Azure-native teams

If you are on Azure and Prompt Shields covers your text path satisfactorily, the multimodal half is still uncovered. The clean composition:

  1. Text path — keep Prompt Shields. It is right where it should be.
  2. Image upload path — call Glyphward before the image hits Azure OpenAI's vision endpoint. Block on score > threshold; pass on clean.
  3. Audio path — call Glyphward before STT (whether you are using Azure AI Speech, Whisper, or a third-party provider). Audio PI bypasses transcript-only filters by construction; the detector has to see the waveform.

You keep the Azure billing relationship, you do not introduce a new vendor for the part of the stack Prompt Shields already handles, and you close the multimodal gap without rebuilding anything.

When to pick which

What a switch costs

Migrating off Prompt Shields onto Glyphward — for a non-Azure team that ended up there for the detector but never used Azure for anything else — is roughly an afternoon of work: replace the SDK call with a single POST /v1/scan, point the API key at our endpoint, and remove the Cognitive Services resource. For a hybrid run-both, the work is even smaller: add the call on the upload path, leave Prompt Shields on the text path, ship.

Get early access · See full market comparison

Related questions

Doesn't Azure already have an image API?

Yes — Azure AI Content Safety has an image moderation classifier. It is trained for content moderation (violence, sexual, self-harm, hate categories), not for prompt-injection. A FigStep payload is not in any of those categories, and the moderation API is not designed to flag it. Treat image moderation and image-PI detection as different products with different training objectives.

Can I call Prompt Shields from a non-Azure runtime?

You can — the API is HTTPS — but you still need an Azure subscription to issue the key, the call still hits an Azure region, and your invoice still lives in Azure. The friction is operational, not technical.

What's your latency story vs Prompt Shields?

We target sub-200ms p95 from a single global anycast endpoint. Prompt Shields latency depends on which Azure region you pick relative to your runtime; cross-region calls can add 50–200ms on their own. For voice agents and other latency-sensitive paths, the geography matters.

Are you on the Azure Marketplace?

Not currently. Marketplace listing is on the long-term roadmap once self-serve revenue justifies the listing and certification cost. If your procurement requires Marketplace transactions today, Prompt Shields is the right answer.

How do you handle data residency?

Image and audio bytes are processed and discarded — no retention by default. Aggregated detection statistics are kept for corpus improvement but are detached from any identifiable upload. If you have a stricter residency requirement than that (e.g. EU-only processing), email hello@glyphward.com and we will tell you honestly whether we can meet it today.

Further reading