Perplexity API vs Baidu ERNIE API Pricing (2026)

Perplexity API vs Baidu ERNIE API

LLM API Providers pricing comparison · 2026

Perplexity API pricing ranges from $1–$15/per million tokens + per-request fee, while Baidu ERNIE API ranges from $0.1–$10/per million tokens. Baidu ERNIE API is typically 67% more affordable, though your actual cost depends on tier and team size.

LLM API Providers

Perplexity API

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

Baidu ERNIE API

$0.1–$10
/per million tokens
2 plans
Full pricing breakdown →

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

Plan-by-Plan Pricing

Plan Perplexity API Baidu ERNIE API
Sonar Custom Custom
Sonar Pro Custom Custom
Sonar Reasoning Pro Custom
Sonar Deep Research Custom