~grok Latest

~grok-latest by xAI Released September 22, 2026
Reasoning · Function calling · Structured output · Prompt caching · Web search · Image input · File input
Input from
$2 / 1M
Output from
$6 / 1M
Cached input from
$0.2 / 1M
Context window
524K
Endpoints
4
from 3 providers
Regions
Global, United States

About ~grok Latest

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.

~grok Latest is a chat model by xAI, available on Eden AI through 4 endpoints from 3 providers, from $2 per million input tokens and $6 per million output tokens, with a context window of up to 524K tokens.

Providers and prices

4 endpoints from 3 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you. Above 200K tokens: $4 input / $12 output per 1M.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Databricksdatabricks/databricks-grok-4-7
Global
500K
$2
$6
$0.2
Reasoning · Tools · Cache
Amazon Web Servicesamazon/xai.grok-4.7
Global
524K
$2
$6
$0.5
Reasoning · Tools · Cache · Vision
Amazon Web Services (United States)amazon/xai.grok-4.7@us
United States
524K
$2
$6
$0.5
Reasoning · Tools · Cache · Vision
xAI (United States)xai/grok-4.7
United States
500K
$2
$6
$0.5
Official · Reasoning · Tools · JSON · Cache · Vision · Web

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
1.6 s
xAI (United States)
Lowest latency
3.95 s
Amazon Web Services (United States)
Highest throughput
73.59 tok/s
xAI (United States)
Best availability
100%
Amazon Web Services (United States)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Databricks
26.24 s
12.69 s
70.14 s
49.91 tok/s
99.48%
0.56%
0%
0%
Amazon Web Services
5.79 s
12.07 s
65.42 s
52.63 tok/s
99.25%
10.96%
0%
0%
Amazon Web Services (United States)
3.29 s
3.95 s
79.41 s
38.95 tok/s
100%
69.3%
0%
0%
xAI (United States)
1.6 s
7.73 s
32.76 s
73.59 tok/s
99.45%
88.14%
6.43%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call ~grok Latest with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "~grok-latest",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about ~grok Latest

On Eden AI, prices for this model start at $2 per million input tokens and $6 per million output tokens. Prices differ by endpoint; the providers table lists each one. Above 200K tokens: $4 input / $12 output per 1M.

Up to 524K tokens, depending on the endpoint.

4 endpoints from 3 providers, available in: Global, United States. All of them are called with the same Eden AI API key.

How fast is ~grok Latest? Over the last 30 days, the fastest first token was 1.60 s (xAI (United States)) and the highest throughput was 73.59 tokens per second (xAI (United States)).