Atlas / Models / X Ai / xAI: Grok 4 Fast

xAI: Grok 4 Fast✓ Catalog verified

x-ai/grok-4-fast

Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's news post. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs

Input price
$0.20 /1M
Output price
$0.50 /1M
Context
2M
Modalities
textimage
Released
Sep 19, 2025
Tool calling
✓ Yes
Atlas signal
91/100
01

Overview

Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's news post. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs

Access: available through the official X Ai API. Context window: 2M.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Sep 19, 2026
02

Specifications

API identifierx-ai/grok-4-fast
ProviderX Ai
Model typeMultimodal LLM
Context window2M catalog
Input modalitiestext · image
Output modalitiestext
ReleasedSep 19, 2025
TokenizerGrok
ModeratedNo
Architecture modalitytext+image->text
Supported parameters
include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": null,
  "temperature": null,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for x-ai/grok-4-fast as published in the catalog.

$0.20
Input /1M
$0.50
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$2e-7$0.20 / 1MPer input token
Completion tokens$5e-7$0.50 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search fee$0.005$0.005000Per search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$0.2Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

xAI: Grok 4 Fast
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
92signal
Math Signal (GSM8K proxy)
87signal
Science Signal (GPQA proxy)
87signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call xAI: Grok 4 Fast through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="x-ai/grok-4-fast",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

Head-to-head comparisons

Side-by-side breakdowns of xAI: Grok 4 Fast against other frontier models.

vs Anthropic: Claude Fable 5vs Anthropic: Claude Fable 5.1vs Anthropic: Claude Opus 4.6vs Anthropic: Claude Opus 4.7vs Anthropic: Claude Opus 4.7 (Fast)vs Anthropic: Claude Opus 4.8vs Anthropic: Claude Opus 4.8 (Fast)vs Anthropic: Claude Opus 5vs Anthropic: Claude Sonnet 4.5vs Anthropic: Claude Sonnet 4.6vs Anthropic: Claude Sonnet 5vs Claude Opus 5 (Fast)vs Google: Gemini 2.5 Flashvs Google: Gemini 2.5 Flash Litevs Google: Gemini 2.5 Flash Lite Preview 09-2025vs Google: Gemini 2.5 Provs Google: Gemini 2.5 Pro Preview 05-06vs Google: Gemini 2.5 Pro Preview 06-05vs Google: Gemini 3 Flash Previewvs Google: Gemini 3 Pro Previewvs Google: Gemini 3.1 Flash Lite Previewvs Google: Gemini 3.1 Pro Previewvs Google: Gemini 3.1 Pro Preview Custom Toolsvs Google: Gemini 3.5 Flashvs Google: Gemini 3.6 Flashvs OpenAI: GPT-5.4vs OpenAI: GPT-5.4 Provs OpenAI: GPT-5.5vs OpenAI: GPT-5.5 Provs OpenAI: GPT-5.6 Lunavs OpenAI: GPT-5.6 Luna Provs OpenAI: GPT-5.6 Solvs OpenAI: GPT-5.6 Sol Provs OpenAI: GPT-5.6 Terravs OpenAI: GPT-5.6 Terra Provs Anthropic: Claude Haiku 4.5vs Anthropic: Claude Opus 4.1 (batch)vs Anthropic: Claude Opus 4.5vs OpenAI: GPT-5vs Anthropic: Claude Opus 4.1vs OpenAI: GPT-5 Codexvs OpenAI: GPT-5 Image Minivs OpenAI: GPT-5 Imagevs OpenAI: GPT-5 Minivs OpenAI: GPT-5 Nanovs OpenAI: GPT-5 Provs OpenAI: GPT-5.1-Codex-Maxvs OpenAI: GPT-5.1-Codex-Minivs OpenAI: GPT-5.1-Codexvs OpenAI: GPT-5.1vs OpenAI: GPT-5.2-Codexvs OpenAI: GPT-5.2 Provs OpenAI: GPT-5.2vs OpenAI: GPT-5.3-Codexvs OpenAI: GPT-5.4 Minivs OpenAI: GPT-5.4 Nanovs OpenAI: o1vs OpenAI: o3 Deep Researchvs OpenAI: o3
09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does xAI: Grok 4 Fast cost?

$0.20 per 1M input tokens and $0.50 per 1M output tokens on the official X Ai API.

What is the context window of xAI: Grok 4 Fast?

xAI: Grok 4 Fast supports up to 2M tokens of context.

Does xAI: Grok 4 Fast support tool / function calling?

Yes, xAI: Grok 4 Fast supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access xAI: Grok 4 Fast?

Use the official X Ai API with the model id `x-ai/grok-4-fast`. See the Quick start section above for code examples.