Learning resourcesReviewed · xAI

xAI Models and API Pricing Reference

The xAI Models page is a model and pricing reference for developers choosing Grok APIs, but it provides no setup walkthrough or comparative performance results. It covers text, image, video and voice pricing, context limits, model aliases and API compatibility caveats.

Researched 15 Nov 2026

In short.

The xAI Models page is a model and pricing reference for developers planning Grok API use, but it cannot establish output quality or provide a complete integration guide. It lists modality-specific prices and explains a significant billing condition: at 200,000 prompt tokens, the listed text models switch to higher rates for all tokens in the request. Other practical details include changing model aliases, search requirements for current information, unsupported probability fields and automatic encrypted reasoning content in Grok 4.7 Responses API results. Performance, reliability and runtime behavior are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied page at https://docs.x.ai/developers/models.md, including all pricing tables, modality recommendations, compatibility notes, the voice deprecation notice, long-context billing rule, knowledge cutoff and alias guidance. Linked model, search, voice, Batch API, Responses API and reasoning pages are excluded. No code or API request was executed. Model performance, availability, billing behavior and integration behavior are untested; rights and additional costs absent from this page remain unknown.

The overview

Identity

This is xAI's Models documentation page at [https://docs.x.ai/developers/models.md]. It combines API pricing tables with model recommendations and compatibility notes.

The resource is a documentation reference. It does not supply downloadable model weights, a runnable application or an SDK. Linked model pages, API references and tool documentation contain additional material outside this page.

Assessment

The page is useful for an initial comparison of model costs, advertised context capacity and API constraints. Its pricing threshold and silent handling of unsupported parameters are particularly relevant when estimating bills or adapting an existing integration.

xAI recommends Grok 4.7 for chat and code and describes it as its most capable model. The page supplies no benchmarks, evaluation methods or comparative outputs supporting that ranking. It can inform a shortlist, but cannot establish which model will perform best on a particular workload.

Users

Developers and technical buyers can use this reference to compare Grok API options before integration. Experienced developers will find details about probability fields, conversation roles, encrypted reasoning content and version aliases.

Beginners can use the modality recommendations and pricing tables to identify a starting point. They will need additional documentation for authentication, request construction and interpreting token usage; this page contains no beginner setup tutorial.

Capabilities

The text pricing table lists 500,000-token context windows for grok-4.7, grok-4.6 and grok-4.5. It lists one-million-token windows for grok-4.3, grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning and grok-4.20-multi-agent-0309, and 256,000 tokens for grok-build-0.1. Separate maximum output lengths are not supplied.

The page also lists image generation, video generation, speech-to-speech, transcription and text-to-speech services. It recommends Image 2.0 for images, Video 1.5 for videos and the Grok Voice API for voice.

For models supporting image input, the documented formats are JPEG and PNG, with a maximum image size of 20 MiB. The page states no limit on image count and accepts either image/text ordering, but does not identify which listed text models support image input.

Using it

Requirements

Authentication requirements, account eligibility, supported SDK versions, regional availability and rate limits are not specified. Local hardware requirements are also absent.

Current information requires server-side Web Search or X Search tools to be enabled. The page says the models otherwise lack access to realtime events beyond their training data.

Batch support must be confirmed for the chosen model because not every model accepts Batch API requests. The page directs readers to individual model details without supplying a support matrix.

Mechanism

Text billing separates input tokens, cached input tokens and output tokens. Tokens are units of text processed by the API. Cached input has its own lower listed rate, but cache eligibility and operation are not explained.

The page describes base model names as aliases for the latest stable version and names ending in -latest as aliases for the latest version. Dated identifiers refer to fixed releases. Following an alias can therefore change the release used by an application.

Chat context may mix system, user and assistant roles in any sequence. On the Responses API, grok-4.7 always returns reasoning.encrypted_content, even when include does not request it. The page does not explain the encrypted content's format, reuse or storage requirements, or the internal operation of the named reasoning and multi-agent models.

Setup

The page provides model identifiers and links to further documentation, but contains no installation commands, authentication example, endpoint configuration or complete request.

Before implementation, obtain the chosen model's request schema and access instructions, confirm its modality and Batch API support, and decide whether automatic alias updates suit the application. Applications needing current information must also configure the documented search tools.

Example

Illustrative calculation only: a grok-4.7 request containing 100,000 uncached input tokens and producing 1,000 output tokens would cost $0.206 in listed text token charges. Input contributes $0.20 at $2 per million tokens, and output contributes $0.006 at $6 per million.

At exactly 200,000 uncached prompt tokens and the same 1,000 output tokens, the higher rates apply to the entire request: $0.80 for input and $0.012 for output, totaling $0.812. These calculations exclude any additional charges not specified on the page and do not represent executed requests.

Assessment & evidence

Limitations

Models grok-4.20 and newer do not support logprobs or top_logprobs. The page says these fields are silently ignored when supplied, so requesting them does not establish that token probability information will be returned.

Realtime knowledge depends on enabling search tools. Grok 4.7's stated knowledge cutoff is May 2026. Search accuracy, coverage and latency are not assessed.

Grok-voice-2.0 is explicitly marked deprecated. No retirement date or migration procedure is given. Batch availability varies by model, and the page supplies no measured latency, throughput, reliability, coding accuracy or long-context retrieval results.

Reasoning

The strongest use of this reference is estimating documented costs and identifying constraints before implementation. The long-context billing threshold can materially change a budget, while alias behavior affects whether the same identifier continues to refer to the same release.

A lower listed price or larger context window does not establish better task results in this evidence. Likewise, xAI's recommendation of Grok 4.7 is a vendor recommendation without supporting comparative measurements on this page. Choosing a production model requires evidence from the intended tasks.

Alternatives

Within the listed text options, grok-4.3 has lower token rates and a larger advertised context window than grok-4.7. Grok-build-0.1 also has lower token rates, but a smaller 256,000-token context window. The page does not establish equivalent quality or explain when either would replace Grok 4.7 successfully.

The image and video tables offer options at different prices, including a lower per-second rate for Video 1.5 Lite. Quality, speed and feature differences are not described. External providers and alternative learning resources are not compared.

Evidence

The evidence consists of the complete Models page from [https://docs.x.ai/developers/models.md]. It directly supports the stated prices, context capacities, vendor recommendations and compatibility notices. It contains no independent evaluations or execution results.

The supplied snapshot has source fingerprint sha256:6ca1550d65c50d817a41234cda179d594715f65d2fb9eccdaaf65bd36e92baa0. Linked pages are outside the available evidence. API behavior, output quality and operational reliability remain untested.

Access & freshness

Costs

All following text prices are US dollars per million tokens, ordered as input, cached input and output. Below 200,000 prompt tokens, grok-4.7 and grok-4.6 cost $2, $0.50 and $6; at or above that threshold, they cost $4, $1 and $12. Grok-4.5 costs $2, $0.30 and $6 below the threshold, then $4, $0.60 and $12.

Grok-4.3, grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning and grok-4.20-multi-agent-0309 each cost $1.25, $0.20 and $2.50 below the threshold, then $2.50, $0.40 and $5. Grok-build-0.1 costs $1, $0.20 and $2 below the threshold, then $2, $0.40 and $4. The higher tier applies to all tokens in a qualifying request, including output.

Image generation costs $0.04 per image for grok-imagine-image-2.0 and $0.02 for grok-imagine-image. Video generation costs $0.080 per second for grok-imagine-video-1.5, $0.020 for grok-imagine-video-1.5-lite and $0.050 for grok-imagine-video.

Speech-to-speech grok-voice-3.0 is listed at $0.08 per minute, equivalent to $4.80 per hour, with a $0.004-per-text-input charge also listed. The deprecated grok-voice-2.0 entry shows the same rates. Transcription costs $0.10 per hour through REST or $0.20 per hour through streaming. Text-to-speech costs $15 per million characters.

Search-tool charges, cache qualification, minimum billing increments, taxes, discounts and the precise meaning of a billable voice text input are not established here. A complete application cost remains unknown without workload details and any applicable additional charges.

Rights

The page does not provide a documentation redistribution licence or model-weight licence. Public availability of the reference does not establish permission to redistribute its contents.

Commercial-use terms, generated-output rights, data retention, training use of submitted data and privacy commitments are not specified. Those terms require separate evidence before a contractual or data-handling decision.

Freshness

The page snapshot was captured on 15 November 2026 at 10:42:03.066 UTC. No publication date or last-update date appears in the supplied text, and subsequent changes are unknown.

Prices, available models and alias targets should be confirmed before committing a budget or deployment. Grok 4.7's May 2026 knowledge cutoff describes its training knowledge rather than the documentation's update date.

Actions

Start with the required modality and estimate input, cached input and output usage separately. Check whether prompts may reach 200,000 tokens, since that changes rates for the whole request.

Before integration, confirm authentication, request formats, model-specific input support, output limits, Batch availability and applicable service terms. Confirm the migration path for any existing grok-voice-2.0 use.

Use a documented fixed release identifier when release consistency is required, and account for alias updates otherwise. Evaluate representative tasks for quality, latency and total cost before relying on a model in production; the page supplies no such results.

Evidence for this report

selected-page.txtselected · checked 2026-11-15