Grok / X.AI

Grok API Pricing / Price per 1M tokens

Grok / X.AI • API Price Comparison

Also known as: ~x-ai-grok-latest · ~x ai grok latest · ~xaigroklatest

API pricing and token costs at a glance

Updated on · Published currencies / per 1M tokens; cheapest ranked by input

Official and cheapest channel API pricing
ChannelInput / 1MOutput / 1MCache read / 1MUpdated / verified on
OfficialNo official quote recorded
OpenRouterLowest inputUSD 2USD 6USD 0.52026-10-31

Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 3.5. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.

— means the price or date is not recorded. Cross-currency ranking uses exchange rates.

📏 Context: 500,000 tokensReleased Jul 8, 2026

Grok is a large language model by Grok / X.AI with a 500K-token context window. Across the 1 API channels tracked here, input pricing ranges from $2.00 per 1M input tokens; the cheapest is OpenRouter at $2.00 per 1M input tokens. None of the tracked channels are directly reachable from mainland China without a proxy or VPN. Prices are collected daily from official provider pages and every tracked channel, then cross-checked by a data-accuracy audit.

💰 Cheapest Option
OpenRouter
$2.00/1M input
$6.00/1M output
Visit website
🏢 Official Price
N/A
No official channel available
🇨🇳 Best in China
No China-friendly options
📊 Channel Price Comparison
Compare grok API prices across all available channels • 1 channels available
ChannelTypeInput / 1MOutput / 1MRate LimitChinavs Official
OpenRouter💰 Best Price
Aggregator$2.00$6.00---
📈 Price History
Every scraper-detected price change is recorded. Same-day multiple changes take the last value; unchanged channels carry the last observed price forward.
2 changes · 1/1 channels
💵 Estimated Monthly Costs
Based on typical usage patterns (input:output = 2:1 ratio); all channels converted to USD for comparison
Usage LevelTokens/MonthOpenRouter
🐣 Light0.1M in + 0.1M out$0.50
📊 Medium1.0M in + 0.5M out$5.00
🚀 Heavy10.0M in + 5.0M out$50.00
🏢 Enterprise100.0M in + 50.0M out$500.00

Frequently asked questions about grok

How much does the Grok API cost?

The lowest input rate is USD 2 per 1M tokens; output on that channel is USD 6 per 1M tokens.

Which channel has the cheapest Grok API?

OpenRouter has the lowest input rate: USD 2 per 1M tokens. Cross-currency ranking uses exchange rates; compare output and cache prices separately.

What is the Grok cache-read price?

OpenRouter: USD 0.5 per 1M cache-read tokens.

When was Grok pricing last updated?

Updated on 2026-10-31. This is the latest recorded price update or verification; see the table for individual channel dates.

Is there a free Grok API?

No available recorded channel lists both input and output at zero. Missing prices, free cache reads or a free chat tier do not establish a free API; check provider terms for trial credits.

How do I calculate Grok token costs and monthly spend?

Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 3.5. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.

Related pricing research

Grok Pricing: API Costs, Subscription Plans & Imagine

Read the full guide →

Related models from the same producer

Grok API Pricing / Price per 1M tokens | aiplans.dev