This plugin sends WordPress AI Client text generation through Cloudflare AI Gateway’s OpenAI-compatible
REST API. It supports chat history, tools, structured JSON output, and optional vision input.
openai/gpt-4.1.The REST API base URL built from an Account ID is:
https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1.
This plugin connects to Cloudflare AI Gateway, a service provided by Cloudflare, Inc. The connection
is required to generate text. The plugin sends your prompt to Cloudflare through its API and displays
the generated response in WordPress. No other external service is used.
Data is sent only when a generative AI request is made while this provider is selected or preferred,
and only after the site administrator has configured an Account ID or a complete API base URL. Each
request sends:
Requests go to the Cloudflare API base URL configured by the site administrator. With only an Account
ID configured, that is https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1. A custom
base URL points to the compatible gateway route or domain the administrator chose. Nothing is sent to
the plugin author or to any other service.
Cloudflare AI Gateway documentation: https://developers.cloudflare.com/ai-gateway/usage/rest-api/
Cloudflare terms of use: https://www.cloudflare.com/terms/
Cloudflare privacy policy: https://www.cloudflare.com/privacypolicy/