# xAI API Models, Pricing and Capabilities

Canonical HTML page: [xAI API Models, Pricing and Capabilities](<https://impossibl.com/xai>)
Markdown alternative: [xAI API Models, Pricing and Capabilities as Markdown](<https://impossibl.com/xai.md>)

xAI develops the Grok models, positioned around reasoning and real-time knowledge, in full and mini tiers with tool calling and large context windows.

xAI API and models: 10 models on Impossibl, including Grok 4.7, Grok 4.6, and Grok 4.5. Compare pricing per million tokens, context windows, and capabilities between different xAI models.

Select two or three models to [compare specifications and API costs](<https://impossibl.com/compare.md>). Model types and billing units are not interchangeable.

## At a glance

- models: 10
- modalities: takes text, image and audio in, gives text and audio out
- latest release: Grok 4.7 (Sep 21, 2026)

## Models

### [Grok 4.20 (non-reasoning)](<https://impossibl.com/xai/grok-4.20-0309-non-reasoning>)

Grok 4.20 (non-reasoning) is the non-reasoning snapshot of xAI's Grok 4.20, built for fast, precise responses with agentic tool calling and strict prompt adherence. It shares the reasoning variant's text and image inputs, function calling, and structured outputs, but skips extended reasoning for lower latency. Its published context window is 1,000,000 tokens. The advertised input rate is $1.25 per million input tokens. The advertised output rate is $2.50 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.20-0309-non-reasoning`
- Creator: xAI; model type: Text generation.
- Context window: 1,000,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $1.25 per million input tokens; $2.50 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.20-0309-non-reasoning.md>)

### [Grok 4.20 (reasoning)](<https://impossibl.com/xai/grok-4.20-0309-reasoning>)

Grok 4.20 (reasoning) is the reasoning-enabled snapshot of xAI's Grok 4.20, a general-purpose model aimed at fast agentic tool calling with strict prompt adherence. It accepts text and images, supports function calling and structured outputs, and adds extended reasoning that the non-reasoning snapshot omits. Its published context window is 1,000,000 tokens. The advertised input rate is $1.25 per million input tokens. The advertised output rate is $2.50 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.20-0309-reasoning`
- Creator: xAI; model type: Text generation.
- Context window: 1,000,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $1.25 per million input tokens; $2.50 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.20-0309-reasoning.md>)

### [Grok 4.20 (multi-agent)](<https://impossibl.com/xai/grok-4.20-multi-agent-0309>)

Grok 4.20 (multi-agent) is the multi-agent beta snapshot of xAI's Grok 4.20, aimed at deep research tasks. Instead of a single model pass, multiple agents collaborate in parallel on each request, with the same text and image inputs, function calling, structured outputs, and reasoning as its siblings. Its published context window is 1,000,000 tokens. The advertised input rate is $1.25 per million input tokens. The advertised output rate is $2.50 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.20-multi-agent-0309`
- Creator: xAI; model type: Text generation.
- Context window: 1,000,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $1.25 per million input tokens; $2.50 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.20-multi-agent-0309.md>)

### [Grok 4.3](<https://impossibl.com/xai/grok-4.3>)

Grok 4.3 is xAI's fast, reliable Grok model built for agentic workflows and instruction-following tasks. It takes text and image inputs, supports function calling and structured outputs, and offers selectable reasoning effort from none to xhigh, defaulting to low so responses stay quick. Its published context window is 1,000,000 tokens. The advertised input rate is $1.25 per million input tokens. The advertised output rate is $2.50 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.3`
- Creator: xAI; model type: Text generation.
- Context window: 1,000,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $1.25 per million input tokens; $2.50 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.3.md>)

### [Grok 4.5](<https://impossibl.com/xai/grok-4.5>)

Grok 4.5 is xAI's Grok 4-generation model for coding, agentic tasks, and knowledge work, sitting below Grok 4.6 in the family. It supports configurable reasoning effort at low, medium, or high, along with tool calling, and xAI serves it from EU-hosted regions. Its published context window is 500,000 tokens. The advertised input rate is $2.00 per million input tokens. The advertised output rate is $6.00 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.5`
- Creator: xAI; model type: Text generation.
- Context window: 500,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $2.00 per million input tokens; $6.00 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.5.md>)

### [Grok 4.6](<https://impossibl.com/xai/grok-4.6>)

Grok 4.6 is xAI's frontier flagship Grok model, positioned for coding, agentic tasks, knowledge work, and STEM. It accepts text and image inputs and supports tool calling, with reasoning effort tunable from low through an extra-high xhigh setting that Grok 4.5 does not offer. Its published context window is 500,000 tokens. The advertised input rate is $2.00 per million input tokens. The advertised output rate is $6.00 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.6`
- Creator: xAI; model type: Text generation.
- Context window: 500,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $2.00 per million input tokens; $6.00 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.6.md>)

### [Grok 4.7](<https://impossibl.com/xai/grok-4.7>)

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tool calling, and knowledge work, accepting text and image input and returning text. It sits above Grok 4.6 on a larger base model trained for longer-running tasks, and adds an xhigh reasoning rung its predecessors do not expose. Its published context window is 500,000 tokens. The advertised input rate is $2.00 per million input tokens. The advertised output rate is $6.00 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-4.7`
- Creator: xAI; model type: Text generation.
- Context window: 500,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $2.00 per million input tokens; $6.00 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-4.7.md>)

### [Grok Build 0.1](<https://impossibl.com/xai/grok-build-0.1>)

Grok Build 0.1 is xAI's fast coding model, trained specifically for agentic software engineering workflows and released as an early-access preview. It accepts text and image inputs, supports tool calling and reasoning, and is optimized for interactive coding sessions rather than general knowledge work. Its published context window is 256,000 tokens. The advertised input rate is $1.00 per million input tokens. The advertised output rate is $2.00 per million output tokens. Additional pricing brackets apply when the input exceeds a published context threshold.

- API identifier: `xai/grok-build-0.1`
- Creator: xAI; model type: Text generation.
- Context window: 256,000 tokens; tool calling: Not published.
- Inputs: text, image; outputs: text.
- Base API pricing (USD): $1.00 per million input tokens; $2.00 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-build-0.1.md>)

### [Grok Speech to Text 1.0](<https://impossibl.com/xai/grok-stt-1.0>)

Grok STT is xAI's speech recognition model for transcribing recorded audio. It converts speech into text and accepts language guidance and vocabulary hints for names or specialist terminology. The advertised input rate is $0.00166667 per minute of audio.

- API identifier: `xai/grok-stt-1.0`
- Creator: xAI; model type: Speech to text.
- Context window: Not published; tool calling: Not published.
- Inputs: audio, text; outputs: text.
- Base API pricing (USD): $0.00166667 per minute of audio.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-stt-1.0.md>)

### [Grok Voice TTS 1.0](<https://impossibl.com/xai/grok-voice-tts-1.0>)

Grok Voice TTS 1.0 is xAI's text-to-speech model, turning text into natural, expressive spoken audio for voice agents, accessibility tools, podcasts, and interactive audio. It offers a roster of voices, inline speech tags for laughter, whispers, and pauses, custom voices cloned from a short reference clip, and WebSocket streaming. The advertised input rate is $15.00 per million input characters.

- API identifier: `xai/grok-voice-tts-1.0`
- Creator: xAI; model type: Text to speech.
- Context window: Not published; tool calling: Not published.
- Inputs: text; outputs: audio.
- Base API pricing (USD): $15.00 per million input characters.
- [Complete model facts, cache rates, context tiers, and FAQs as Markdown](<https://impossibl.com/xai/grok-voice-tts-1.0.md>)

## Compare xAI models

- [Grok 4.20 (non-reasoning) vs Grok 4.20 (reasoning)](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.20-0309-reasoning>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.20-0309-reasoning.md>)
- [Grok 4.20 (non-reasoning) vs Grok 4.20 (multi-agent)](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.20-multi-agent-0309>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.20-multi-agent-0309.md>)
- [Grok 4.20 (non-reasoning) vs Grok 4.3](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.3>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.3.md>)
- [Grok 4.20 (non-reasoning) vs Grok 4.5](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.5>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.5.md>)
- [Grok 4.20 (non-reasoning) vs Grok 4.6](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.6>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.6.md>)
- [Grok 4.20 (non-reasoning) vs Grok 4.7](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.7>); [Markdown comparison](<https://impossibl.com/compare/xai/grok-4.20-0309-non-reasoning/xai/grok-4.7.md>)

## Frequently asked questions

### Which Grok models are available through Impossibl?

The directory lists 10 models from xAI available through the Impossibl API, including Grok 4.7, Grok 4.6, and Grok 4.5. Open each model page for its API identifier, capabilities, and current pricing.

### How much do Grok models cost?

xAI model prices vary by model and usage. All rates below are published base API rates in USD. For token-priced models, published input rates start at $1.00 per million input tokens. Published output rates start at $2.00 per million output tokens. Input and output minima may refer to different models. For character-priced models, published input rates start at $15.00 per million input characters. For audio-duration models, published input rates start at $0.00166667 per minute of audio. Long-context tiers can change prices for the whole request; check each model's thresholds and rates. Individual model pages include published cache prices and billing units. Applicable fees and workspace-specific pricing can affect the amount paid.

### What is the cheapest Grok model?

By published input rate, the cheapest Grok text generation model on Impossibl is Grok Build 0.1 (xai/grok-build-0.1) at $1.00 per million input tokens and $2.00 per million output tokens. Cheapest by input rate is not always cheapest for a workload; output-heavy or cached requests can favor another model.

### Does Impossibl add a markup to xAI pricing?

No. Usage is charged at the provider's list price with 0% usage markup. Prepaid credit purchases include a 5% platform fee, and there is no subscription. The rates on this page are xAI's published base rates, and usage comes off your balance when the request finishes.

### What context windows do Grok models support?

Among xAI models with a published limit on Impossibl, the largest context window is 1,000,000 tokens, listed for Grok 4.20 (non-reasoning), Grok 4.20 (reasoning), and Grok 4.20 (multi-agent). Context limits vary by model and are separate from maximum output limits. Context windows are unpublished for 2 models.

### What inputs and capabilities do Grok models support?

Available model types include speech to text, text generation, and text to speech. Published input support includes audio, image, and text; support varies by model. Tool-calling support is unspecified for 10 models.

### How do I use Grok models through an API?

Use the exact model identifier from the model page with the Impossibl API. For example, select xai/grok-4.7 with /v1/chat/completions. Endpoint compatibility depends on the selected model. The API quickstart explains how to create an API key and send a request.

## Sources and related links

Prices, capabilities, limits, and availability describe the public Impossibl API offering. An unpublished fact is unknown; a published zero price is zero. Compare matching billing units and check context tiers before estimating costs.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [Model directory as Markdown](<https://impossibl.com/models.md>)
- [API quickstart](<https://impossibl.com/docs/agent-quickstart>)
- [Model documentation](<https://impossibl.com/docs/models>)
