xAI: Grok 4.1 Fast API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| xAI: Grok 4.1 Fast | xAI | $0.20 | $0.50 | 2,000,000 (2M) | text, image, filetext |
Capabilities
Context window
2,000,000 (2M)
Max output
30,000 (30K)
Input modalities
text, image, file
Output modalities
text
Supported parameters
include_reasoning
logprobs
max_tokens
reasoning
response_format
seed
structured_outputs
temperature
tool_choice
tools
top_logprobs
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| xAI: Grok 4 Fast | $0.20 | $0.50 | 2,000,000 (2M) | text, image, filetext |
| xAI: Grok Code Fast 1 | $0.20 | $1.50 | 256,000 (256K) | texttext |
| xAI: Grok 3 Mini | $0.30 | $0.50 | 131,072 (131K) | texttext |
| xAI: Grok 3 Mini Beta | $0.30 | $0.50 | 131,072 (131K) | texttext |
| xAI: Grok 4.20 | $1.25 | $2.50 | 2,000,000 (2M) | text, image, filetext |
| xAI: Grok 4.3 | $1.25 | $2.50 | 1,000,000 (1M) | text, imagetext |
| xAI: Grok 4.20 Multi-Agent | $2.00 | $6.00 | 2,000,000 (2M) | text, image, filetext |
| xAI: Grok 4 | $3.00 | $15.00 | 256,000 (256K) | image, text, filetext |