xAI

Palo Alto, USAFounded 2023
9 models

xAI builds the Grok family of models with real-time knowledge from X (Twitter), strong reasoning capabilities, and the Grok Imagine image generator.

9 models from xAI on Railwail

Access every xAI model through Railwail's OpenAI-compatible API.

9 models available

Grok 4

Text & ChatxAI
Popular

xAI's flagship reasoning model with vision and tool use. 256k context, strong at complex reasoning and STEM tasks.

Free
xaiflagshipreasoning

Grok 4.20 Reasoning

Text & ChatxAI
Popular

xAI's Grok 4.20 reasoning snapshot. Runs an extended thinking pass before answering for multi-step analysis, math and STEM, with a 1M token context window and strong agentic tool calling.

Free
xaigrokreasoning

Grok 4.3

MultimodalxAI
NewPopular

xAI's May 2026 flagship. 1M context, vision, always-on reasoning, real-time X/web retrieval via DeepSearch.

Free
xaiflagshipreasoning

Grok 2 Vision

MultimodalxAI

xAI's vision-capable Grok 2 snapshot. Image-in, text-out with strong multilingual instruction following.

Free
xaivisionlegacy

Grok 4.1 Fast

MultimodalxAI
New

xAI's cost-efficient high-throughput model. 2M context, optional reasoning, optimized for agentic loops and real-time apps.

Free
xaicost-efficientvision

Grok 4.20 (Non-Reasoning)

Text & ChatxAI

xAI's Grok 4.20 standard snapshot. Skips the extended thinking pass for lower-latency answers on tasks that do not need deep deliberation. 1M token context window.

Free
xaigroklong-context

Grok 4.20 Multi-Agent

Text & ChatxAI

xAI's Grok 4.20 multi-agent snapshot. Coordinates several specialized agents under one call to handle multi-step workflows that mix research, tool use and synthesis. 1M token context window.

Free
xaigrokmulti-agent

Grok Build 0.1

CodexAI

xAI's Grok coding-focused model. Tuned for code generation and software development tasks with a 256k token context window for working over large codebases.

Free
xaigrokcode

Grok Imagine Video

VideoReplicate
New

xAI video with native audio and lip-sync, up to 15s

€1.5090.0s
audioi2vxai

Frequently asked questions

How is xAI pricing handled on Railwail?
Railwail uses transparent per-call or per-token credit pricing for all xAI models. You pay only for what you use — no monthly minimums, no upfront commitments. Pricing for every individual xAI model is shown on its detail page.
Are there rate limits when using xAI via Railwail?
Default rate limits depend on your account tier and the underlying xAI capacity. Free-tier accounts get sensible defaults for development; paid accounts can request higher limits. Contact support if you need dedicated throughput or burst capacity.
Which regions does xAI support through Railwail?
xAI models are served from Railwail's globally distributed edge infrastructure. EU, US, and Asia-Pacific traffic is automatically routed to the nearest available provider region. GDPR-compliant EU-only routing is available on request.
Is there a sandbox or free tier to test xAI models?
Yes — every new Railwail account receives free credits that work across all providers, including xAI. No credit card is required to start. You can try every model in the catalog before committing to a paid plan.
Categories xAI works in

Start building with xAI today

Free credits on sign-up. No credit card required. Access xAI and 27+ other providers through a single API.