Skip to content
AI Provider for OpenAI WordPress plugin banner
AI Provider for OpenAI WordPress plugin icon

AI Provider for OpenAI

AI Provider for OpenAI · by WordPress.org

Free AI agents & MCP Actively maintained Official WordPress project OpenAI (ChatGPT)
76 Quality score
active installs
60K+
0 ratings
—
since last update
49d
releases in 12 months
—
support threads resolved
0%
avg daily downloads
1,729
on WordPress.org
9 months

AI Provider for OpenAI at a glance

AI Provider for OpenAI is a free WordPress AI agent & MCP plugin by WordPress.org with 60K+ active installs. It was last updated on Sep 21, 2026, is tested up to WordPress 7.1.4 and needs PHP 7.4+. It works with OpenAI. It has no published security vulnerabilities in the Wordfence database. Our quality score is 76/100.

What is AI Provider for OpenAI?

AI Provider for OpenAI connects OpenAI models to WordPress through the PHP AI Client SDK. It does not add writing tools on its own. Instead it lets other plugins and WordPress features that use the PHP AI Client call OpenAI for text, images and more.

The provider registers itself on activation and reads the available models from the OpenAI API. That list includes GPT models for text, DALL-E and GPT Image models for images, and text-to-speech models. Function calling and web search are also supported.

It is meant for site owners and developers who want OpenAI behind their WordPress AI features. You need an OpenAI API key and the PHP AI Client plugin.

Best for

  • Sites that want OpenAI behind WordPress AI features
  • Developers building on the PHP AI Client
  • Owners who already have an OpenAI API key

AI Provider for OpenAI features

GPT text generation

Gives WordPress AI features access to OpenAI GPT models for generating text.

Image generation

Supports DALL-E and GPT Image models for creating images from compatible plugins.

Function calling support

Lets compatible plugins pass tool definitions to the model and act on the results.

Web search support

Allows requests that use OpenAI's web search capability.

Automatic provider registration

The provider is added to the PHP AI Client on activation, with no manual wiring.

Dynamic model discovery

Models are fetched from the OpenAI API, including text-to-speech models, so the list stays current.

AI Provider for OpenAI free vs pro

Free WordPress.org version

  • The full plugin is free on WordPress.org
  • Text, image and function calling support
  • Web search support and automatic registration

The plugin is free on WordPress.org and no paid tier is described in the listing. Usage requires your own OpenAI API key, and OpenAI bills you for it.

How to use AI Provider for OpenAI

  1. Install the PHP AI Client

    This plugin depends on the PHP AI Client plugin, so install and activate that first.

  2. Install this plugin

    In wp-admin go to Plugins, then Add New, search for AI Provider for OpenAI, then install and activate it.

  3. Create an API key

    Sign in to the OpenAI Platform and generate an API key.

  4. Add the key

    Set the OPENAI_API_KEY environment variable or constant on your server.

  5. Pick OpenAI in another plugin

    Choose OpenAI as the provider in any plugin or feature that uses the PHP AI Client.

Important information

  • An OpenAI API key is required, and OpenAI bills API usage to your account.
  • The PHP AI Client plugin must be installed and active. This plugin does not work without it.
  • Requires PHP 7.4 or later. On WordPress 6.9 the wordpress/php-ai-client package must be installed. On WordPress 7.0 and above nothing extra is needed.
  • The key is set through an environment variable or constant, per the listing, not a settings screen.
  • Prompts and generation requests sent through this provider go to OpenAI.

From the AI Provider for OpenAI readme

Straight from the developer's WordPress.org listing.

Full description

This plugin provides OpenAI integration for the PHP AI Client SDK. It enables WordPress sites to use OpenAI’s GPT models for text generation, DALL-E for image generation, and other AI capabilities.

Features:

• Text generation with GPT models

• Image generation with DALL-E models

• Function calling support

• Web search support

• Automatic provider registration

Available models are dynamically discovered from the OpenAI API, including GPT models for text generation, DALL-E and GPT Image models for image generation, and TTS models for text-to-speech.

Requirements:

• PHP 7.4 or higher

• For WordPress 6.9, the wordpress/php-ai-client package must be installed

• For WordPress 7.0 and above, no additional changes are required

• OpenAI API key

Installation

• Upload the plugin files to /wp-content/plugins/ai-provider-for-openai/

• Activate the plugin through the ‘Plugins’ menu in WordPress

• Configure your OpenAI API key via the OPENAI_API_KEY environment variable or constant

Developer FAQ (2)
How do I get an OpenAI API key?
Visit the OpenAI Platform to create an account and generate an API key.
Does this plugin work without the PHP AI Client?
No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the OpenAI-specific implementation that the PHP AI Client uses.

Downloads, last 30 days

Trend vs previous period: +5.8%

Average daily downloads: 1,839 over the last 7 days , 1,729 over 30 days.

Security history

No known CVEs · 0 published vulnerabilities (Wordfence)

Recent releases

  • v1.0.3

    Add a provider logo to the metadata if the client version > 1.3.0 ([#19](https://github.com/WordPress/ai-provider-for-openai/pull/19)). * Fix mapping of models that support multimodal inputs...

  • v1.0.2

    Add plugin directory assets by @shaunandrews in https://github.com/WordPress/ai-provider-for-openai/pull/7 * Update tags in readme.txt by @jeffpaul in...

  • v1.0.1

    Initial release of the plugin * Support for GPT text generation models * Support for DALL-E image generation models * Function calling support * Web search support

  • v1.0.0

    Initial release of the Composer package

AI Provider for OpenAI FAQ

How do I get an API key?

Create an account on the OpenAI Platform and generate a key. Then set it as the OPENAI_API_KEY environment variable or constant on your server.

Does it work without the PHP AI Client?

No. It supplies the OpenAI part, and the PHP AI Client plugin must also be installed and active.

Which models are supported?

Models come from the OpenAI API. They include GPT models for text, DALL-E and GPT Image models for images, and text-to-speech models.

Is the plugin free?

Yes. You pay OpenAI directly for API usage.

What are the requirements?

PHP 7.4 or later and an OpenAI API key. WordPress 6.9 also needs the wordpress/php-ai-client package, while 7.0 and above need nothing extra.

AI Provider for OpenAI alternatives

Premium Addons for Elementor by Leap13
95

Build faster in Elementor with 90+ Elementor widgets and addons, 600+ ready-made Elementor templates, without writing code. Premium Addons powers 600,000+ websites with the Elementor carousel, mega menu, blog posts…

600K+ 4.9 14d Freemium AI agents & MCP
WPVibe by SeedProd
97

Your WordPress site just became MCP-ready. WPVibe is the Model Context Protocol server for WordPress, connecting your self-hosted site to any AI assistant or AI agent that speaks MCP: Claude, ChatGPT, Cursor,…

100K+ 5.0 4d Freemium AI agents & MCP
Jetpack by Automattic
86

Your WordPress site, now in the conversation Jetpack connects your WordPress site to ChatGPT, Claude, and the other AI agents you already use. Ask in plain language to draft a post, see which pages got the most…

3M+ 3.7 6d Freemium AI agents & MCP
AI Provider for Google by WordPress.org
94

This plugin provides Google AI (Gemini) integration for the PHP AI Client SDK. It enables WordPress sites to use Google’s Gemini models for text generation, image generation, text to speech, and other AI…

50K+ No ratings yet 13d Free AI agents & MCP
Easy MCP AI by Themeisle
95

Secure WordPress MCP server for Claude, ChatGPT and AI agents. Easy MCP AI is a free plugin that turns your own site into a Model Context Protocol (MCP) server. Connect Claude to WordPress , connect ChatGPT to…

30K+ 4.9 4d Freemium AI agents & MCP
miniOrange MCP by miniOrange
96

miniOrange Secure MCP Server is a complete WordPress MCP server plugin that turns your WordPress site into a fully working Model Context Protocol (MCP) server. Once installed, you can connect Claude to WordPress,…

10K+ 5.0 0d Free AI agents & MCP

See all AI agent & MCP plugins →

Listing data from WordPress.org and the Wordfence vulnerability feed, refreshed Nov 9, 2026; listing details fetched Nov 14, 2026. Screenshots are from the plugin's WordPress.org listing. Not affiliated with WordPress.org.