Perplexity API vs xAI Grok API Pricing (2026)

Perplexity API vs xAI Grok API

LLM API Providers pricing comparison · 2026

Perplexity API pricing ranges from $1–$15/per million tokens + per-request fee, while xAI Grok API ranges from $0.2–$30/per million tokens. Both products are similarly priced at comparable tiers.

LLM API Providers

Perplexity API

$1–$15
/per million tokens + per-request fee
4 plans
Full pricing breakdown →
VS
LLM API Providers

xAI Grok API

$0.2–$30
/per million tokens
2 plans
Full pricing breakdown →

Perplexity API and xAI Grok API both operate in the llm api providers category. This page compares their list pricing.

Plan-by-Plan Pricing

Plan Perplexity API xAI Grok API
Sonar Custom Custom
Sonar Pro Custom Custom
Sonar Reasoning Pro Custom
Sonar Deep Research Custom