xAI: Grok 4.20 Multi-Agent
Grok 4.20 Multi-Agent is a variant of SpaceXSI’s Grok 4.20 designed for collaborative, agent-based workflows.
- Input
- 450,912 Toman/M tokens
- Output
- 901,824 Toman/M tokens
- Context
- 2M
- Max output
- 1.8M
- Published
- Mar 31, 2026
- Maker
- xAI
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period. Up to 200K tokens.
| Plan | Input | Output |
|---|---|---|
| Free | 450,912 | 901,824 |
| Pro | 432,432 | 864,864 |
| Max | 413,952 | 827,904 |
Long prompts
This model costs more when a request's prompt is long: once the prompt reaches the size below, the whole request is billed at the higher price (as its provider bills it). Toman per million tokens, per plan.
| Plan | Input | Output |
|---|---|---|
| Free | 901,824 | 1,803,648 |
| Pro | 864,864 | 1,729,728 |
| Max | 827,904 | 1,655,808 |
Capabilities
- Text
- Vision
- JSON
- Reasoning
What it takes and gives
- Text
- Image
- File (PDF)
- Text
Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.
Call it
Pass x-ai/grok-4.20-multi-agent as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
