AI API
The AI API is an OpenAI-compatible HTTP service for chat completions,
image generation, text-to-speech, transcription, and content tooling.
One API key reaches models from Google, Anthropic, OpenAI, Qwen, and
others — you pick one by its ID, such as google/gemini-3.5-flash.
Create an API key in the WP Engine User Portal, point a client that
speaks the OpenAI Chat Completions API at
https://api.ai.wpengine.com/v1, and start making calls. The
Responses, Embeddings, and legacy Completions APIs aren’t available.
Call the API directlyBrowse the model catalog, create a key, and make your first chat completion.
Use AI inside WordPressBuilding a plugin or theme? The AI Client bundled with WordPress handles auth and provider routing for you.
Connect an AI agentGive Claude Code, Claude Desktop, or any MCP client access to your WordPress sites.