xAI
Standard Pricing
USD / 1M
Input / 1M tokens
$1.2500
Output / 1M tokens
$2.5000
Cached Pricing
USD / 1M
Cached input / 1M
$0.2000
Cached output / 1M
$N/A
Price History · xAI
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=xai
Updated: 2026-07-16
As of 2026-07-16, AICostIndex tracks 5 observed provider listings for Grok 4. The lowest currently observed prices are $1.2500 for input and $2.5000 for output per 1M tokens. Cached pricing signals are also available on some provider listings. Where available, it also links to the official pricing or source page. Final billing terms should always be verified on the official vendor website.
Grok 4 is presented here as a pricing reference page first: compare the visible lowest prices, check how many providers are currently listed, and then inspect vendor-level differences.
Before any commercial decision, confirm the exact billing terms on the linked official source page.
Vendors providing this model with comparable snapshots.
Standard Pricing
USD / 1M
Input / 1M tokens
$1.2500
Output / 1M tokens
$2.5000
Cached Pricing
USD / 1M
Cached input / 1M
$0.2000
Cached output / 1M
$N/A
Price History · xAI
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=xai
Standard Pricing
USD / 1M
Input / 1M tokens
$3.0000
Output / 1M tokens
$15.0000
Cached Pricing
USD / 1M
Cached input / 1M
$N/A
Cached output / 1M
$N/A
Price History · Azure AI
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=azure_ai
Standard Pricing
USD / 1M
Input / 1M tokens
$3.0000
Output / 1M tokens
$15.0000
Cached Pricing
USD / 1M
Cached input / 1M
$N/A
Cached output / 1M
$N/A
Price History · OpenRouter
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=openrouter
Standard Pricing
USD / 1M
Input / 1M tokens
$3.0000
Output / 1M tokens
$15.0000
Cached Pricing
USD / 1M
Cached input / 1M
$N/A
Cached output / 1M
$N/A
Price History · Vercel AI Gateway
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=vercel_ai_gateway
Standard Pricing
USD / 1M
Input / 1M tokens
$7.2000
Output / 1M tokens
$36.0000
Cached Pricing
USD / 1M
Cached input / 1M
$N/A
Cached output / 1M
$N/A
Price History · Replicate
USD / 1M · Daily · UTC
Evidence: litellm · level=L0 · provider=replicate
Premium Report
Get cross-vendor cost intelligence, including hidden token/API costs,
plus full-period change history in CSV format.
Instant download