SaaS Pricing Tracker
vs

xAI API vs Perplexity Sonar API pricing

Both start at $1 per million input tokens, $2 per million output. xAI API prices unchanged since 2026. Perplexity Sonar API prices unchanged since 2026.

xAI API vs Perplexity Sonar API at a glance

Current list prices.

Starts at
$1 per million input tokens, $2 per million outputgrok-build-0.1
Top listed plan
$2 per million input tokens, $6 per million outputgrok-4.6
Priced by
Usage based
Free plan
Not recorded
Price history
since 2026
Price changes
none
Starts at
$1 per million input tokens, $1 per million output, plus $5 to $12 per 1,000 requestsSonar
Top listed plan
$3 per million input tokens, $15 per million output, plus $6 to $14 per 1,000 requestsSonar Pro
Priced by
Usage based
Free plan
Not recorded
Price history
since 2026
Price changes
none

Exhibit 1

xAI API vs Perplexity Sonar API price history

Both histories on one chart. The default line is each product's cheapest paid plan.

$1Nov 2026$1.25 xAI API grok-4.3, input$1 Perplexity Sonar API Sonar, input
Note: xAI API: USD per million tokens, prompts under 200K tokens. Perplexity Sonar API: USD per million tokens, before per request fees. Click a legend entry to add or hide a plan. Log scale.Source: live and archived pricing pages; SaaS Pricing Tracker analysis.
Show the data as a table
ObservedxAI API grok-4.3, inputPerplexity Sonar API Sonar, input
Sep 21, 2026$1.25$1
Oct 3, 2026$1.25$1

Plans side by side

Current plans, with the starting price where known.

xAI APIUSD per million tokens, prompts under 200K tokens

PlanPriceListed since
grok-4.6, input$2Sep 2026
grok-4.6, output$6Sep 2026
grok-4.3, input$1.25Sep 2026
grok-4.3, output$2.50Sep 2026
grok-4.7, input$2Oct 2026
grok-4.7, output$6Oct 2026

Perplexity Sonar APIUSD per million tokens, before per request fees

PlanPriceListed since
Sonar, input$1Sep 2026
Sonar, output$1Sep 2026
Sonar Pro, input$3Sep 2026
Sonar Pro, output$15Sep 2026

What changed, and when

Dated price changes, newest first.

  1. Oct 2026xAI API added the grok-4.7 input and output plans. grok-4.7, input listed at $2. grok-4.7, output listed at $6.

xAI API vs Perplexity Sonar API pricing questions

Is xAI API or Perplexity Sonar API cheaper?
Both start at $1 per million input tokens, $2 per million output. xAI API's top listed plan is grok-4.6 at $2 per million input tokens, $6 per million output, Perplexity Sonar API's top listed plan is Sonar Pro at $3 per million input tokens, $15 per million output, plus $6 to $14 per 1,000 requests.
Has xAI API or Perplexity Sonar API raised prices?
xAI API: unchanged since 2026. Perplexity Sonar API: unchanged since 2026.
How are xAI API and Perplexity Sonar API priced?
xAI API: usage based, USD per million tokens, prompts under 200K tokens. Perplexity Sonar API: usage based, USD per million tokens, before per request fees.

More comparisons

Paste the address of its pricing page and we will add it to the tracker.