TEXTxAI

grok-4 Pricing

xAI's flagship model with real-time knowledge.

How much does grok-4 cost?

grok-4 costs $3 per million input tokens and $15 per million output tokens (January 2026).

Last updated: 2026-01

Pricing

Input
$3.00
per 1M tokens
Output
$15.00
per 1M tokens

Specifications

Context Window
256K
Tier
frontier
Capabilities
textcodereasoningvision

Frequently Asked Questions

How much does grok-4 cost?

grok-4 costs $3 per million input tokens and $15 per million output tokens as of January 2026. For example, processing 1,000 tokens costs $0.003000 for input.

Is grok-4 worth the price?

grok-4 is a premium model best for complex tasks requiring highest quality. xAI's flagship model with real-time knowledge.

What are alternatives to grok-4?

Alternatives to grok-4 include models from OpenAI, Anthropic. Compare pricing and capabilities on our AI Pricing page.

Cost Calculator

VolumeInput CostOutput Cost
1K tokens$0.0030$0.015
10K tokens$0.030$0.150
100K tokens$0.300$1.50
1M tokens$3.00$15.00

Prices based on official xAI documentation. Actual costs may vary.

Last updated: 2026-01