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 $1.25–$2.5/per million tokens. xAI Grok API is typically 38% more affordable, though your actual cost depends on tier and team size.
Sources & confidence
Every dollar amount and contract clause below traces back to a sourced fact. We don't manufacture composite scores.
Plans at a glance
Every tier per product. Lock one to drive the cost row above and reveal a tier-specific outbound CTA.
What users say
Aggregated, with sample sizes. We use whichever review platform has data.
Perplexity API
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 | — |