xAI: Grok Latest API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| xAI: Grok Latest | xAI | $2.00 | $6.00 | 500,000 (500K) | text, image, filetext |
Capabilities
Context window
500,000 (500K)
Max output
-
Input modalities
text, image, file
Output modalities
text
Supported parameters
frequency_penalty
include_reasoning
logprobs
max_tokens
presence_penalty
reasoning
reasoning_effort
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_logprobs
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| SpaceXAI: Grok 4.5 | $2.00 | $6.00 | 500,000 (500K) | text, image, filetext |
| SpaceXAI: Grok 4.3 | $1.25 | $2.50 | 1,000,000 (1M) | text, image, filetext |
| SpaceXAI: Grok 4.20 | $1.25 | $2.50 | 2,000,000 (2M) | text, image, filetext |
| SpaceXAI: Grok 4.20 Multi-Agent | $1.25 | $2.50 | 2,000,000 (2M) | text, image, filetext |
| SpaceXAI: Grok Build 0.1 | $1.00 | $2.00 | 256,000 (256K) | text, image, filetext |