Compare AI gateways

Pick up to four platforms. Every cell shows a verification state, not a marketing claim — “not publicly documented” means we could not find an official source, not that the capability is missing. See our methodology.

AI gateway feature comparison
CapabilityCFCloudflare AI Gateway
Security
Prompt-injection detectionIdentifies attempts to override system instructions in prompts or tool output.Verification pendingVerification pending. Verification pending.
Prompt-injection blockingBlocks the request before it reaches the model, rather than only logging it.Verification pendingVerification pending. Verification pending.
Jailbreak detectionDetects known jailbreak and guardrail-evasion patterns.Verification pendingVerification pending. Verification pending.
PII detectionIdentifies personal information in prompts or responses.Verification pendingVerification pending. Verification pending.
PII redactionMasks or removes personal information before it leaves the gateway.Verification pendingVerification pending. Verification pending.
Secret & credential scanningDetects API keys, tokens and credentials in prompts or output.Verification pendingVerification pending. Verification pending.
Input inspectionInspects outbound requests before they reach the model.Verification pendingVerification pending. Verification pending.
Output inspectionInspects inbound model responses before they reach the application.Verification pendingVerification pending. Verification pending.
Content moderationClassifies harmful or policy-violating content. Not equivalent to injection defense.Verification pendingVerification pending. Verification pending.
Policy enforcementConfigurable rules applied per route, team, key or environment.Verification pendingVerification pending. Verification pending.
Agent & tool controlsConstrains tool calls, autonomous actions and agent permissions.Verification pendingVerification pending. Verification pending.
MCP securityControls or inspects Model Context Protocol server traffic.Verification pendingVerification pending. Verification pending.
Audit logsDurable, reviewable record of requests and policy decisions.AvailableAvailable. Verified from official documentation.Request logging.
Access controlsRoles, teams, keys and scoped permissions.Verification pendingVerification pending. Verification pending.
Cost optimization
Prompt compressionReduces the number of tokens actually sent to the model.Not publicly documentedNot publicly documented. Not publicly documented.
Exact cachingReturns a stored response for a byte-identical request.AvailableAvailable. Verified from official documentation.Responses can be cached at the gateway.
Semantic cachingReturns a stored response for a semantically similar request using embeddings.Verification pendingVerification pending. Verification pending.
Intelligent model routingChooses a model per request based on task, cost or performance.AvailableAvailable. Verified from official documentation.Fallback and provider selection through a universal endpoint.
Automatic fallbackRetries against an alternate model or provider on failure.AvailableAvailable. Verified from official documentation.Request retries and model fallback.
Load balancingDistributes traffic across keys, regions or providers.Verification pendingVerification pending. Verification pending.
Token budgetsHard or soft limits expressed in tokens.Verification pendingVerification pending. Verification pending.
Dollar budgetsSpending limits expressed in currency.Verification pendingVerification pending. Verification pending.
Rate limitsRequest throttling. Throttling is not the same as token reduction.AvailableAvailable. Verified from official documentation.
Cost attributionAttributes spend to teams, keys, users or features.Verification pendingVerification pending. Verification pending.
Cost analyticsDashboards and reporting on token and dollar usage.AvailableAvailable. Verified from official documentation.Request, token and cost analytics.
Savings reportingReports the spend avoided by compression, caching or routing.Verification pendingVerification pending. Verification pending.
Models and deployment
OpenAISupports OpenAI models.AvailableAvailable. Verified from official documentation.
AnthropicSupports Anthropic models.AvailableAvailable. Verified from official documentation.
Google GeminiSupports Google Gemini models.AvailableAvailable. Verified from official documentation.
AWS BedrockSupports AWS Bedrock as a provider.AvailableAvailable. Verified from official documentation.
Azure OpenAISupports Azure OpenAI deployments.AvailableAvailable. Verified from official documentation.
Open-source modelsSupports open-weight models or self-hosted inference endpoints.AvailableAvailable. Verified from official documentation.Workers AI and other open-weight providers.
SaaS deploymentVendor-hosted managed service.AvailableAvailable. Verified from official documentation.Runs on Cloudflare's network.
VPC / private cloudDeployable inside a customer cloud account.Verification pendingVerification pending. Verification pending.
On-premiseDeployable in a customer data centre.Not publicly documentedNot publicly documented. Not publicly documented.
Self-hostedCustomer runs and operates the gateway themselves.Not publicly documentedNot publicly documented. Not publicly documented.
Open-source optionSource code published under an open-source licence.Not publicly documentedNot publicly documented. Not publicly documented.
APIProgrammatic API for configuration or traffic.AvailableAvailable. Verified from official documentation.
SDKOfficial client libraries.LimitedLimited. Partially documented.Integration is mostly a base-URL change rather than a dedicated SDK.
Commercial
Public pricingList pricing published on the vendor website.Verification pendingVerification pending. Verification pending.
Free tierA permanently free usage tier.AvailableAvailable. Verified from official documentation.Available on all Cloudflare plans, including free.
Free trialA time-limited or credit-limited trial.Verification pendingVerification pending. Verification pending.
Enterprise planA named enterprise tier.Verification pendingVerification pending. Verification pending.
Contact sales requiredPricing requires contacting the vendor.Verification pendingVerification pending. Verification pending.
Best forTeams already on Cloudflare that want fast caching, analytics and spend limits
Last reviewed2026-07-30