SaaS Pricing Tracker
vs

xAI API vs Vertex AI pricing

Vertex AI is cheaper: $0.75 per million input tokens, $3.75 per million output, introductory until 2027 vs $1 per million input tokens, $2 per million output for xAI API. xAI API prices unchanged since 2026. Vertex AI changed the price of 4 plans since 2025.

xAI API vs Vertex AI 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
$0.75 per million input tokens, $3.75 per million output, introductory until 2027Gemini 3.8 Flash
Top listed plan
$2 per million input tokens, $12 per million outputGemini 3.1 Pro Preview
Priced by
Usage based
Free plan
Not recorded
Price history
since 2025
Price changes
4

Exhibit 1

xAI API vs Vertex AI price history

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

Changed between readings
$0.20$0.50$1Apr 2025JulOctJan 2026AprJulOct$1.25 xAI API grok-4.3, input$0.75 Vertex AI Gemini Flash tier, input +50%
Note: xAI API: USD per million tokens, prompts under 200K tokens. Vertex AI: USD per million tokens, standard tier, prompts up to 200K tokens, global endpoint. 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, inputVertex AI Gemini Flash tier, input
Mar 2, 2025$0.15
Jun 6, 2025$0.15
Sep 2, 2025$0.30
Mar 1, 2026$0.50
Apr 1, 2026$0.50
Sep 21, 2026$1.25
Oct 3, 2026$1.25$0.75

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

Vertex AIUSD per million tokens, standard tier, prompts up to 200K tokens, global endpoint

PlanPriceListed since
Gemini Pro tier, input$2was $1.25 in 2025Jun 2025
Gemini Pro tier, output$12was $10 in 2025Jun 2025
Gemini Flash tier, input$0.75was $0.15 in 2025Mar 2025
Gemini Flash tier, output$3.75was $0.60 in 2025Mar 2025

What changed, and when

Dated price changes, newest first.

  1. Oct 2026Vertex AI raised the Gemini Flash tier input and output prices. Gemini Flash tier, input went from $0.50 to $0.75 (+50%). Gemini Flash tier, output went from $3 to $3.75 (+25%).
  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. Mar 2026Vertex AI raised the Gemini Flash tier input and output prices. Gemini Flash tier, input went from $0.30 to $0.50 (+67%). Gemini Flash tier, output went from $2.50 to $3 (+20%).
  4. Dec 2025Vertex AI raised the Gemini Pro tier input and output prices. Gemini Pro tier, input went from $1.25 to $2 (+60%). Gemini Pro tier, output went from $10 to $12 (+20%).
  5. Sep 2025Vertex AI raised the Gemini Flash tier input and output prices. Gemini Flash tier, input went from $0.15 to $0.30 (+100%). Gemini Flash tier, output went from $0.60 to $2.50 (+317%).
  6. Jun 2025Vertex AI added the Gemini Pro tier input and output plans. Gemini Pro tier, input listed at $1.25. Gemini Pro tier, output listed at $10.

xAI API vs Vertex AI pricing questions

Is xAI API or Vertex AI cheaper?
Vertex AI starts lower at $0.75 per million input tokens, $3.75 per million output, introductory until 2027, xAI API at $1 per million input tokens, $2 per million output.
Has xAI API or Vertex AI raised prices?
xAI API: unchanged since 2026. Vertex AI: Gemini Pro tier, input went up from $1.25 to $2 by Dec 2025 (+60%). Gemini Pro tier, output went up from $10 to $12 by Dec 2025 (+20%). Gemini Flash tier, input went up from $0.15 to $0.30 by Sep 2025 (+100%), then up to $0.50 by Mar 2026 (+67%), then up to $0.75 by Oct 2026 (+50%). Gemini Flash tier, output went up from $0.60 to $2.50 by Sep 2025 (+317%), then up to $3 by Mar 2026 (+20%), then up to $3.75 by Oct 2026 (+25%).
How are xAI API and Vertex AI priced?
xAI API: usage based, USD per million tokens, prompts under 200K tokens. Vertex AI: usage based, USD per million tokens, standard tier, prompts up to 200K tokens, global endpoint.

More comparisons

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