← All models
X

Grok 3

xAI

xAI's flagship model with real-time web access and strong performance on coding and analysis.

Input price$3.00 / 1M tokens
Output price$15.00 / 1M tokens
Context window128k tokens
Last updated2026-04-21

Quick calculator

tokens
tokens
req/day
Per request
$0.0105
Daily
$105.00
Monthly
$3,150.00
per month · 30-day estimate
Yearly
$38,325.00

Tips to reduce cost

  • Use prompt caching to reuse repeated system prompts
  • Trim whitespace and reduce verbose instructions
  • Use a smaller model for classification or routing tasks
  • Batch async requests to get 50% discount (OpenAI/Anthropic)
  • Cache identical requests at the application layer

Similar models from xAI

Compared at your current token settings

About Grok 3

Grok 3 is a premium large language model from xai, priced at $3/1M input tokens and $15/1M output tokens. It is priced above the market average and best suited for real-time web research. The 128k context window handles long documents, extended conversations, and large code files comfortably.

For most production workloads, the cost breakdown is dominated by input tokens (system prompts, context, retrieved documents) rather than output. At this price point, Grok 3 is positioned for use cases where quality justifies the premium over cheaper alternatives.

Frequently Asked Questions

How much does Grok 3 cost per 1,000 tokens?
Grok 3 costs $0.0030 per 1,000 input tokens and $0.0150 per 1,000 output tokens.
What is Grok 3's context window?
Grok 3 supports a context window of 128k tokens, which is suitable for long documents and multi-turn conversations.
How does Grok 3 compare to GPT-4o on price?
Grok 3 is priced above the market average on input tokens. At $3/1M input vs $2.50/1M for GPT-4o, the cost difference becomes significant at scale — 10,000 requests/day with 1,000 input tokens each costs $900/month with Grok 3 vs $750/month with GPT-4o.

Compare Grok 3 with other models

Grok 3 vs Claude Sonnet 4.6Grok 3 vs Claude 3.5 SonnetGrok 3 vs GPT-4oGrok 3 vs Gemini 3 ProGrok 3 vs Llama 3.1 405BGrok 3 vs GPT-4.1