AI Provider for Z.AI
AI Provider for Z.AI (GLM models) for the WordPress AI Client.
Solid choice
AI Provider for Z.AI is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 2 months ago, and scores 63/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (30+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where AI Provider for Z.AI stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| AI | >100 |
| artificial intelligence | #70 |
| connector | >100 |
| glm | #6 |
| zai | #1 |
Version adoption
Share of active sites per release.
About AI Provider for Z.AI
From the official readme · v1.0.0Description
This plugin provides Z.AI integration for the WP AI Client SDK. It enables WordPress sites to use Z.AI GLM models for text generation and related AI capabilities.
Features:
- Text generation with Z.AI GLM models (glm-4.5, glm-4.6, glm-4.7, glm-5, and more)
- Chat history support
- Function calling support
- JSON output support
- Automatic provider registration
Available models are dynamically discovered from the Z.AI API.
Requirements:
- PHP 7.4 or higher
- WP AI Client plugin must be installed and activated
- Z.AI API key from z.ai
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( 'zai' )->generate_text();
With System Instructions
$text = AI_Client::prompt( 'Summarize the history of WordPress.' )->using_provider( 'zai' )->using_system_instruction( 'Be concise and accurate.' )->using_temperature( 0.2 )->using_max_tokens( 500 )->generate_text();
JSON Output
$json = AI_Client::prompt( 'Analyze this topic: WordPress plugins' )->using_provider( 'zai' )->as_json_response( $schema )->generate_text();<h3>External services</h3>
This plugin connects to the Z.AI API to provide AI-powered text generation capabilities within WordPress. Z.AI is a third-party service.
What data is sent and when
- API key: Your Z.AI API key is sent with every request for authentication.
- API type auto-detection: When you save or change your API key, the plugin sends one minimal test request (a one-word prompt) to each Z.AI endpoint to determine which API type your key belongs to. This happens only at the moment the key is saved.
- Model listing: When the plugin checks provider availability or lists available models, it sends a request to the Z.AI API to retrieve the current list of GLM models.
- Text generation prompts: When your site uses the plugin to generate text, the prompt text (and any system instructions and conversation history) is sent to the Z.AI API for processing.
Communication is sent to the Z.AI API at one or both of the following base URLs (the API-type auto-detection contacts both; all other requests use the detected one):
- General API: https://api.z.ai/api/paas/v4
- Coding API: https://api.z.ai/api/coding/paas/v4
Data is only sent when the plugin is actively used to generate text or when checking model availability. No data is sent passively or in the background.
Service links
- Z.AI website: https://z.ai
- Z.AI Terms of Service: https://z.ai/terms
- Z.AI Privacy Policy: https://z.ai/privacy
Installation
- Ensure the WP AI Client plugin is installed and activated
- Upload the plugin files to
/wp-content/plugins/ai-provider-for-zai/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Open the WP AI Client credentials screen (the AI Credentials / “Connectors” settings provided by the WP AI Client plugin) and enter your Z.AI API key. The correct API type is auto-detected from the key.
Frequently asked questions
How do I get a Z.AI API key?
Visit z.ai to create an account and generate an API key.
Which models are available?
Available models include glm-4.5, glm-4.5-air, glm-4.6, glm-4.7, glm-5, and glm-5-turbo. Models are dynamically fetched from the Z.AI API, so new models will appear automatically.
Does this plugin work without the WP AI Client?
No, this plugin requires the WP AI Client plugin to be installed and activated. It provides the Z.AI-specific implementation that the WP AI Client uses.
Changelog
Initial release.
1.0.0
- Initial release
- Support for Z.AI GLM text generation models (glm-4.5, glm-4.6, glm-4.7, glm-5, and more)
- Chat history support
- Function calling support
- JSON output support
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best AI Provider for Z.AI alternatives
All AI plugins →FAQ
AI Provider for Z.AI: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Sep 30, 2026
Is AI Provider for Z.AI free?
Yes. AI Provider for Z.AI is free to download and use from the official WordPress.org plugin directory.
Is AI Provider for Z.AI safe to use in 2026?
AI Provider for Z.AI is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 2 months ago, and scores 63/100 on our health check.
How many websites use AI Provider for Z.AI?
AI Provider for Z.AI is active on 30+ WordPress websites and has been downloaded 412 times since it launched in June 2026. It was downloaded 117 times in the last 30 days.
Does AI Provider for Z.AI work with WordPress 7.1?
Yes. The developer has tested AI Provider for Z.AI up to WordPress 7.1.2, the latest release. It requires WordPress 7.0 or newer.
What PHP version does AI Provider for Z.AI need?
AI Provider for Z.AI requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AI Provider for Z.AI last updated?
The latest version, 1.0.0, was released on August 14, 2026 (2 months ago).
Who makes AI Provider for Z.AI?
AI Provider for Z.AI is developed and maintained by Huzaifa Al Mesbah.
What are the best alternatives to AI Provider for Z.AI?
The most popular alternatives to AI Provider for Z.AI are Elementor Website Builder (10M+ installs), All in One SEO (2M+ installs) and AI Agent by SiteGround (1M+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card