grok-4xAI
- endpoints
- 1
- regions
- 1
- api
- chat
- released
- July 2025
capabilities 6/8
| # | flags | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Global | 256K | $3.00 | $15.00 | $0.75 | zdr |
no measured traffic for this model yet. the endpoints table above carries provider pricing
| eval | Score as a share of 100 | /100 |
|---|---|---|
| Math Index | 92.7 | |
| AIME 2025 | 92.7 | |
| GPQA Diamond | 87.7 | |
| MMLU Pro | 86.6 | |
| LiveCodeBench | 81.9 | |
| τ²-Bench | 74.9 | |
| Terminal-Bench Hard | 37.9 | |
| Humanity's Last Exam | 26.7 | |
| Intelligence Index | 22.5 | |
| 9 evals | mean | 67.1 |
Scores from Artificial Analysis and public leaderboards, normalised to 100. Bar colour is the band, not the rank: green 80 and up, blue 55 and up, amber 30 and up. Benchmarks measure narrow skills, so test on your own workload before committing. Released 2025-07-10.
xai/grok-4this model has no managed policy yet, so call the provider endpoint directly. every id in the endpoints table works the same way
Base url is https://router.requesty.ai/v1 for every id here. One key reaches the whole catalog.
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1",) response = client.chat.completions.create( model="xai/grok-4", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ],) print(response.choices[0].message.content)
Change the base url, use your Requesty key, set the model to any id in the call pane. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog, so switching later is a one-parameter change. Browse all models
xAI's latest and greatest flagship model, offering unparalleled performance in natural language, math and reasoning - the perfect jack of all trades.
questions 5
Which providers serve grok-4?
How much does grok-4 cost?
Is grok-4 open weights?
What is the context window of grok-4?
How do I use grok-4 with the OpenAI SDK?
more from xai 6
| model | context | from /M | providers |
|---|---|---|---|
| grok-4.6 | 500K | $2.00 | 1 |
| grok-4.5 | 500K | $2.00 | 1 |
| grok-build-0.1 | 256K | $1.00 | 1 |
| grok-4.3 | 1M | $1.25 | 1 |
| grok-4.2-beta | 2M | $2.00 | 1 |
| grok-4-1-fast-reasoning | 2M | $0.20 | 1 |
route grok-4 through one endpoint
One key for 1 provider on this model and 600+ others. No markup on provider prices, automatic failover, caching built in. Weekly aggregates in the measured pane come from production traffic routed through Requesty, one line per provider on a shared axis. Methodology
