·New Models·中文版本 →

Grok 4.20 Update (April 2026) — 2M Context, Reasoning Variants & GPT Image 2

xAI's Grok 4.20 brings a2M-token context window with reasoning and non-reasoning variants — all live on TheRouter. Plus OpenAI'sGPT Image 2 for reasoning-powered 2K image generation.


TheRouter April 2026 model update adds OpenAI GPT Image 2 for reasoning-powered image generation at 2K resolution, xAI Grok 4.20 reasoning/non-reasoning models with 2M context. Model IDs: openai/gpt-image-2, xai/grok-4.20-reasoning, xai/grok-4.20-non-reasoning.

OpenAI GPT Image 2 — Thinks Before It Draws

OpenAI launched ChatGPT Images 2.0 yesterday (April 21). The API model gpt-image-2 is already routable through TheRouter.

  • Native reasoning for images — the model conceptualizes compositions before rendering, producing coherent layouts, accurate text, and precise iconography.
  • 2K resolution — up from 1536px. Supports square, portrait, and landscape aspect ratios including 16:9.
  • Multi-image consistency — characters and styles stay consistent across a series of generated images.
  • Image editing built in — accepts image inputs for transformation, inpainting, and style transfer.

GPT Image 2 Pricing

QualityPer Image
Low$0.006
Medium$0.053
High$0.211

Token-based pricing: text input $5/MTok, image input $8/MTok, image output $30/MTok. Per-image prices above are for 1024×1024; larger sizes cost more.

From 2026-10-07, gpt-image-2 is billed per token; see the model page.

Quick Start

curl https://api.therouter.ai/v1/images/generations \
  -H "Authorization: Bearer $THE_ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-image-2",
    "prompt": "A watercolor painting of a fox reading a book in a library",
    "quality": "high",
    "size": "1024x1024"
  }'

xAI Grok 4.20 — 2M Context, Multi-Agent Ready

xAI's Grok 4.20 (released March 31) brings two variants — both with a 2M token context window:

ModelBest ForInputOutput
xai/grok-4.20-reasoningDeep analysis, research$3/MTok$9/MTok
xai/grok-4.20-non-reasoningGeneral purpose, fast responses$3/MTok$9/MTok

Both support vision, function calling, structured outputs, and streaming. Aliases like grok-4-20 resolve to the non-reasoning variant by default.

Prices shown are launch-time figures; see each model page for the current billed rate.


Full Changelog

ModelProviderStatus
openai/gpt-image-2OpenAI APINew
xai/grok-4.20-reasoningxAI APINew
xai/grok-4.20-non-reasoningxAI APINew
anthropic/claude-opus-4.7Anthropic + BedrockAlready live

Coming Soon

  • DeepSeek V4 — ~1T parameter MoE model with 1M context, now live. Read more →
  • xAI Grok Image & Video — grok-imagine-image ($0.02/image) and grok-imagine-video ($0.05/sec) are on our roadmap.

Getting Started

All new models work with your existing API key — just change the model name.


Questions? Reach out on GitHub.

Help & contact