# xAI (Grok) API Pricing & Models (/models/xai)

xAI's Grok models

xAI has 16 tracked models in Sim with pricing, context window, and capability metadata. Prices are in US dollars per 1M tokens. The default xAI model in Sim is [Grok 4.6](/models/xai/grok-4-6).

## Current models \[#current-models]

| Model | Input | Output | Context window |
| - | - | - | - |
| [Grok 4.7](/models/xai/grok-4-7) | $2 | $6 | 500k |
| [Grok 4.6](/models/xai/grok-4-6) | $2 | $6 | 500k |
| [Grok 4.5](/models/xai/grok-4-5) | $2 | $6 | 500k |
| [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 |

## Superseded and retired models \[#superseded-and-retired-models]

| Model | Status | Context window |
| - | - | - |
| [Grok 4 Latest](/models/xai/grok-4-latest) | Retired by the provider | 1M |
| [Grok 4 0709](/models/xai/grok-4-0709) | Retired by the provider | 1M |
| [Grok 4.1 Fast Reasoning](/models/xai/grok-4-1-fast-reasoning) | Retired by the provider | 1M |
| [Grok 4.1 Fast Non Reasoning](/models/xai/grok-4-1-fast-non-reasoning) | Retired by the provider | 1M |
| [Grok 4 Fast Reasoning](/models/xai/grok-4-fast-reasoning) | Retired by the provider | 1M |
| [Grok 4 Fast Non Reasoning](/models/xai/grok-4-fast-non-reasoning) | Retired by the provider | 1M |
| [Grok Code Fast 1](/models/xai/grok-code-fast-1) | Retired by the provider | 256k |
| [Grok 3 Latest](/models/xai/grok-3-latest) | Retired by the provider | 1M |
| [Grok 3 Fast Latest](/models/xai/grok-3-fast-latest) | Retired by the provider | 1M |

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

### What xAI models are available in Sim? \[#what-xai-models-are-available-in-sim]

Sim currently supports 7 xAI models including Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, Grok 4.20 0309 Reasoning, Grok 4.20 0309 Non Reasoning, and more.

### What is the default xAI model in Sim? \[#what-is-the-default-xai-model-in-sim]

Grok 4.6 is the default xAI model in Sim.

### What is the cheapest xAI model tracked in Sim? \[#what-is-the-cheapest-xai-model-tracked-in-sim]

Grok 4.3 currently has the lowest listed input price at $1.25/1M tokens.

### Which xAI model has the largest context window? \[#which-xai-model-has-the-largest-context-window]

Grok 4.3 currently has the largest listed context window at 1M tokens.

### Which xAI models support tool use and function calling in Sim? \[#which-xai-models-support-tool-use-and-function-calling-in-sim]

All xAI models in Sim support tool use and function calling, allowing agents to invoke external APIs, query databases, and run custom actions.
