@Zai_org's flagship model, GLM-5.2, is now available in Perplexity's Agent API.
GLM-5.2 is one of the strongest open-source models for long-horizon coding and agentic workflows. It shines in Agent API, making particularly effective use of our Search as Code architecture.
Combine frontier reasoning with real-time programmatic search with just one API call.
OpenAI-compatible interface and first-party pricing with no markup.
Get started: https://docs.perplexity.ai/docs/agent-api/quickstart