# Grok 4 Latest API Pricing & Context Window (/models/xai/grok-4-latest)

Grok 4 Latest is an xAI model tracked in Sim. It supports a 1M token context window. Pricing starts at $1.25/1M input tokens and $2.5/1M output tokens. Key capabilities include Temperature 0-2, Tool choice.

| Specification | Value |
| - | - |
| Model ID | `grok-4-latest` |
| Provider | [xAI](/models/xai) |
| Status | Retired by the provider |
| Released | Jul 9, 2025 |
| Context window | 1M tokens |
| Max output | Not published |

## Pricing \[#pricing]

Prices are in US dollars per 1M tokens, as listed in Sim's model catalog on Jun 11, 2026.

| Tokens | Price per 1M |
| - | - |
| Input | $1.25 |
| Cached input | $0.2 |
| Output | $2.5 |

## Capabilities \[#capabilities]

| Capability | Support |
| - | - |
| Temperature | 0 to 2 |
| Reasoning effort | Not supported |
| Verbosity | Not supported |
| Thinking levels | Not supported |
| Structured outputs | Not supported |
| Tool choice | Supported |
| Computer use | Not supported |
| Memory support | Supported |
| Max output tokens | Not published |

## Use Grok 4 Latest in Sim \[#use-grok-4-latest-in-sim]

xAI has retired this model, so API calls to it fail and it no longer appears in the model picker. Workflows that still name it keep validating; switch their [Agent blocks](/workflows/blocks/agent) to a current model such as [Grok 4.6](/models/xai/grok-4-6).

## Related models \[#related-models]

| Model | Input | Output | Context window |
| - | - | - | - |
| [Grok 4.3](/models/xai/grok-4-3) | $1.25 | $2.5 | 1M |
| [Grok 4.20 0309 Reasoning](/models/xai/grok-4-20-0309-reasoning) | $1.25 | $2.5 | 1M |
| [Grok 4.20 0309 Non Reasoning](/models/xai/grok-4-20-0309-non-reasoning) | $1.25 | $2.5 | 1M |
| [Grok 4.20 Multi Agent 0309](/models/xai/grok-4-20-multi-agent-0309) | $1.25 | $2.5 | 1M |
| [Grok 4.7](/models/xai/grok-4-7) | $2 | $6 | 500k |
| [Grok 4.6](/models/xai/grok-4-6) | $2 | $6 | 500k |

## Frequently asked questions \[#frequently-asked-questions]

### What is Grok 4 Latest? \[#what-is-grok-4-latest]

Grok 4 Latest is an xAI model tracked in Sim. It supports a 1M token context window. Pricing starts at $1.25/1M input tokens and $2.5/1M output tokens. Key capabilities include Temperature 0-2, Tool choice.

### How much does Grok 4 Latest cost? \[#how-much-does-grok-4-latest-cost]

Grok 4 Latest starts at $1.25/1M input tokens, $0.2/1M cached input tokens, and $2.5/1M output tokens.

### What is the context window for Grok 4 Latest? \[#what-is-the-context-window-for-grok-4-latest]

Grok 4 Latest supports a context window of 1M tokens in Sim. In an agent, this determines how much conversation history, tool outputs, and retrieved documents the model can hold in a single call.

### What capabilities does Grok 4 Latest support? \[#what-capabilities-does-grok-4-latest-support]

Grok 4 Latest supports the following capabilities in Sim: Temperature 0-2, Tool choice.
