x-ai

xAI Models

Browse models from xAI
Models · 10
Grok Imagine Image 2.0

Grok Imagine Image 2.0

x-ai/grok-imagine-image-2.0
-tokens
-Cache Hit Rate

Grok Imagine Image 2.0 is an image generation and editing model from xAI. It is suited for creating images from text prompts and editing images from references, with low and medium quality modes.

Input Type
Output Type
Input$0.01/counts
Output$0.04-0.08/counts
Context-
Max Output-
8.85Ktokens
-Cache Hit Rate

Grok Voice STT 1.0 is xAI's speech-to-text model. It supports transcription with word-level timestamps, optional speaker diarization, and multichannel audio.

Input Type
Output Type
Input$0.00002778/seconds
Output-
Context-
Max Output-
1.77Mtokens
0%Cache Hit Rate

Convert text into spoken audio with a single API call. The API supports a rich set of expressive voices, inline speech tags for fine-grained delivery control, and output formats from high-fidelity MP3 to telephony-optimized μ-law.

Input Type
Output Type
Input$15/M tokens
Output-
Context-
Max Output-
1.61Btokens
73.04%Cache Hit Rate

Grok 4.20 Beta features a powerful 4-agent, multi-agent architecture (Grok, Harper, Benjamin, Lucas) that operates in parallel to research, code, and reason through complex tasks. It offers 2M token context, reduced hallucinations, better LaTeX for STEM, improved image/video understanding, and 95% MMLU-Pro accuracy, targeting superior reasoning

Input Type
Output Type
Input$2-4/M tokens
Output$6-12/M tokens
Context-
Max Output-
xAI: Grok 4.2 Fast Non Reasoning

xAI: Grok 4.2 Fast Non Reasoning

x-ai/grok-4.2-fast-non-reasoning
494.34Mtokens
65.95%Cache Hit Rate

Grok 4.20 Beta features a powerful 4-agent, multi-agent architecture (Grok, Harper, Benjamin, Lucas) that operates in parallel to research, code, and reason through complex tasks. It offers 2M token context, reduced hallucinations, better LaTeX for STEM, improved image/video understanding, and 95% MMLU-Pro accuracy, targeting superior reasoning

Input Type
Output Type
Input$2-4/M tokens
Output$6-12/M tokens
Context-
Max Output-
2.42Btokens
63.44%Cache Hit Rate

Grok 4.3 is a reasoning model from xAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual accuracy. Reasoning is always active and cannot be disabled or configured by effort level.

It supports a 1 million token context window with no output token limit, making it well-suited for long-document analysis, deep research, and multi-step agentic tasks. Pricing is tiered: requests exceeding 200k total tokens are billed at a higher rate.

Input Type
Output Type
Input$1.25-2.5/M tokens
Output$2.5-5/M tokens
Context-
Max Output-
573.53Mtokens
97.16%Cache Hit Rate

Grok Build 0.1 is xAI’s fast coding model designed for agentic software engineering workflows. It accepts text and image inputs and produces text output, with support for function calling and long-context coding tasks. Currently in early access, it is suited for code generation, repository-level assistance, and tool-using developer agents.

Input Type
Output Type
Input$1/M tokens
Output$2/M tokens
Context-
Max Output-
8.52Btokens
87.86%Cache Hit Rate

Grok 4.5 is SpaceXAI's frontier model built for coding, agentic tasks, and knowledge work. It was trained in SpaceXAI's data centers in Memphis with new datasets spanning science, engineering, and math.

Input Type
Output Type
Input$2-4/M tokens
Output$6-12/M tokens
Context-
Max Output-
6.87Btokens
84.93%Cache Hit Rate

Grok 4.6, released by xAI on August 13, 2026, builds on Grok 4.5 with a strong focus on long-running multi-step agentic tasks and interactive visual project creation, matching GPT-5.6 Sol on the composite intelligence index and excelling at rapidly turning a broad product idea into a structured, interactive, working first version of an application.

Input Type
Output Type
Input$2-4/M tokens
Output$6-12/M tokens
Context-
Max Output-
1.49Btokens
96.2%Cache Hit Rate

Grok 4.7 is xAI’s most capable model for coding and knowledge work, designed to spend longer on difficult tasks and verify its work more carefully. It is optimized for complex agentic workflows, long-context reasoning, and high-reliability outputs in demanding professional use cases.

Input Type
Output Type
Input$2-4/M tokens
Output$6-12/M tokens
Context-
Max Output-