WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Aslam Doctor v1.0.3

AI Provider for Grok

AI Provider for Grok (xAI) for the WP AI Client SDK.

AI Provider for Grok

The facts

Active installs
100+
Price
Free
Last updated
24 Mar 2026
Added
Mar 2026
Requires WP
6.9
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
902

Our analysis

AI-assisted

AI Provider for Grok is a WordPress plugin that integrates Grok models for text generation and AI capabilities into your WordPress site. It requires the WP AI Client plugin and a Grok API key from xAI to function. Once set up, you can generate text based on prompts and system instructions, as well as use vision input for compatible models.

This plugin is suitable for users looking to enhance their WordPress site with AI-generated content and those who need to leverage Grok's capabilities for various applications, such as summarising text or describing images.

Best for: This plugin suits WordPress site owners interested in AI content generation using Grok models.

What it does well

  • Free to use from the WordPress.org directory
  • Enables text generation using Grok models
  • Supports function calling and vision input
  • Automatically registers on the init hook
  • Dynamically discovers available models from the Grok API

Where it falls short

  • Requires PHP 7.4 or higher
  • Dependent on the WP AI Client plugin
  • Requires a valid Grok API key and purchased API tokens
  • Limited information on user ratings and feedback

Verdict

AI Provider for Grok offers a straightforward way to integrate advanced text generation features into WordPress. However, it has specific requirements that may limit accessibility for some users.

From the developer

Aslam Doctor's own description of AI Provider for Grok, lightly tidied.

This plugin provides Grok (by xAI) integration for the WP AI Client SDK. It enables WordPress sites to use Grok models for text generation and related AI capabilities.

Features:

  • Text generation with Grok models
  • Function calling support
  • Vision input support (for compatible models)
  • Automatic provider registration

Available models are dynamically discovered from the Grok API.

Requirements:

  • PHP 7.4 or higher
  • WP AI Client plugin must be installed and activated
  • Grok API key from xAI
  • Purchased API tokens from x.ai — a valid token balance is required for API requests to work

Usage

The provider automatically registers itself on the init hook. Once both plugins are active and your API key is configured, you can start generating text:

Basic Text Generation

$text = AI_Client::prompt( 'Explain quantum computing.' )->using_provider( 'grok' )->generate_text();

With System Instructions

$text = AI_Client::prompt( 'Summarize the history of WordPress.' )->using_provider( 'grok' )->using_system_instruction( 'Be concise and accurate.' )->using_temperature( 0.2 )->using_max_tokens( 500 )->generate_text();

Vision (Image Input)

$text = AI_Client::prompt( 'Describe this image.' )->using_provider( 'grok' )->with_file( 'https://example.com/photo.jpg', 'image/jpeg' )->generate_text();

Requires a Grok model with vision capabilities.

JSON Output

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for AI features.

Yoast SEO

Real-time SEO guidance, schema, and AI built in. Help search engines and AI systems understand your content. A...

Free 10M+ installs 4.8★ (27,819)
WPForms

WPForms

98

The best WordPress contact form plugin. Drag & Drop form builder to create beautiful contact forms, paymen...

Free 5M+ installs 4.8★ (14,369)
Rank Math SEO

Grow your organic traffic and AI visibility with powerful SEO tools, XML sitemaps, Schema automation, and buil...

Free 4M+ installs 4.8★ (7,496)
Translate WordPress with GTranslate

Translate WordPress with Google Translate multilanguage plugin using AI translation. Complete multilingual SEO...

Free 900k+ installs 4.9★ (4,950)
All in One SEO

AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...

Free 2M+ installs 4.7★ (5,201)
Premium Addons for Elementor

Elementor Carousel, Mega Menu, Posts List/Slider, WooCommerce Widgets, Display Conditions, AI Abilities, Prema...

Free 600k+ installs 4.9★ (1,677)