xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Provider Skill
Z.ai API logo

Z.ai API

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.

Raw SKILL.mdProvider Page

Z.ai API

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.

Available Tools

  • 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. — $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. — $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. — $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. — $0.02/call
  • zai_retrieve_result: This endpoint is used to query the result of an asynchronous request. — $0.01/call
  • zai_conversation_history: This endpoint is used to query the agent conversation history.Only support slides_glm_agent — $0.02/call
  • zai_retrieve_result_post: This endpoint is used to query the result of an asynchronous request. — $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. — $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. — $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.). — $0.02/call

Quick Start

{
  "mcpServers": {
    "zai": {
      "url": "https://zai.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
    }
  }
}

Pricing

Pay per tool call from your XPay wallet. No subscriptions, no minimums.

Get an API key at xpay.tools.

Tools: 10 Category: General

When to Use

Use Z.ai API tools when you need to 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.. All tools are available through xpay✦'s single MCP connection.

MCP Connection

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

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

Available Tools

  • 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. — $0.02/call — SKILL.md
  • Zai Web Reader — Reads and parses the content of the specified URL. Supports selectable return formats, cache control, image retention, and summary options. — $0.02/call — SKILL.md
  • 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. — $0.02/call — SKILL.md
  • 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. — $0.02/call — SKILL.md
  • Zai Retrieve Result — This endpoint is used to query the result of an asynchronous request. — $0.01/call — SKILL.md
  • Zai Conversation History — This endpoint is used to query the agent conversation history.Only support slides_glm_agent — $0.02/call — SKILL.md
  • Zai Retrieve Result Post — This endpoint is used to query the result of an asynchronous request. — $0.02/call — SKILL.md
  • 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. — $0.02/call — SKILL.md
  • 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. — $0.02/call — SKILL.md
  • 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.). — $0.02/call — SKILL.md

How to Execute

  1. xpay_discover — Search for tools: xpay_discover("zai")
  2. xpay_details — Get input schema: xpay_details("zai/TOOL_NAME")
  3. xpay_run — Execute: xpay_run("zai/TOOL_NAME", { ...inputs })
  4. xpay_balance — Check credits

Links

  • Provider page: https://xpay.tools/zai/
  • All providers: https://xpay.tools/explore
  • Docs: https://docs.xpay.sh
Tools (10)
Z.ai API
Z.ai API
Zai Generate Image
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.

$0.02/call
Z.ai API
Z.ai API
Zai Web Reader
zai_web_reader

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

$0.02/call
Z.ai API
Z.ai API
Zai File Upload
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.

$0.02/call
Z.ai API
Z.ai API
Zai Chat Completion
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.

$0.02/call
Z.ai API
Z.ai API
Zai Retrieve Result
zai_retrieve_result

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

$0.01/call
Z.ai API
Z.ai API
Zai Conversation History
zai_conversation_history

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

$0.02/call
Z.ai API
Z.ai API
Zai Retrieve Result Post
zai_retrieve_result_post

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

$0.02/call
Z.ai API
Z.ai API
Zai Agent Chat
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.

$0.02/call
Z.ai API
Z.ai API
Zai Generate Videoasync
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.

$0.02/call
Z.ai API
Z.ai API
Zai Web Search
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.).

$0.02/call
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/zai/SKILL.md
CLI
npx @xpaysh/cli install zai
Manual
curl -o SKILL.md https://xpay.tools/skills/zai/SKILL.md
Details

Tools

10

Category

General

Total calls

0

xpay tools logo

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

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service