xAI Documents Grok 4.20 with Reasoning and 1M Token Context

ArticlexAIResource

xAI's developer documentation details the specifications and pricing for Grok 4.20. The multimodal model features a 1-million-token context window, reasoning capabilities, and tool calling.

Key points

  1. Input modalities cover text and image, output is text.
  2. Context window reaches up to 1,000,000 tokens.
  3. Includes reasoning, function calling, and structured outputs.
  4. Pricing under 200k prompt tokens is $1.25 input, $0.20 cached input, and $2.50 output per million tokens.
  5. Pricing doubles across the entire request when prompts reach or exceed 200k tokens; Batch API gives a 20% discount.
  6. Available in us-east-1 and us-west-2 with rate limits of 37 RPS and 10 million TPM.

Why it matters

The model specifications define xAI's developer offering for large-context, agentic workflows with integrated reasoning.

Analysis

xAI highlights Grok 4.20 for prompt adherence, low hallucination rates, and speed. A key architectural and operational detail is the tiered pricing: crossing the 200,000 prompt token threshold applies the higher rate retroactively to all tokens in that request.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Article:xAI

    xAI Introduces Grok 4.20 Multi-Agent Beta

    xAI has launched the Grok 4.20 Multi-Agent Beta model, designed for deep research tasks via multiple collaborating agents working in parallel.

    AI & LLMs· Announcement

  • Article:x.ai

    SpaceXAI Introduces Grok 4.6

    SpaceXAI has released Grok 4.6, placing special emphasis on long-running agents and interactive visual development. The model is available now via API, Cursor, and Grok Build.

    AI & LLMs· Announcement

  • Article:OpenAI

    OpenAI documents GPT-5.4 flagship model with 1.05M context window

    Official documentation outlines GPT-5.4, a flagship model tailored for coding and complex professional tasks. It features a 1,050,000-token context window, up to 128,000 output tokens, and configurable reasoning effort levels.

    AI & LLMs· Resource

  • Repository:xai-org/xai-sdk-python

    xAI Python SDK: Official gRPC Client for xAI Services

    The official xAI Python SDK provides a gRPC-based library to integrate with xAI's APIs. Built for Python 3.10+, it provides both synchronous and asynchronous clients for text, image, and video generation.

    566starsPython

    AI & LLMs· Tool

  • Article:Anthropic

    Anthropic Unveils Claude Opus 4.6 with 1M Token Context Window

    Anthropic has released Claude Opus 4.6, delivering major upgrades to agentic coding, multi-step planning, and long-context retrieval with a 1M token beta window, alongside new effort controls at existing API pricing.

    AI & LLMs· Announcement

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.