Grok 3 API

xAI's Grok 3, through an OpenAI-compatible API. Providers quote it on an open exchange, and each request goes to the offer with the lowest estimated charge that meets your rules.

Facts

Model name
grok-3
Maker
xAI
Context window
131.1K tokens
Input price
$3.004 per million tokens
Output price
$15.021 per million tokens
Providers
1 independent provider
Regions
us

Providers

Scores

Scores: Artificial Analysis (https://artificialanalysis.ai/)

Request

curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-3",
    "messages": [{"role":"user","content":"Say hello."}]
  }'

Questions

What is Grok 3?
Grok 3 is a model from xAI.
How much does Grok 3 cost?
Offers now ask $3.004 per million input tokens and $15.021 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.
What is the context length of Grok 3?
The largest offer takes 131,072 input tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.
What can Grok 3 do?
Its providers list Reasoning effort, JSON object, JSON schema, Frequency penalty, Logit bias, Log probabilities, Min-p sampling, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.
What inputs and outputs does Grok 3 support?
Text → Text.
Which providers serve Grok 3?
1 independent provider quote it now, with 1 offer. The table above ranks them by the cost of a typical job.
How do I call Grok 3?
Send "grok-3" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.
When was Grok 3 listed?
The exchange first listed it on 10/10/2026. This is not its release date.

Related pages