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
Category Scores
Benchmark Tests
HLE
23.9
General Knowledge
AIME
94.3
Mathematics
GPQA
87.6
STEM (Physics, Chemistry, Biology)
SciCode
45.7
Scientific
MATH-500
99.0
Mathematics
MMLU-Pro
86.6
General Knowledge
LiveCodeBench
81.9
Programming
AA Math Index
92.7
Mathematics
AA Coding Index
55.1
Programming
AAII
65.3
General
| Metric | HLE | AIME | GPQA | SciCode | MATH-500 | MMLU-Pro | LiveCodeBench | AA Math Index | AA Coding Index | AAII |
|---|---|---|---|---|---|---|---|---|---|---|
| Score | 23.9 | 94.3 | 87.6 | 45.7 | 99.0 | 86.6 | 81.9 | 92.7 | 55.1 | 65.3 |
Compare with Similar Models
Code Examples
Integration samples and API usage
Related Models
Similar models from xai