xpay hub logo
hub
  • Tools
  • Explore
  • Docs
  • xpay.sh
All Tools

Z.ai API

Community
10 tools

$0.01 – $0.02/call

Z.ai’s GLM series large language models, including GLM-4.5 and GLM-4.6, focus on advanced reasoning, coding, and agentic capabilities through a unique Mixture-of-Experts (MoE) architecture that prioritizes model depth over width for better efficiency and reasoning.

​
​
zai_generate_image

Use CogView-4 series models to generate high-quality images from text prompts. `CogView-4-250304` is suitable for image generation tasks, with quick and accurate understanding of user text descriptions to let `AI` express images more precisely and personally.


flat

$0.02/call

zai_web_reader

Reads and parses the content of the specified URL. Supports selectable return formats, cache control, image retention, and summary options.


flat

$0.02/call

zai_file_upload

This API is designed for uploading auxiliary files (such as glossaries, terminology lists) to support the translation service. It allows users to upload reference materials that can enhance translation accuracy and consistency.


flat

$0.02/call

zai_chat_completion

Create a chat completion model that generates AI replies for given conversation messages. It supports multimodal inputs (text, images, audio, video, file), offers configurable parameters (like temperature, max tokens, tool use), and supports both streaming and non-streaming output modes.


flat

$0.02/call

zai_retrieve_result

This endpoint is used to query the result of an asynchronous request.


flat

$0.01/call

zai_conversation_history

This endpoint is used to query the agent conversation history.Only support slides_glm_agent


flat

$0.02/call

zai_retrieve_result_post

This endpoint is used to query the result of an asynchronous request.


flat

$0.02/call

zai_agent_chat

General Translation API provides large model-based multilingual translation services, including general translation, paraphrase translation, two-step translation, and three-pass translation strategies. It supports automatic language detection, glossary customization, translation suggestions, and streaming output. Users only need to call the Translation API, input the text to be processed, specify the source language (auto-detection supported) and target language to receive high-quality translation results.


flat

$0.02/call

zai_generate_videoasync

CogVideoX is a video generation large model developed by Z.AI, equipped with powerful video generation capabilities. Simply inputting text or images allows for effortless video creation. Vidu: A high-performance video large model that combines high consistency and high dynamism, with precise semantic understanding and exceptional reasoning speed.


flat

$0.02/call

zai_web_search

The Web Search is a specialized search engine for large language models. Building upon traditional search engine capabilities like web crawling and ranking, it enhances intent recognition to return results better suited for LLM processing (including webpage titles, URLs, summaries, site names, favicons etc.).


flat

$0.02/call

Connect Z.ai API tools
​
​

Cursor

Claude Code

Claude Desktop

Windsurf

VS Code

Cline

Roo Code

ChatGPT

Gemini CLI

Amazon Q

Goose

Augment

n8n

API / cURL

AI SDK

TypeScript SDK

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "zai": {
      "url": "https://zai.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Or connect all tools

Access all tools (including Z.ai API) through a single MCP connection.

https://mcp.xpay.sh/mcp?key=***
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Agent Discovery

Machine-readable catalogs for LLM agents and automation.

llms.txt — Human-readable tool catalog
curl https://hub.xpay.sh/tools/llms.txt
agents.txt — Structured JSON for agents
curl https://hub.xpay.sh/tools/agents.txt
skill.md — Claude Code skill
curl https://hub.xpay.sh/tools/skill.md
Pricing

Pay per tool call. No subscriptions.

10 Z.ai API tools available
xpay hub logo
hub

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins