Skip to main content
TokenCost logoTokenCost

Grok 3

Last verified July 27, 2026 · xAI pricing ↗

$3.00/1M input · $15.00/1M output · 131K context · xAI

Grok 3 last cost $3.00 per 1M input tokens and $15.00 per 1M output tokens from xAI, with a 131K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.011, or $105.00 per 10,000 requests.

Retired

Not generally available

xAI has shut Grok 3 down. You cannot buy it at the rate below. The price is kept so past spend and old estimates still reconcile, and it is excluded from the calculator’s default model list and from every ranking.

xAI’s own page ↗

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What Grok 3 Costs Per Request

At $3.00 per 1M input and $15.00 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.011$105.00
RAG answer over retrieved docs8,000 / 600$0.033$330.00
Coding-agent step30,000 / 2,000$0.120$1200.00

Grok 3 vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
Grok 3 xAI$3.00$15.00131K$0.033
Grok 4.7 xAI$2.00$6.00500K$0.020
Claude Sonnet 4.6 Anthropic$3.00$15.001.0M$0.033
Sonar Pro Perplexity$3.00$15.00128K$0.033

Alternatives to Grok 3

Pricing Details

xAIRetired. xAI shut down slug grok-3 on May 15, 2026 at 12:00 PM PT; the slug still resolves but bills at grok-4.3 rates ($1.25/$2.50), not the $3/$15 shown here. Replacement: grok-4.3 with reasoning effort none. Price kept for historical comparison. Estimated tokens (different tokenizer).
Input / 1M tokens
$3
Output / 1M tokens
$15
Context Window
131K
Max Output
16K

Price History

No price change recorded since 2026-07-27, when this site started tracking this model.

Frequently Asked Questions

Common questions about Grok 3 pricing and usage

How much does Grok 3 cost?
Grok 3 costs $3 per 1 million input tokens and $15 per 1 million output tokens. This pricing is set by xAI.
What tokenizer does Grok 3 use?
Grok 3 uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is Grok 3's context window?
Grok 3 supports a context window of 131K tokens (131,072 tokens). The maximum output length is 16K tokens.
How does Grok 3 compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, Grok 3 costs $0.033 per request. The nearest-priced alternatives cost: Grok 4.7 (xAI) $0.020, Claude Sonnet 4.6 (Anthropic) $0.033, Sonar Pro (Perplexity) $0.033. The table above lists their full rates and context windows.
How do I count tokens for Grok 3?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for Grok 3 using the cl100k_base tokenizer.