{"id":11350,"date":"2026-05-30T00:30:43","date_gmt":"2026-05-29T16:30:43","guid":{"rendered":"https:\/\/aeosub.com\/aipcf-ai-provider-for-cloudflare\/"},"modified":"2026-05-30T00:30:43","modified_gmt":"2026-05-29T16:30:43","slug":"aipcf-ai-provider-for-cloudflare","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/aipcf-ai-provider-for-cloudflare\/","title":{"rendered":"AIPCF &#8211; AI Provider for Cloudflare"},"content":{"rendered":"<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/s.w.org\/plugins\/geopattern-icon\/aipcf-ai-provider-for-cloudflare.svg\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/deshabhishek007\/\" target=\"_blank\" rel=\"noopener\">Abhishek Deshpande<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">7.0 \/ 7.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-29 4:24pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/aipcf-ai-provider-for-cloudflare\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Run Cloudflare Workers AI models from your WordPress site \u2014 edge inference, a generous free tier, and your data stays on Cloudflare&#039;s network.<\/div>\n<p>This plugin connects WordPress to <a href=\"https:\/\/developers.cloudflare.com\/workers-ai\/\" rel=\"nofollow ugc noopener\" target=\"_blank\">Cloudflare Workers AI<\/a>, making its hosted large language models available to any WordPress feature or plugin that uses the WordPress AI Client (introduced in WordPress 7.0).<\/p>\n<h4>Supported models<\/h4>\n<p>The plugin fetches the full list of available text generation models directly from your Cloudflare account and shows them in the settings dropdown, so you always see what is actually available to you. The list is cached for 12 hours and refreshed whenever you save your credentials.<\/p>\n<p>A built-in fallback list is used when your credentials are not yet configured or the API is unreachable. See <a href=\"https:\/\/developers.cloudflare.com\/workers-ai\/models\/\" rel=\"nofollow ugc noopener\" target=\"_blank\">Cloudflare&#8217;s model catalogue<\/a> for the current full list.<\/p>\n<h4>Why Cloudflare Workers AI?<\/h4>\n<p>Unlike hosted AI services that charge per seat or per API call at a premium rate, Cloudflare Workers AI runs inference at the edge on a usage-based model. The free tier covers 10,000 neurons per day (Cloudflare&#8217;s billing unit \u2014 roughly 200\u2013500 average generation requests) \u2014 enough for a content-heavy site to generate post summaries, meta descriptions, and moderation checks without any cost. Paid usage is billed per neuron, making it significantly cheaper at scale compared to per-token pricing from closed providers.<\/p>\n<p>Your prompts and completions also never leave Cloudflare&#8217;s network to reach a third-party AI company&#8217;s servers, which matters for sites with privacy or data-residency requirements.<\/p>\n<h4>What you need<\/h4>\n<ol>\n<li>A <a href=\"https:\/\/dash.cloudflare.com\/sign-up\" rel=\"nofollow ugc noopener\" target=\"_blank\">Cloudflare account<\/a> with Workers AI enabled.<\/li>\n<li>Your <strong>Account ID<\/strong> \u2014 visible on the Workers AI dashboard sidebar.<\/li>\n<li>A <strong>Cloudflare API token<\/strong> with the &#8220;Workers AI &#8211; Edit&#8221; permission.<\/li>\n<\/ol>\n<h3>Usage<\/h3>\n<p>Once the plugin is configured, any WordPress AI Client-compatible feature or plugin will automatically use Cloudflare Workers AI as its provider.<\/p>\n<p>Developers can also call it directly:<\/p>\n<pre><code>use WordPressAiClientAiClient;\n\n$result = AiClient::prompt( 'Summarise this post in two sentences.' )\n    -&gt;usingProvider( 'cloudflare-workers-ai' )\n    -&gt;usingModel( '@cf\/meta\/llama-4-scout-17b-16e-instruct' )\n    -&gt;generateTextResult();\n\necho $result-&gt;toText();\n<\/code><\/pre>\n<p>Switch models without changing any other code \u2014 swap <code>llama-4-scout-17b-16e-instruct<\/code> for <code>qwen2.5-coder-32b-instruct<\/code> and you are running a coding assistant instead.<\/p>\n<p>This plugin does not add a chatbot or front-end widget by itself. It registers the provider so that other AI Client-powered features, plugins, and themes can use it.<\/p>\n<h3>External Services<\/h3>\n<p>This plugin connects to the Cloudflare Workers AI REST API to run AI inference.<\/p>\n<p>The service is used to:<\/p>\n<ul>\n<li>Run text generation requests against the model you select.<\/li>\n<li>Verify your Account ID and API token when you click &#8220;Test connection&#8221;.<\/li>\n<\/ul>\n<h4>What data is sent and when<\/h4>\n<p>When you click &#8220;Test connection&#8221; in the plugin settings, your Account ID and API token are sent to <code>https:\/\/api.cloudflare.com\/client\/v4\/accounts\/{account_id}\/ai\/models\/search<\/code> to verify the credentials. No prompt data is sent during this check.<\/p>\n<p>When a compatible AI Client feature generates text, the plugin sends your API token, the selected model ID, and the prompt messages to <code>https:\/\/api.cloudflare.com\/client\/v4\/accounts\/{account_id}\/ai\/run\/{model_id}<\/code>. Requests are only made when AI generation is explicitly triggered \u2014 nothing is sent automatically in the background.<\/p>\n<h4>Service provider<\/h4>\n<p>Cloudflare Workers AI is provided by Cloudflare, Inc.<\/p>\n<ul>\n<li>Cloudflare Workers AI documentation: https:\/\/developers.cloudflare.com\/workers-ai\/<\/li>\n<li>Cloudflare Terms of Service: https:\/\/www.cloudflare.com\/terms\/<\/li>\n<li>Cloudflare Privacy Policy: https:\/\/www.cloudflare.com\/privacypolicy\/<\/li>\n<\/ul>\n<h3>Roadmap<\/h3>\n<p>Current version supports Workers AI edge inference. AI Gateway support for caching, rate-limiting, and analytics coming soon.<\/p>","protected":false},"excerpt":{"rendered":"<p>Run Cloudflare Workers AI models from your WordPress site \u2014 edge inference, a generous free tier, and your data stays on Cloudflare&#039;s network.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[550,1734,2545,2546,555,2547],"class_list":["post-11350","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-ai","tag-cloudflare","tag-llama","tag-mistral","tag-wordpress-plugin","tag-workers-ai"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11350"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11350\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}