AIPCF connects WordPress to Cloudflare Workers AI . Once connected, the AI features built into WordPress 7.0+ and the WordPress AI plugin run on Cloudflare’s models: excerpts, titles and meta descriptions in the editor, alt text on upload, image generation. On top of that, AIPCF can search your post
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 7.0 and PHP 8.2.
SourceWordPress plugins · Nov 26, 2026
01 / Source details
Aboutthistool.
AIPCF connects WordPress to Cloudflare Workers AI . Once connected, the AI features built into WordPress 7.0+ and the WordPress AI plugin run on Cloudflare’s models: excerpts, titles and meta descriptions in the editor, alt text on upload, image generation. On top of that, AIPCF can search your posts by meaning, answer questions from them, suggest related posts and internal links, and let AI agents such as Claude and ChatGPT search and quote your site. Everything runs inside Cloudflare’s free daily allowance of 10,000 neurons, and a daily budget keeps a busy day from turning into a bill.
AIPCF is an independent community plugin, not an official Cloudflare or WordPress product. It was built out of need, and love for the idea that every small site should get useful AI without a bill.
New in 2.0
A guided setup, and one simple menu: AIPCF > Home, Features, Insights, Settings, Activity and Help.
Better answers: your words and their meaning together, with a second check by a reranking model.
Best matches above your site’s own search results, for the members you choose.
Answers for AI agents such as Claude and ChatGPT, read-only, through the MCP adapter.
A daily budget that can count the whole Cloudflare account’s use.
What it costs, measured on a live site
a meta description, excerpt or title: about 2 neurons (about 5,000 a day inside the allowance)
a generated 1024×1024 image: about 170 neurons (about 55 a day)
describing an image for alt text: about 17 neurons
a search by meaning: about 0.03 neurons ; an answer from the Site assistant: 10 to 30 neurons
translating a sentence: under 1 neuron
What you get
In the editor , with the WordPress AI plugin: excerpts, titles, meta descriptions, summaries, alt text on upload, image generation.
Across your archive : Backfill fills missing meta descriptions (Yoast, Rank Math, AIOSEO, SEOPress) and image alt text in the background, a few at a time, within its daily limit. It works with or without the AI plugin. A 140-post backlog cost about 175 neurons on a real site.
A receipt after every action : feature, model, neurons and time, shown in the editor. Today’s total sits in the admin bar. A monthly email sums up requests, tokens and neurons.
Translation for any theme or plugin: aipcf_translate( $text, 'mr' ) , 100 languages via M2M100 and 22 Indian languages via IndicTrans2.
What you need
01A Cloudflare account. No credit card is needed for the Workers AI daily allowance.
02An API token created from the “Workers AI” template at dash.cloudflare.com/profile/api-tokens. To keep the content index in Cloudflare Vectorize, add Account > Vectorize > Edit. To count the whole account’s use, add Account > Account Analytics > Read.
03Your Account ID , the 32-character code on the right of the Workers & Pages page in the Cloudflare dashboard.
The setup walks through all three.
How it stays inside the allowance
Recommended settings : Gemma 4 26B for writing, Granite 4 Micro for short tasks, a daily budget of 10,000 neurons, no paid fallbacks, caching on. The setup applies them in one step.
Daily budget : email at 80%; at 100% either pause until midnight UTC or switch text requests to the cheapest model instead of failing (everything that is not text pauses). It can count the whole Cloudflare account’s use, read from Cloudflare’s analytics every 15 minutes, so other sites and apps on the same account are included.
Daily limits per feature , so one feature cannot use up what the others need.
Short tasks on a small model : titles, excerpts, meta descriptions, moderation and alt text go to a model that costs a fraction of the neurons; long-form keeps your default.
Caching : repeated identical prompts are answered from cache for zero neurons, at Cloudflare’s edge through AI Gateway or locally. A “Regenerate” click within ten minutes bypasses it so you get a new answer.
Never fall back to paid providers : one switch keeps Anthropic, Google and OpenAI out of the AI plugin’s fallback list.
The content index
The features that search your content need a content index: the posts you choose, turned into embeddings (lists of numbers that capture what a text is about) and kept in Cloudflare Vectorize, Qdrant or PostgreSQL. It stays in sync as you edit, shows its cost before anything is sent, and is off until you switch it on, on Settings > Content index. Indexing whoisabhi.com (166 posts and pages) took about 60 neurons.
What the content index is used for
Each feature is off until you switch it on under AIPCF > Features, and each has a daily limit.
Site assistant : a chat that answers from your posts and pages, cites them, and says when it cannot find the answer. For members you choose, or every visitor. Built-in guardrails plus your own rules, blocked topics and an optional safety check. Chats are saved only with consent. When its daily limit is used up, it goes offline.
Related posts : [aipcf_related] , or added automatically (after the content, before it or after a paragraph). Lists are built in the background from the index: no neurons, nothing runs when a visitor opens a page. Each entry can say why it is related.
Search : [aipcf_search] finds posts by meaning, for the logged-in members you choose. It can also add Best matches above your site’s own search results, and list the matches by meaning when the words typed find nothing. Visitors who are not logged in get the normal WordPress search, so nobody outside can spend your neurons. Results only, no generated answers.
Link assistant (for everyone who can edit posts): for a post, which posts it should link to and which should link back, with the exact word to link and the sentence it is in. A word is only suggested if it is really there. “Posts with no links to them” lists every post without internal links to it. A chat answers questions about the suggestions. Nothing in your posts is changed.
Search insights (AIPCF > Insights): what people search for on the site, which searches found nothing, and the content gaps: searches your posts do not answer well. “What to write next” groups the gaps into topics and suggests an article or a post to extend for each. No user, IP address or browser details are stored.
AI agents : lets agents such as Claude and ChatGPT search your site, get an answer with sources and find related posts, through the MCP adapter . An agent signs in as a user with an application password; you choose which users may connect. Read-only, limited to 30 calls a minute and its own daily limit, and every call is listed in Activity.
The AI plugin (recommended)
AIPCF is the engine. The WordPress AI plugin adds the block-editor features that use it: excerpts, titles, meta descriptions, alt text on upload, summaries, image generation. It is recommended, not required; AIPCF’s own features (Backfill, the content index and the features on it, usage tracking, the daily budget, and aipcf_translate() for developers) work without it.
External Services
This plugin sends data to Cloudflare, Inc. to run AI inference on Cloudflare Workers AI. If you switch the content index on, it also stores content in the vector store you choose: Cloudflare Vectorize, a Qdrant server (yours or Qdrant Cloud), or your PostgreSQL database. Nothing is sent to any other third party, nothing is sent until you have entered your Cloudflare credentials, and nothing goes to a vector store until you switch the content index on and configure it.
What is sent, and when
When an AI feature runs (you or another plugin ask for text, an image, a translation, or an image description): your API token, the model id, and the prompt (post title and content, messages, and any attached image data) go to https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1/chat/completions for chat models, or https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/{model} for image, vision and translation models.
When an AI Gateway name is configured , the same requests go to https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway}/... instead, with request metadata attached: your site’s host name, the WordPress feature, the model id, the current user’s numeric ID and the plugin version. Cloudflare stores these in the gateway’s logs according to your gateway settings; the “Log prompts” option controls whether prompt and response text are stored there.
On a schedule, if you enable Backfill : the hourly job sends the title and content of posts that lack a meta description, and the image files (or their public URLs, read by the plugin) of attachments that lack alt text, to the endpoints above. This runs in the background until the backlog is done or Backfill’s daily limit is reached. It is off by default.
Credentials checks : “Test connection” and the settings save send your Account ID and API token to https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/models/search ; the Connectors screen’s key validation sends the token to https://api.cloudflare.com/client/v4/user/tokens/verify . The model list is read from the models/search endpoint and cached for 12 hours.
Prompt tests and license re-checks on the settings page send one request on demand, as above.
The content index, only when switched on (off by default): the text of the content you selected (title, content and the other fields you ticked, split into passages) goes to https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/{embedding model} (or through your AI Gateway) to be turned into vectors. This happens once for existing content, then when selected content is saved, and within the Embeddings daily limit. The vectors are then written, with each passage’s text (unless “Store the text” is off) and its post ID, type, title, URL, publish date, language and a site ID, to the vector store you chose:
Content index in Cloudflare Vectorize : https://api.cloudflare.com/client/v4/accounts/{account_id}/vectorize/v2/indexes/... , with your Cloudflare API token.
Content index in Qdrant : the URL you enter (a Qdrant Cloud cluster or your own server), with the
See it in action
Screenshots & previews.
Home: whether it works, today's neurons, which model does what, and what is on.The setup, from nothing to a working site: what AIPCF does, what it costs and where your data goes.Features: one card for each feature, each off until you switch it on.Settings > Models: who does what now, and the model for each kind of request, with its cost.Settings > Budget: the daily budget, what happens when it is reached, and the whole account's use.AI agents: let agents such as Claude search and quote your site, read-only, with how to connect them.Backfill: missing meta descriptions and alt text, filled in the background within a daily limit.Help: checks, recent errors and a diagnostics report for support.
02 / Source details
Gettingstarted.
01Install and activate the plugin. The setup opens: AIPCF > Setup.
02Connect: your Account ID, and your Cloudflare API token on Settings > Connectors (WordPress 7.0+ manages provider keys there). The setup has the exact clicks for creating the token.
03Choose what you want AIPCF to do. If a choice needs the content index, the setup builds it next.
04Check the recommended settings and the daily budget, and finish. You land on AIPCF > Home.
05Optional: install the WordPress AI plugin for AI in the block editor, and enter an AI Gateway name on Settings > Connection for edge caching and logs.
You can run the setup again from AIPCF > Help.
wp-config.php constants (optional)
define( 'CLOUDFLARE_WORKERS_AI_ACCOUNT_ID', 'your-account-id' ); define( 'CLOUDFLARE_WORKERS_AI_API_TOKEN', 'your-api-token' ); define( 'CLOUDFLARE_WORKERS_AI_DEFAULT_MODEL', '@cf/google/gemma-4-26b-a4b-it' ); define( 'CLOUDFLARE_AI_GATEWAY_TOKEN', 'gateway-auth-token' ); // only for authenticated gateways define( 'AIPCF_QDRANT_API_KEY', 'qdrant-api-key' ); // content index in Qdrant define( 'AIPCF_PG_PASSWORD', 'postgres-password' ); // content index in PostgreSQL
Settings saved on the page take precedence over the constants. Environment variables with the same names are also read.
03 / Source details
Frequently asked questions.
Is it really free?
Cloudflare Workers AI includes 10,000 neurons a day on every account, with no card on file. Measured on a live site, a meta description costs about 2 neurons and an alt text about 17, so a normal site never gets near the limit. Above the allowance Cloudflare bills per neuron at its published rate; the plugin’s daily budget is there so that does not happen by accident.
What happens when the daily budget is reached?
You choose: pause AI requests until midnight UTC, or switch text requests to the cheapest model on your account. Only text requests have a cheaper model: Everything else pauses either way: Backfill, the content index, Link assistant chat, the Site assistant, Search, Search insights, AI agents, image generation, image reading (alt text) and translation. Generated images count about 170 neurons each when Cloudflare does not report the figure. Either way you get an email at 80% and at 100%. The count resets at midnight UTC.
Which model should I use?
Start with the recommended defaults: Gemma 4 26B for writing and Granite 4 Micro for short tasks. They were picked by measuring output quality against neurons on real posts. Llama 3.3 70B writes a little better and costs several times more per token. Settings > Models shows the neurons per 1,000 tokens for every model on your account, read from Cloudflare’s price list.
I picked a model, but the logs show a different one (often Llama)
That is expected for some requests, and Home and Settings > Models list the model for each one under “Current model setup”. Writing uses your default model. Short tasks (titles, excerpts, meta descriptions, alt text wording) use the light model if you set one; a model you pick for a feature in the AI plugin is used as picked. Anything that reads an image, such as alt text, uses the vision model, because text models cannot see images; on most accounts that is Llama 3.2 11B Vision, and you can pick another vision model on Settings > Models. Generated images use the image model, translation uses M2M100 or IndicTrans2, and once the daily budget is used up text requests can switch to the cheapest model. The AI Gateway logs show which feature sent each request in the metadata field.
Which Workers AI models can I use?
The model list is read from your account and cached for 12 hours. Each entry shows context window, neurons per 1,000 tokens from your account’s current price list, and whether it supports tool calling or image input.
Chat models : Llama, Gemma, GPT-OSS, Qwen, Mistral, DeepSeek, GLM, Granite, Kimi, Nemotron and whatever Cloudflare adds next. Requests use Cloudflare’s OpenAI-compatible endpoint, so new families work without a plugin update.
Tool calling, JSON output with schema, system instructions, stop sequences and penalties through the standard AI Client API. Reasoning models keep their thinking on the AI Client’s thought channel, out of the answer.
Vision : a vision model (Llama 3.2 11B Vision on most accounts, selectable on Settings > Models) reads inline and remote images. Your default text model is not used for images.
Not for AIPCF’s own features (Backfill, the content index and the features on it, usage tracking, daily budget, and aipcf_translate() for developers). You need it for AI inside the block editor: excerpts, titles, meta descriptions, summaries, alt text on upload and image generation. Install it from wordpress.org; AIPCF registers itself as the provider.
Does it work with the Classic editor?
Backfill, the content index and the features on it, and the budget do, and so does aipcf_translate() . The in-editor buttons come from the WordPress AI plugin and need the block editor.
Where does my content go?
To Cloudflare. When a feature runs, the post title and content (or the image) go to Cloudflare Workers AI on your own account. Nothing is sent until you enter your credentials, and the External Services section below lists every endpoint. With an AI Gateway you decide in the Cloudflare dashboard whether prompts are logged.
If you switch the content index on, the content you selected is also stored, with its embeddings, in the vector store you chose: Cloudflare Vectorize on your account, your Qdrant server or Qdrant Cloud cluster, or your PostgreSQL database. Nothing else receives it. Embedding requests go through your AI Gateway (when you use one) with payload logging off, so the gateway’s logs never hold a copy of your content. Author names are embedded only if you tick “Author name”, and change in the vector store when a name changes or a user’s posts are reassigned.
Where is my API token stored?
On WordPress 7.0+ it lives in the core Connectors screen (Settings > Connectors), like every other AI provider key. You can also define it as a constant in wp-config.php. The plugin never sends it anywhere except Cloudflare.
What goes into the content index, and where is it kept?
You choose what goes in : post types (products and other custom types too), images, published and/or private content, which fields (title, content, excerpt, categories and tags, author, SEO description, custom fields), a date cut-off, and categories or tags to include or leave out. Any post can be left out from its editor, and password-protected content never goes in. You choose where it is stored : Cloudflare Vectorize on the same account (included in the Workers Free plan), a Qdrant server or Qdrant Cloud, or PostgreSQL with pgvector. Switching store later moves the index, at no neuron cost. It stays in sync : saving, trashing or deleting a post updates the index within about a minute; an unchanged save costs nothing. You see the cost first : an estimate of parts of posts, neurons and storage before anything is sent. Indexing whoisabhi.com (166 posts and pages) took about 60 neurons, well inside one day’s allowance, with a daily limit of its own on top of the daily budget. Test search on the settings screen, and wp aipcf embed commands for large sites. The default model is BGE-M3 (multilingual, 1,024 dimensions). Search, the Site assistant and AI agents order results by your words and their meaning together. The best 20 can be checked again with BGE Reranker, so the parts that really answer the question come first.
What are embeddings for?
An embedding is a list of numbers that captures what a piece of text is about, so text with a similar meaning gets similar numbers. Kept in a vector store, they let a site find posts by meaning instead of by keyword (“how much does it cost” finds the pricing page) and suggest truly related posts. AIPCF keeps them as the content index, for the Site assistant, Related posts, Search, the Link assistant, Search insights and AI agents.
Which vector store should I choose?
Cloudflare Vectorize if you want nothing else to run: it uses the same Cloudflare account and token (add the permission Account > Vectorize > Edit), and the Workers Free plan stores about 4,900 passages at 1,024 dimensions, enough for a few hundred posts. Bigger sites need Workers Paid ($5 a month, 10 million stored dimensions included). Qdrant if you already run it or want Qdrant Cloud’s free 1 GB cluster. PostgreSQL with pgvector if you have such a database; your host’s PHP needs the pdo_pgsql extension, which many do not enable (the settings page tells you).
Can I switch to another vector store later?
Yes, without paying again. Pick the new store on Settings > Content index (set up its connection first) and save: the vectors are copied from the old store, not embedded again, so it costs no neurons. Related posts and search keep using the old store until the move is done, and you can cancel it. Afterwards Settings > Content index offers to delete what is left in the old store. Posts edited since they were embedded, and a change of embedding model, do need new embeddings. From WP-CLI: wp aipcf embed move qdrant .
How much does the content index cost?
With BGE-M3, about 1,070 neurons per million tokens. Cloudflare reports no usage for embeddings, so the plugin estimates it from text length and shows it with a “~”. A typical blog post of 2,000 characters costs under 1 neuron; a 150-post blog about 60. Settings > Content index estimates your site before you start, and Embeddings has a daily limit.
Can I stop the content index, or remove what is stored?
Switch the content index off to stop sending anything. “Delete vectors” on Settings > Content index switches it off and deletes this site’s vectors from the vector store (the whole index when it is the site’s own, only this site’s entries when the index is shared). Resetting or deleting the plugin removes its own tables and settings but never deletes anything in the vector store, so use “Delete vectors” first if you want them gone.
Will the backfill overwrite descriptions or alt text I wrote?
No. It only fills empty fields. Posts that already have a meta description and images that already have alt text are never touched. It writes to the meta key of your SEO plugin (Yoast, Rank Math, AIOSEO or SEOPress), so you can edit the result where you always do.
Can I stop the backfill, or undo it?
Switch off Backfill (“Run every hour”) on AIPCF > Features > Backfill and it stops after the current batch. Descriptions it wrote are ordinary post meta; edit or clear them like any other. The screen shows the last skipped item, with “Retry skipped items” to try skipped items again.
Does it slow my site down?
No. Requests only happen when a feature runs, and the backfill runs in the background through WP-Cron, one batch an hour. Visitors never wait on Cloudflare.
What does an AI Gateway add?
Enter a gateway name on Settings > Connection and requests go through Cloudflare AI Gateway for edge caching, rate limits, spend limits, logs and analytics. Each request is tagged with the site, feature, model and user, so the gateway’s analytics answer “which feature is spending my neurons”. If the gat
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati