~x-ai logo
~x-ai

xAI: Grok Latest

Source description (English)

This model always redirects to the latest Grok model from xAI.

Overview

Model specifications

Context
500,000 tokens
Maximum output
450,000 tokens
Architecture
text+image+file->text
Tokenizer
Router
Knowledge cutoff
Not provided
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$2
per 1M tokens
  • ≤200K$2
  • >200K$4
Output
$6
per 1M tokens
  • ≤200K$6
  • >200K$12
Cache read
$0.5
per 1M tokens
  • ≤200K$0.5
  • >200K$1
Cache write
Free
per 1M tokens
  • ≤200KFree
  • >200KFree
API

Model configuration

Default parameters

temperature
0.7
top_p
0.95

Reasoning

Reasoning required
Yes
Default parameters
high
Capabilities
xhigh, high, medium, low
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"~x-ai/grok-latest","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

Input → Output

Input
textimagefile
Output
text
Reasoning

Yes · xhigh · high · medium · low

API

Supported API parameters

include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

0 providers

Checked: November 3, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

No endpoint details were provided at the last synchronization.