Grok 4.20 Multi-Agent

xAI Generally Available

Grok 4.20 Multi-Agent is a variant of xAI’s Grok 4.20 designed for collaborative, agent-based workflows. Multiple agents operate in parallel to conduct deep research, coordinate tool use, and synthesize information...

Context
2M
tokens
Input
$2.00
per MTok
Output
$6.00
per MTok

About

Grok 4.20 Multi-Agent is a variant of xAI’s Grok 4.20 designed for collaborative, agent-based workflows. Multiple agents operate in parallel to conduct deep research, coordinate tool use, and synthesize information...

Modalities

Input
Text Vision file
Output
Text

Code Examples

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.20-multi-agent",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in one sentence." }
    ]
  }'

API Parameters

Name Type Description
include_reasoning boolean Include the model's internal reasoning trace in the response.
logprobs boolean Return log probabilities for each output token.
max_tokens deprecated integer Deprecated. Use max_completion_tokens.
reasoning object Configuration for extended-thinking / reasoning mode.
response_format one of Constrain output to a JSON schema or an enum (structured outputs).
seed integer Deterministic seed for sampling. Same seed + same prompt produces identical output.
structured_outputs boolean Enable JSON-schema-constrained output.
temperature number Sampling temperature; higher values produce more random output. 0 is deterministic.
top_logprobs integer Return the top-N most likely tokens at each step (requires logprobs: true).
top_p number Nucleus sampling: consider only tokens whose cumulative probability ≥ top_p.

Standard OpenAI-compatible parameters. Consult the provider docs for model-specific behaviour.