plugin-icon

AI Provider for xAI

AI Provider for xAI (Grok) for the WordPress AI Client.
Version
1.0.0
Last updated
Jun 21, 2026
AI Provider for xAI

This plugin provides the xAI (Grok) implementation for the WordPress AI Client. It registers xAI as an available AI provider, allowing other plugins built on the WordPress AI Client to generate text using xAI’s Grok models.

The plugin connects to xAI’s OpenAI-compatible Chat Completions API. Bring your own API key from the xAI console.

Supported capabilities:

  • Text generation (chat) with the Grok model family
  • Multimodal (image) input for vision-capable models, such as the Grok 4 family
  • Function calling and JSON / structured output

External services

This plugin connects to the xAI API to provide text generation with xAI’s Grok models. It is required for the plugin’s core purpose: it registers xAI as a provider for the WordPress AI Client so that AI features can generate responses using Grok.

The plugin sends a request to xAI’s API (https://api.x.ai/v1) each time a consuming AI feature generates content through the xAI provider. Each request includes your xAI API key (for authentication) and the input you submit for generation — such as the prompt text, any chat messages, and any image input you provide for vision-capable models. No request is sent unless an AI feature actively triggers a generation, and no data is sent until you have configured an xAI API key. The plugin does not send any data on its own.

This service is provided by xAI. Please review their terms and privacy policy:

  • Terms of Service: https://x.ai/legal/terms-of-service-enterprise
  • Privacy Policy: https://x.ai/legal/privacy-policy
Freeon paid plans
Tested up to
WordPress 7.0
This plugin is available for download for your site.