How to Connect Z.ai to WordPress AI

How to Connect Z.ai to WordPress AI

If you want to use free models from Z.ai with the built-in AI features in WordPress 7.0, you can connect them using the Koneek plugin as an OpenAI-Compatible Provider.

Z.ai is a platform from Zhipu AI that provides access to the GLM model family. One of its main attractions is the GLM-4.7-Flash and GLM-4.5-Flash models, which are currently free to use for all registered accounts, complete with an API endpoint that is compatible with the OpenAI format.

TL;DR OpenAI-Compatible Provider in Koneek API URL: https://api.z.ai/api/paas/v4 Free models: glm-4.7-flash or glm-4.5-flash Requirements: WordPress 7.0+, AI plugin, Koneek plugin, Z.ai API Key.

In this article, we will use Z.ai as an AI provider in WordPress using the Koneek.

Preparation Before Connecting Z.ai to WordPress AI

Before you begin, you need to prepare the following items:

  • WordPress 7.0 or higher
  • Install and activate the AI and Koneek
  • plugins
  • API Key from Z.ai glm-4.7-flash)

Name of the Z.ai model to be used (for example

How to Connect Z.ai to WordPress AI

If everything is ready but you have not yet obtained an API Key from Z.ai, you can start with this first step.

1. Create a Z.ai Account To create an account, you can visit z.ai from This Page

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 1

and register using your email.

After the account is successfully created, you can log in to the Z.ai dashboard to access the API Keys menu and the model catalog.

2. Create a Z.ai API Key Once you have successfully logged in, open your profile menu, then select API Keys, or you can directly access This Page

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 2

and create a new API Key.

Copy the API Key and save it in a safe place. Later, you can re-copy the API Key you created from the API Key List page.

3. Choose the GLM Model to Use

  • glm-4.7-flash For free usage, you can use one of the following two models:
  • glm-4.5-flash larger context window, suitable for rephrasing, generating titles, and brainstorming

another alternative that is also free The availability of free models and request limits can change at any time, so be sure to check the latest details directly from the official.

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 3

Z.ai page here

4. Connect Z.ai to WordPress

After obtaining the API Key and model name, open your WordPress dashboard and configure the API Key with the Koneek plugin. If the Koneek plugin is already installed, you can open the Settings > Koneek

menu in the WordPress dashboard.

  • Fill in the Z.ai configuration details with the following information:Name: fill in the API name you want to save
  • Provider: Select the OpenAI-Compatible optionAPI Key: Enter the API Key you obtained from Z.ai
  • Model: Enter the name of the model you will use, for exampleAPI URL: Use the Z.ai Base URL,
  • Timeout: You can leave this blank to use the default timeoutBe sure to run a test connection before saving the AI data to ensure that the details you entered can connect to Z.ai. glm-4.7-flash
  • 5. Configure the AI Features to EnableNow you can enable the AI features you want to use from the https://api.z.ai/api/paas/v4
  • Settings > AImenu. To enable this, make sure you have already activated the AI plugin.

6. Use AI in WordPress

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 4

After enabling the AI features, you can use them, for example, to rewrite sentences or rephrase posts in WordPress, regenerate titles, and more.

That is the easy way to connect Z.ai to WordPress AI that you can try using the Koneek plugin. FAQCan Z.ai Be Used in WordPress AI?

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 5

Yes. Z.ai provides an API endpoint that is compatible with the OpenAI API. With the Koneek plugin, Z.ai can be connected to WordPress AI as an OpenAI-Compatible Provider.

What Z.ai API URL Should Be Used in Koneek?

Cara Menghubungkan Z.ai ke WordPress AI - WPGan.com - 6

Use the API URL

. Do not use a full endpoint like

in the Koneek API URL field.

Which Z.ai Models Are Free for WordPress AI?

For general use such as rephrasing, generating titles, and brainstorming, you can use the following two free models:

However, be sure to check the latest free status and limits directly from the official Z.ai page, as these policies can change at any time. https://api.z.ai/api/paas/v4Is Z.ai Really Free? /chat/completions The

model

and

  • glm-4.7-flash
  • glm-4.5-flash

are currently free for all registered accounts, but there is a concurrency limit where you can only use 1 request at the same time. Other models in the GLM family (such as the regular GLM-4.7 or GLM-5.1) are paid.

Can I Use Other Providers Besides Z.ai?

Yes. Koneek also supports various other OpenAI-Compatible providers such as NVIDIA NIM, OpenRouter, OmniRoute, LiteLLM, OpenWebUI, Ollama, OpenCode, and other AI gateways that provide OpenAI-compatible endpoints. glm-4.7-flash How to Connect Z.ai to WordPress AI glm-4.5-flash If you want to use free models from Z.ai with the built-in AI features in WordPress 7.0, you can connect them using the Koneek plugin as an OpenAI-Compatible Provider. Z.ai is a platform from Zhipu AI that provides access to the GLM model family. One of its main attractions is the GLM-4.7-Flash and GLM-4.5-Flash models, which are currently free to use for all registered accounts, […]

WordPress Plugin

Contains information on how to use specific plugins, troubleshooting, and optimization for specific plugins.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...