Using the ZAI Service Console

2026-01-10 19:50:57
Sanplex Content
18
Last edited by WANG JING on 2026-01-10 19:50:57
Share links
Summary : ZAI provides an Open Platform and Admin Console to manage users, channels, models, pricing, and integrations for API-based access and Sanplex Agent connectivity.

I. Interface Modes

ZAI provides two interface modes: Open Platform and Admin Console. The available features differ between the two.

1. Open Platform

This interface is designed for general users. Users can test models, obtain API keys, view usage and logs, and check available models and application integrations.

图1

In the Open Platform, click your avatar in the upper-right corner to open the personal menu, then click Admin Console to switch to the Admin Console.

2. Admin Console

This interface is designed for administrators. Admins can manage ZAI services here, including model configuration, integration management, pricing rules, and more.

图2

In the Admin Console, click Open Platform in the lower-left corner to switch back to the Open Platform.

II. User Management

User Management is used to maintain ZAI users, including adding, editing, and disabling users. In the Admin Console, click User Management in the left navigation to open the user list.

图3

In the user list, you can view all user information, add new users, edit existing users, and view each user’s usage logs.

III. Model Configuration

ZAI does not include built-in large models by default. Instead, it connects to third-party or local models through channels. It supports online interfaces such as OpenAI, Azure, and DeepSeek, and also supports local model access via Ollama. Model configuration includes two parts: Channel Management and Model Management.

1. Channel Management

Channel Management configures access channels for connecting models, including online interfaces (OpenAI, Azure, DeepSeek, etc.) and local access through Ollama. In the Admin Console, click Channel Management in the left navigation to open the channel list.

1.1 Channel List

The channel list shows all channel information. You can add new channels, edit existing channels, and view usage logs for each channel.

图4

1.2 Add a Channel

Click Add Channel in the upper-right corner of the channel list to open the creation page. Enter channel information and click Submit. You do not need to configure model information when adding a channel.

图5

1.3 Edit a Channel

Click Edit for a channel to open the edit page, update the channel information, and submit.

图6

Because channels generate billing and logs, ZAI does not currently support deleting channels. However, you can disable a channel in the edit page. Once disabled, the channel cannot be used.

1.4 View Channel Usage Logs

Click View Usage Logs for a channel to view usage records for that channel.

图7

2. Model Management

Model Management maintains the models that ZAI can provide, including adding, editing, and deleting models. In the Admin Console, click Model Management in the left navigation to open the model list.

2.1 Model List

图8

In the model list, you can view all model information, add new models, edit existing models, and view usage logs for each model.

2.2 Add a Model

Click Add Model in the upper-right corner of the model list, enter the model name, and submit to create the model.

图9

After creating a model, you must edit it to complete model details before it can be used.

2.3 Edit a Model

Click Edit for a model to open the edit page, complete the model information, and submit. Ensure the required channels have been added first.

图10

When editing a model, confirm the following:

  • User Groups: Which user groups can access this model
  • Channels: Which channels provide this model. You must configure at least one channel, and set the model mapping and priority for that channel.
  • Pricing Rules: The model capability profile, billing unit, price, and profit margin

2.4 Delete a Model

Click Delete for a model in the list to remove it.

2.5 View Model Usage Logs

Click View Usage Logs for a model to view usage records.

图11

IV. Pricing Rules

In Model Management, if a model does not have pricing rules configured, you can set billing rules for all models centrally in Pricing Rules. In the Admin Console, click Pricing Rules in the left navigation to open the configuration page.

图12

Here you can configure pricing rules for all models, including billing unit, price, and profit margin.

V. Integration Management

After channel and model configuration is complete, integrations are required if you want to use ZAI in other applications. Create an integration and obtain tokens to call APIs. In the Open Platform, click Integrations in the left navigation to open the integration list.

图13

In the integration list, you can view all integrations and add or edit integrations.

1. Add an Integration

Click Add Integration in the upper-right corner to open the creation page. Fill in the required information and submit.

图14

When adding an integration, confirm the following:

  • Integration ID: A unique identifier for the integration; required when calling from other applications
  • Integration Name: A human-readable name
  • Hash Token: Token for calling standard APIs; can be customized or auto-generated
  • Admin Token: Token for calling management APIs; can be customized or auto-generated
  • Default Chat Model
  • Default Embedding (Vector) Model

2. Edit an Integration

Click Edit for an integration to open the edit page, update information, and submit.

The fields are the same as when creating an integration.

ZAI does not currently support deleting integrations. However, you can disable an integration in the edit page. Once disabled, its tokens can no longer be used to call APIs.

3. Use the API

To use ZAI services, you call APIs. In the Open Platform, click Docs in the lower-left corner to open the API documentation. ZAI provides two types of APIs:

  • Intelligent Engine API: For stateful capabilities such as integrated AI chat and knowledge base features. Supports streaming responses, multi-model switching, and advanced conversation management.
  • Aggregation API: An OpenAI-compatible API for unified access to AI models across multiple channels, enabling fast integration.

图15

VI. Use with Sanplex

After deploying ZAI, go to Integration Management in the Admin Console, click Add Integration in the upper-right corner, enter the Sanplex integration information, and submit to create it.

图16

After creating the integration, securely store the Integration ID, Hash Token, and Admin Token. These will be used when configuring the Sanplex Agent plugin.

图17

For detailed steps, see: 【在此插入8.1 AI插件安装的链接】.

Write a Comment
Comment will be posted after it is reviewed.