SaaS Pricing Tracker
vs

OpenAI API vs xAI API pricing

OpenAI API is cheaper: $0.10 per million input tokens, $0.5 per million output vs $1 per million input tokens, $2 per million output for xAI API. OpenAI API changed the price of 4 plans since 2021. xAI API prices unchanged since 2026.

OpenAI API vs xAI API at a glance

Current list prices.

Starts at
$0.10 per million input tokens, $0.5 per million outputgpt-6-luna
Top listed plan
$10 per million input tokens, $50 per million outputgpt-6-astra
Priced by
Usage based
Free plan
Not recorded
Price history
since 2021
Price changes
4
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

Exhibit 1

OpenAI API vs xAI API price history

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

Changed between readings
$0.05$0.10$0.20$0.50$120222023202420252026$0.20 → $0.10 · Oct 2026$1.25 xAI API grok-4.3, input$0.10 OpenAI API Cheapest model, input −50%
Note: OpenAI API: USD per million tokens, standard processing. xAI API: USD per million tokens, prompts under 200K tokens. 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
ObservedOpenAI API Cheapest model, inputxAI API grok-4.3, input
Nov 20, 2021$0.80
Nov 3, 2022$0.40
May 2, 2024$0.50
Nov 12, 2024$0.15
Nov 11, 2025$0.05
Sep 21, 2026$0.20$1.25
Oct 3, 2026$0.10$1.25

Plans side by side

Current plans, with the starting price where known.

OpenAI APIUSD per million tokens, standard processing

PlanPriceListed since
Flagship model, input$10was $60 in 2021Nov 2021
Flagship model, output$50was $60 in 2021Nov 2021
Cheapest model, input$0.10was $0.80 in 2021Nov 2021
Cheapest model, output$0.50was $0.80 in 2021Nov 2021

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

What changed, and when

Dated price changes, newest first.

  1. Oct 2026OpenAI API cut the Cheapest model input and output prices. Cheapest model, input went from $0.20 to $0.10 (-50%). Cheapest model, output went from $1.20 to $0.50 (-58%).
  2. 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.
  3. Sep 2026OpenAI API raised the Flagship model input and output and Cheapest model input and output prices. Flagship model, input went from $5 to $10 (+100%). Flagship model, output went from $30 to $50 (+67%). Cheapest model, input went from $0.05 to $0.20 (+300%). Cheapest model, output went from $0.40 to $1.20 (+200%).
  4. May 2026OpenAI API raised the Flagship model input and output prices. Flagship model, input went from $1.25 to $5 (+300%). Flagship model, output went from $10 to $30 (+200%).
  5. Nov 2025OpenAI API cut the Flagship model input and Cheapest model input and output prices. Flagship model, input went from $2.50 to $1.25 (-50%). Cheapest model, input went from $0.15 to $0.05 (-67%). Cheapest model, output went from $0.60 to $0.40 (-33%).
  6. Nov 2024OpenAI API cut the Flagship model input and output and Cheapest model input and output prices. Flagship model, input went from $10 to $2.50 (-75%). Flagship model, output went from $30 to $10 (-67%). Cheapest model, input went from $0.50 to $0.15 (-70%). Cheapest model, output went from $1.50 to $0.60 (-60%).
  7. May 2024OpenAI API changed its plans and prices. Flagship model, input went from $20 to $10 (-50%). Flagship model, output went from $20 to $30 (+50%). Cheapest model, input went from $0.40 to $0.50 (+25%). Cheapest model, output went from $0.40 to $1.50 (+275%).
  8. Nov 2022OpenAI API cut the Flagship model input and output and Cheapest model input and output prices. Flagship model, input went from $60 to $20 (-67%). Flagship model, output went from $60 to $20 (-67%). Cheapest model, input went from $0.80 to $0.40 (-50%). Cheapest model, output went from $0.80 to $0.40 (-50%).

OpenAI API vs xAI API pricing questions

Is OpenAI API or xAI API cheaper?
OpenAI API starts lower at $0.10 per million input tokens, $0.5 per million output, xAI API at $1 per million input tokens, $2 per million output.
Has OpenAI API or xAI API raised prices?
OpenAI API: Flagship model, input came down from $60 to $20 by Nov 2022 (-67%), then down to $10 by May 2024 (-50%), then down to $2.50 by Nov 2024 (-75%), then down to $1.25 by Nov 2025 (-50%), then up to $5 by May 2026 (+300%), then up to $10 by Sep 2026 (+100%). Flagship model, output came down from $60 to $20 by Nov 2022 (-67%), then up to $30 by May 2024 (+50%), then down to $10 by Nov 2024 (-67%), then up to $30 by May 2026 (+200%), then up to $50 by Sep 2026 (+67%). Cheapest model, input came down from $0.80 to $0.40 by Nov 2022 (-50%), then up to $0.50 by May 2024 (+25%), then down to $0.15 by Nov 2024 (-70%), then down to $0.05 by Nov 2025 (-67%), then up to $0.20 by Sep 2026 (+300%), then down to $0.10 by Oct 2026 (-50%). Cheapest model, output came down from $0.80 to $0.40 by Nov 2022 (-50%), then up to $1.50 by May 2024 (+275%), then down to $0.60 by Nov 2024 (-60%), then down to $0.40 by Nov 2025 (-33%), then up to $1.20 by Sep 2026 (+200%), then down to $0.50 by Oct 2026 (-58%). xAI API: unchanged since 2026.
How are OpenAI API and xAI API priced?
OpenAI API: usage based, USD per million tokens, standard processing. xAI API: usage based, USD per million tokens, prompts under 200K tokens.

More comparisons

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