Skip to main content
Z.AI provides developers with a full suite of AI search tools, covering three core services: basic search (Web Search API), retrieval-augmented generation (Web Search in Chat), and intelligent search agents (Search Agent). Through a unified API, offering end-to-end capabilities—from raw web data retrieval and fusion of search results with LLM output, to multi-turn dialogue context management. This empowers developers to build trustworthy, real-time, and traceable AI applications at lower cost.

Product Overview

Web Search API

Web Search API is a search engine specifically designed for large language models. Building on the traditional capabilities of webpage crawling and ranking, it enhances intent recognition and returns results that are more suitable for LLM processing (webpage titles, URLs, summaries, site names, and favicons).
  1. Intent-Enhanced Retrieval: Intelligently identifies the user’s query intent and automatically determines whether web search is needed.
  2. Structured Output: Returns data formats optimized for LLMs, including titles, URLs, summaries, site names, and icons.
  3. Customizable Search Scope: Allows developers to specify the number of results, domain constraints, and time ranges. It also supports adjustable summary lengths for fine-grained search behavior control.
  4. Time-Aware Output Control: The response can include the webpage’s publication time, facilitating timeliness analysis and result ranking.
API Call
Search Financial News

MCP Server

Access the official MCP documentation to learn more about the protocol. Installation Guide
  • Use clients that support the MCP protocol, such as Cursor and Cherry Studio.
  • Obtain an API Key from the Z.AI Platform.
Using in Cursor Cursor 0.45.6 includes MCP functionality. Cursor acts as an MCP service client and can connect to the MCP service with simple configuration. Navigation Path: Cursor Settings → [Features] → [MCP Servers] 370b139e 8201 40a0 9c44 3faf4b1b9655 Pn Configure MCP Server
Cursor MCP Usage Cursor MCP must be used in Composer’s Agent mode. Bb97f60a B887 4e13 92d7 8156227676c7 Pn

Web Search in Chat

Web Search in Chat allows the Completions API to call search engines, combining real-time web retrieval results with GLM’s generative capabilities to provide up-to-date and verifiable answers.
Financial Analysis Summary