Pricing
AI Gateway is available to use on all plans.
AI Gateway's core features available today are offered for free, and all it takes is a Cloudflare account and one line of code to get started. Core features include: dashboard analytics, caching, and rate limiting.
We will continue to build and expand AI Gateway. Some new features may be additional core features that will be free while others may be part of a premium plan. We will announce these as they become available.
You can monitor your usage in the AI Gateway dashboard.
Persistent logs are available on all plans. Log storage limits vary by plan.
| Plan | Log storage limit |
|---|---|
| Workers Free | 100,000 logs total across all gateways |
| Workers Paid | 10,000,000 logs per gateway |
For more details on log storage behavior and automatic log deletion, refer to Limits and Logging.
DLP scanning in AI Gateway is free on all plans. Accounts without a Zero Trust subscription have access to two predefined DLP profiles: Financial Information and Social / Insurance / National Identifier Numbers.
DLP profiles are shared at the account level with Cloudflare One. If your account has a Zero Trust subscription that includes DLP, the full set of profiles — including all predefined profiles, custom profiles, integration profiles, DLP datasets, and OCR — is automatically available in AI Gateway.
Guardrails evaluates prompts and responses using @cf/meta/llama-guard-3-8b on Workers AI. Usage is billed as Workers AI token-based inference — cost scales with the length of the prompts and responses being evaluated.
Logpush is only available on the Workers Paid plan.
| Paid plan | |
|---|---|
| Requests | 10 million / month, +$0.05/million |
Prices subject to change. If you are an Enterprise customer, reach out to your account team to confirm pricing details.