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 Aug 5, 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.

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.