Using Grok 4.20 Multi-Agent on OpenRouter

Implementation guide · Grok 4 · xAI

Serverless

OpenRouter exposes Grok 4.20 Multi-Agent through model ID x-ai/grok-4.20-multi-agent. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-16. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call x-ai/grok-4.20-multi-agent — see the documentation for request format.
  3. 3
    You'll be billed $1.25/1M input, $2.50/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$1.25
Output tokens$2.50

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured Outputs

About Grok 4.20 Multi-Agent

Grok 4.20 Multi-Agent is xAI's current API variant, served as grok-4.20-multi-agent-0309. Its reasoning.effort parameter controls collaborating-agent count. xAI's public pricing page lists a 1M-token context window.

Model Specs

Released2026-03-10
Context1M
Knowledge cutoff2024-11

Provider

OpenRouter

OpenRouter, Inc.

New York, NY, USA