{"openapi":"3.1.0","info":{"title":"Z.ai","version":"1.0.0","description":"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."},"x-service-info":{"name":"Z.ai","docs":{"llms":"https://api.orthogonal.com/llms.txt"},"protocols":["mpp","x402","np"]},"servers":[{"url":"https://mpp.orthogonal.com/zai","description":"MPP (Tempo) rail"},{"url":"https://x402.orthogonal.com/zai","description":"x402 rail"},{"url":"https://np.orthogonal.com/zai","description":"np (Circle Gateway, x402 v2) rail"}],"paths":{"/api/paas/v4/chat/completions":{"post":{"operationId":"zai_POST__api_paas_v4_chat_completions","summary":"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.","tags":["Z.ai"],"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required (x402 / MPP / np)"}},"x-payment-info":{"price":"dynamic","offers":[{"method":"mpp","intent":"charge","rail":"tempo","currency":"USDC.e","url":"https://mpp.orthogonal.com/zai/api/paas/v4/chat/completions"},{"method":"x402","intent":"charge","rail":"base","currency":"USDC","url":"https://x402.orthogonal.com/zai/api/paas/v4/chat/completions"},{"method":"x402","intent":"charge","rail":"monad","currency":"USDC","url":"https://x402.orthogonal.com/zai/api/paas/v4/chat/completions"},{"method":"np","intent":"charge","rail":"base","currency":"USDC","settlement":"circle-gateway","version":"x402-v2","url":"https://np.orthogonal.com/zai/api/paas/v4/chat/completions"}]}}}}}