Skip to main content
Login Join
AI Provider for xAI
AI · Free

AI Provider for xAI

by Khokan Sardar (@khokansardar)

10+ active installs
Back to Showcase
AI Free AI grok LLM xai
AI Provider for xAI banner

About This Plugin

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:

Community Reviews

No reviews yet. Be the first to share your experience!

Log in to leave a review