# Grok 4.20 Multi-Agent

Grok 4.20 Multi-Agent is purpose-built for multi-agent orchestration, enabling workflows where multiple agents coordinate and collaborate to complete complex tasks.

- **Model ID:** `spacexai/grok-4.20-multi-agent`
- **Type:** chat
- **Providers:** xai
- **Context window:** 2,000,000
- **Maximum output tokens:** 2,000,000
- **Pricing:** $1.25/1M input tokens, $2.5/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/grok-4.20-multi-agent

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'spacexai/grok-4.20-multi-agent',
  prompt: 'Why is the sky blue?'
})
```

## About

Grok 4.20 Multi-Agent was released March 10, 2026 as part of SpaceXAI's Grok 4.20 beta generation, purpose-built for multi-agent orchestration and collaboration. While the other Grok 4.20 variants focus on individual reasoning or speed, Grok 4.20 Multi-Agent targets workflows where multiple agents work together, coordinating tool calls, sharing context, and delegating subtasks.

The model features the same low hallucination rates and strict prompt adherence as its Grok 4.20 siblings, applied specifically to multi-agent challenges: consistent behavior across agent interactions, reliable handoffs, and predictable tool-calling patterns.

This model is currently in beta.

## What to consider

Grok 4.20 Multi-Agent is in beta. Expect potential changes before general availability.

This model is optimized for agent collaboration patterns. For single-agent workflows, the non-reasoning or reasoning Grok 4.20 variants may be more appropriate.

## When to use

### Best For

- **Multi-agent orchestration** where several agents coordinate on complex tasks
- **Agent delegation workflows** where a supervisor agent routes subtasks to specialist agents
- **Complex automation pipelines** requiring multiple agents with different roles to collaborate
- **Tool-calling coordination** where agents need to share context and hand off results reliably
- **Research and analysis systems** that decompose large problems across specialized agent roles

### Consider Alternatives When

- **Single-agent workflows** where Grok 4.20 Non-Reasoning or Reasoning variants are better suited
- **Speed-focused single-agent tasks** where Grok 4.1 Fast Non-Reasoning provides fast tool calling without multi-agent overhead
- **Stable production deployments** where beta models introduce risk. Wait for general availability or use Grok 4.1 Fast models
- **Simple text generation** where general-purpose Grok models handle the task without multi-agent optimization

## Best for

- **Multi-agent orchestration:** workflows where several agents coordinate tool calls, share context, and hand off subtasks reliably
- **Agent delegation workflows:** a supervisor agent routes subtasks to specialist agents
- **Complex automation pipelines** requiring multiple agents with different roles to collaborate
- **Tool-calling coordination:** agents need to share context and hand off results reliably
- **Research and analysis systems** that decompose large problems across specialized agent roles

## Consider alternatives

- **Single-agent workflows:** Grok 4.20 Non-Reasoning or Reasoning variants are better suited
- **Speed-focused single-agent tasks:** Grok 4.1 Fast Non-Reasoning provides fast tool calling without multi-agent overhead
- **Stable production deployments:** beta models introduce risk. Wait for general availability or use Grok 4.1 Fast models
- **Simple text generation:** general-purpose Grok models handle the task without multi-agent optimization

## Frequently asked questions

### What makes Grok 4.20 Multi-Agent different from other Grok 4.20 models?

Grok 4.20 Multi-Agent is purpose-built for multi-agent orchestration. While the reasoning and non-reasoning variants target individual agent tasks, this model is optimized for workflows where multiple agents coordinate and collaborate.

### What is the context window for Grok 4.20 Multi-Agent?

2M tokens.

### Is Grok 4.20 Multi-Agent in beta?

Yes. Grok 4.20 Multi-Agent is currently in beta. Behavior, pricing, or availability may change before general availability.

### What does Grok 4.20 Multi-Agent cost?

Current pricing is shown on this page. AI Gateway routes across providers, and rates may vary by provider.

### How do I authenticate with Grok 4.20 Multi-Agent through Vercel AI Gateway?

Use your Vercel AI Gateway API key with `spacexai/grok-4.20-multi-agent` as the model identifier. No separate SpaceXAI account is needed for gateway-managed access.

### Can I use Grok 4.20 Multi-Agent for single-agent workflows?

You can, but it's optimized for multi-agent patterns. For single-agent use cases, the Grok 4.20 Non-Reasoning or Reasoning variants are better choices.

### Does Vercel AI Gateway support Zero Data Retention for Grok 4.20 Multi-Agent?

Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

## Links

- [Model page](https://vercel.com/ai-gateway/models/grok-4.20-multi-agent)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://docs.x.ai/developers/models/grok-4.20-multi-agent-beta-0309)
- [Provider pricing](https://docs.x.ai/developers/models)
