grok-4 by xai - AI Model Details, Pricing, and Performance Metrics
grok-4
completionsbyxai
Grok 4 is the latest and greatest flagship model, offering unparalleled performance in natural language, math and reasoning - the perfect jack of all trades.
Released
Jul 9, 2025
Knowledge
Dec 31, 2024
License
Proprietary
Context
256K
Input
$3 / 1M tokens
Output
$15 / 1M tokens
Cached
$0.75 / 1M tokens
Capabilities: tools
Accepts: text
Returns: text
Released Jul 9, 2025Knowledge Cutoff: Dec 31, 2024License: Proprietary
Context: 256K Input: $3 / 1M tokensOutput: $15 / 1M tokensCached: $0.75 / 1M tokensCapabilities: toolsAccepts: textReturns: text
Access grok-4 through LangDB AI Gateway
Recommended
Integrate with xai's grok-4 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.
Unified API
Cost Optimization
Enterprise Security
Get Started Now
Free tier available • No credit card required
Instant Setup
99.9% Uptime
10,000+Monthly Requests
Statistics
Request Volume
Daily API requests
Performance (TPS)
Tokens per second
Benchmark Tests
AIME
94.3
Mathematics
AA Coding Index
63.8
Programming
AAII
65.3
General
AA Math Index
96.7
Mathematics
GPQA
87.6
STEM (Physics, Chemistry, Biology)
HLE
23.9
General Knowledge
LiveCodeBench
81.9
Programming
MATH-500
99.0
Mathematics
MMLU-Pro
86.6
General Knowledge
SciCode
45.7
Scientific
Metric | AIME | AA Coding Index | AAII | AA Math Index | GPQA | HLE | LiveCodeBench | MATH-500 | MMLU-Pro | SciCode |
---|---|---|---|---|---|---|---|---|---|---|
Score | 94.3 | 63.8 | 65.3 | 96.7 | 87.6 | 23.9 | 81.9 | 99.0 | 86.6 | 45.7 |
Compare with Similar Models
Conversations
Explore real conversations using this model
Code Examples
Integration samples and API usage
Related Models
Similar models from xai