Compute Comparison
vs
All providers →

Perplexity vs Z.AI: Token Pricing, Speed & Intelligence

Full comparison of Perplexity and Z.AI — live token pricing, latency, throughput, context window, strengths, weaknesses, and best use cases. Rates sourced from public APIs — verify before use.

Perplexity

Agent API, Router API, Search API, Embeddings API — Sonar deprecated Sept 27, 2026

Perplexity has restructured its API platform in 2026. Sonar Chat Completions is now the Agent API, which provides access to third-party models (OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI, NVIDIA) at direct provider rates with no markup. The Router API routes requests across models with per-token billing. The Search API provides real-time web retrieval billed per request. The Embeddings API offers pplx-embed-v1 models. Sonar is deprecated September 27, 2026. Check docs.perplexity.ai/docs/getting-started/pricing for current rates.

ResearchReal-time dataFact-checkingNews summarisationAgentic researchRAG pipelinesMulti-provider routing
Proprietary models

Z.AI

GLM-5.3 frontier model with 1M context — available on Amazon Bedrock

Z.AI (formerly Zhipu AI) develops the GLM series of large language models. GLM-5.3 is the latest generation, supporting a 1M token context window and designed for enterprise-grade chat, coding, and long-document tasks. GLM-5.3 is now available on Amazon Bedrock, expanding its reach to AWS enterprise customers.

ChatCodingLong-document analysisEnterprise AIAWS-native workloads
Proprietary models

Key metric comparison

Cheapest input ($/1M)

$1.00

$0.04

▲ better

Cheapest output ($/1M)

$1.00

$0.12

▲ better

Peak throughput

80 tok/s

210 tok/s

▲ better

Best latency (TTFT)

400ms

220ms

▲ better

Intelligence score

82/100

83/100

▲ better

Context window

128K

1000K

▲ better

Live token pricing

Perplexitylive pricing

← Swipe to see all columns

ModelInputOutput
sonar-pro$3.00EST Jul 2026$15.00
sonar$1.00EST Jul 2026$1.00
sonar-reasoning-pro$2.00EST Jul 2026$8.00
sonar-reasoning$1.00EST Jul 2026$5.00
sonar-deep-research$2.00EST Jul 2026$8.00
Z.AIlive pricing

← Swipe to see all columns

ModelInputOutput
glm-5.2$1.11EST Jul 2026$3.33
glm-5$0.60EST Jul 2026$1.80
glm-5.1$0.97EST Jul 2026$2.90
glm-4.7$0.06EST Jul 2026$0.18
glm-4.5-air$0.04EST Jul 2026$0.12

Strengths and weaknesses

Perplexity

Agent API: access OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI, NVIDIA at direct provider rates
Search API: real-time web retrieval with advanced filtering
Router API: intelligent model routing with per-token billing at model rates
Embeddings API: pplx-embed-v1 models for semantic search and RAG
Agent API tools: web_search, fetch_url, people_search, sandbox
Sonar Deep Research for multi-step research with citations
Sonar deprecated Sept 27, 2026 — migration required
Agent API is a pass-through — no proprietary frontier model at this tier
No vision or multimodal support on Sonar models

Z.AI

1M token context window on GLM-5.3
Available on Amazon Bedrock for AWS enterprise customers
Strong Chinese and English bilingual performance
Enterprise-grade reliability
Competitive pricing for long-context workloads
Smaller international developer community
Fewer third-party integrations than OpenAI

Key differentiators

Perplexity

An API platform combining real-time web search, multi-provider model routing (OpenAI, Anthropic, Google, xAI at direct rates), and purpose-built research tools under one key.

Z.AI

GLM-5.3 offers a 1M token context window at competitive pricing, now available on Amazon Bedrock — making it accessible to AWS enterprise customers without additional API integrations.

Frequently asked questions

Perplexity FAQs

What APIs does Perplexity offer in 2026?

Perplexity offers four APIs: Agent API (multi-step agentic tasks with third-party models at direct provider rates), Router API (intelligent model routing), Search API (real-time web retrieval, per-request billing), and Embeddings API (pplx-embed-v1 models). Check docs.perplexity.ai/docs/getting-started/pricing for current rates.

Is the original Sonar model still available?

No. The original Sonar Chat Completions API is deprecated as of September 27, 2026. It has been replaced by the Agent API. Migrate to the Agent API for continued access to search-augmented LLM capabilities.

What is the Perplexity Agent API?

The Agent API provides access to third-party models from OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI, and NVIDIA at direct provider rates with no markup. It includes tools: web_search, fetch_url, people_search, and sandbox. Check docs.perplexity.ai for current tool rates.

Z.AI FAQs

What is GLM-5.3?

GLM-5.3 is the latest model in Z.AI's GLM series, supporting a 1M token context window. It is designed for long-document analysis, coding, and enterprise chat applications in both Chinese and English.

Is GLM-5.3 available on Amazon Bedrock?

Yes. GLM-5.3 was added to the Amazon Bedrock catalog in 2026, making it accessible to AWS enterprise customers via the standard Bedrock API without a separate Z.AI account.

How does Z.AI compare to other Chinese LLM providers?

Z.AI's GLM models compete with Alibaba's Qwen and Moonshot's Kimi series. GLM-5.3 stands out for its 1M context window and Amazon Bedrock availability, making it the most accessible Chinese LLM for AWS enterprise customers.

Provider resources

Key strengths compared

Perplexity

  • Agent API: access OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI, NVIDIA at direct provider rates
  • Search API: real-time web retrieval with advanced filtering
  • Router API: intelligent model routing with per-token billing at model rates
  • Sonar deprecated Sept 27, 2026 — migration required
  • Agent API is a pass-through — no proprietary frontier model at this tier

Z.AI

  • 1M token context window on GLM-5.3
  • Available on Amazon Bedrock for AWS enterprise customers
  • Strong Chinese and English bilingual performance
  • Smaller international developer community
  • Fewer third-party integrations than OpenAI

Key weaknesses compared

Perplexity

  • Sonar deprecated Sept 27, 2026 — migration required
  • Agent API is a pass-through — no proprietary frontier model at this tier
  • No vision or multimodal support on Sonar models

Z.AI

  • Smaller international developer community
  • Fewer third-party integrations than OpenAI

Provider category context

Perplexity is a inference api, founded in 2022. Z.AI is a frontier lab, founded in 2019. Perplexity as an inference API provider hosts open-weight models — typically offering lower prices for equivalent capability tiers. Z.AI as a frontier lab trains and serves proprietary models with capabilities not available elsewhere.

How to choose between them

Choose Perplexity if you need agent api: access openai, anthropic, google, xai, z.ai, moonshot ai, nvidia at direct provider rates. Choose Z.AI if you need 1m token context window on glm-5.3. For high-volume production workloads, run a cost comparison using the token pricing table above with your actual prompt/completion token ratio — the cheapest provider depends heavily on your input-to-output token ratio.

Have hands-on experience with either provider? Perplexity · Z.AI