xAIVerified Active: September 4, 2026

Grok 4API Pricing & Specifications

xAI's frontier model optimized for real-time knowledge synthesis and live data retrieval.

📊 Core Specifications & Pricing Rates

Standard Input
$1.25 / 1M tokens
Standard Output
$2.50 / 1M tokens
Cached Input
None / 1M tokens
Context Window
256K (262,144 tokens)
Max Output Tokens
8,192 tokens
Supported Capabilities:✓ Vision✓ Function Calling / Tools✓ JSON Mode✓ Deep Reasoning

Live Workload Cost Estimator: Grok 4

Adjust token volumes to simulate your exact monthly API bill.

Interactive Simulation
Estimated Total Monthly Cost
$71.88/ month
$0.00287 per API request
Compare All Models in Calculator→

🔗 Verified Primary Sources

All pricing, token limits, and capabilities are cross-checked against official provider documentation and live API endpoints.

↗xAI API Documentation