BAD SKY.NET

Grok API Pricing

Compare input and output token prices across AI language models.

ProviderModel
Input
per 1M tokens
Output
per 1M tokens
GrokGrokGrok Build 0.1$1.00$2.00View
GrokGrokGrok 4.20 (Non-Reasoning)$1.25$2.50View
GrokGrokGrok 4.20 (Reasoning)$1.25$2.50View
GrokGrokGrok 4.3$1.25$2.50View
GrokGrokGrok 4.7$2.00$6.00View
GrokGrokGrok 4.5$2.00$6.00View
GrokGrokGrok 4.6$2.00$6.00View

Grok API cost calculator

Enter the tokens of a typical request to compare what it costs with every model in the table. Not sure how many tokens your prompt has? Paste it into the token calculator.

ModelPer requestPer month
Grok Build 0.1 $0.003$30.00
Grok 4.20 (Non-Reasoning) $0.0037$37.50
Grok 4.20 (Reasoning) $0.0037$37.50
Grok 4.3 $0.0037$37.50
Grok 4.5 $0.007$70.00
Grok 4.6 $0.007$70.00
Grok 4.7 $0.007$70.00

How Grok API pricing works

Grok bills its API per token, with separate prices for input tokens (your prompt) and output tokens (the generated answer). The table shows standard rates per 1 million tokens; a token is roughly three quarters of an English word.

FAQ

How much does the Grok API cost?

As of November 17, 2026, Grok charges from $1.00 to $2.00 per 1M input tokens and from $2.00 to $6.00 per 1M output tokens across the 7 models in the table above.

What is the cheapest Grok model?

Grok Build 0.1, at $1.00 per 1M input tokens and $2.00 per 1M output tokens. A request with 2,000 input and 500 output tokens costs about $0.003 with it, so 1,000 such requests cost $3.00.

What is the most expensive Grok model?

Grok 4.7, at $2.00 per 1M input tokens and $6.00 per 1M output tokens. The same 2,000 input and 500 output token request costs about $0.007, so pick the smallest model that handles your task well.

Which Grok model has the largest context window?

Grok 4.20 (Non-Reasoning) accepts up to 1M tokens of context. Long prompts are billed as input tokens, so filling the whole window costs about $1.25 per request.

Is Grok cheaper than other LLM APIs?

Not at the low end: Qwen3.7-Flash costs $0.03 per 1M input tokens and $0.13 per 1M output tokens, less than any Grok model. Price is only part of the choice, so compare quality and context window as well in the LLM price comparison.

How do I estimate the cost of my prompts?

Count the tokens of a typical prompt and answer with the token calculator, then enter them in the cost calculator above to see the price per request and per month for every Grok model.