---
title: XAI: Grok 4.20 Multi Agent API | Text Generation | ModelsLab
description: Build with XAI: Grok 4.20 Multi Agent API by X Ai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-4.20-multi-agent.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-4.20-multi-agent.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-21T09:25:34.046425Z
---

xAI: Grok 4.20 Multi-Agent
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.20-multi-agent/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/x-ai/x-ai-grok-4.20-multi-agent.md)

x-ai-grok-4.20-multi-agent x-ai Closed Source Model $4.000000 / call

xAI: Grok 4.20 Multi-Agent
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### xAI: Grok 4.20 Multi-Agent

x-ai x-ai-grok-4.20-multi-agent

Copy model ID

PricingInput $2.00 / 1M tokens

Output $6.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[![NVIDIA: Nemotron 3 Super](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/f5aa11e8-c649-4f27-ab5a-e44b46dcaff4.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-super-120b-a12b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron 3 Super

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-super-120b-a12b)

[![Qwen3.6 35B A3b Fp8](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/e26d69ab-40d2-47c3-b3ae-178976dbb2d7.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.6-35B-A3B-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3.6 35B A3b Fp8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.6-35B-A3B-FP8)

[![Gemma 3 1b it](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/e35ac3bb-880c-4977-a62c-b6cd1d8d5f14.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-1b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma 3 1b it

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-1b-it)

[![Qwen 2.5 Coder 32B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d69ed8fc-70f1-4897-a128-eaab5d246da8.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen)

 [Qwen 2.5 Coder 32B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.2-3B-Instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Meta Llama 3.2 3B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.2-3B-Instruct)

[![Qwen2.5 1.5B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b9618dee-6e25-4af3-a68c-e9a8a8dcef61.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-1.5B-Instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen2.5 1.5B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2.5-1.5B-Instruct)

[![Qwen 2 (7B)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/730d08fe-ed8a-4a03-811b-eba01713a480.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2-7B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen 2 (7B)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen2-7B)

[BE](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-ernie-4.5-21b-a3b-thinking)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Baidu: ERNIE 4.5 21B A3B Thinking

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-ernie-4.5-21b-a3b-thinking)

[![Inflection: Inflection 3 Pi](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/2a340233-f759-402d-84fd-7bd0d0d68205.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inflection-inflection-3-pi)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Inflection: Inflection 3 Pi

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inflection-inflection-3-pi)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-medium-3.1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mistral Medium 3.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-medium-3.1)

[![GLM 4.5V](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/db0fe438-2ba8-42ec-ad2b-4676acfc4a02.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/zai-org-GLM-4.5V)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [GLM 4.5V

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/zai-org-GLM-4.5V)

[![DeepSeek R1 Distill Qwen 14B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/3ed8dd8e-8bef-4bf5-b700-4a51c78f973a.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [DeepSeek R1 Distill Qwen 14B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)

[![Qwen3-VL-235B-A22B-Instruct-FP8](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/812b7433-d18d-4614-b435-fb6dee583a83.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-235B-A22B-Instruct-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3-VL-235B-A22B-Instruct-FP8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-235B-A22B-Instruct-FP8)

[![Qwen: Qwen3.6 27B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0221cc89-143a-4f98-8bbf-ce9589452b6f.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.6-27b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3.6 27B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.6-27b)

[![Deepseek Coder 33B Instruct](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/7c109cb4-7fa6-4f93-8910-44f2bf11c3da.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-deepseek-coder-33b-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Deepseek Coder 33B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-deepseek-coder-33b-instruct)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-plus)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Coder Plus

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-plus)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-next)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Coder Next

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-next)

[![Cogito V1 Preview Qwen 32B](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/3f03ddf0-e1ea-4aba-a763-8c5277aea069.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Cogito V1 Preview Qwen 32B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepcogito-cogito-v1-preview-qwen-32B)

About XAI: Grok 4.20 Multi-Agent
---

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...

### Technical Specifications

Model IDx-ai-grok-4.20-multi-agentCategoryLLM ModelsTaskText GenerationPrice$4.000000 per million tokensAddedMarch 31, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate XAI: Grok 4.20 Multi-Agent into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "x-ai-grok-4.20-multi-agent",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

XAI: Grok 4.20 Multi-Agent API costs $4.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from X Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

XAI: Grok 4.20 Multi-Agent FAQ
---

### What is XAI: Grok 4.20 Multi-Agent?

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...

### How do I use the XAI: Grok 4.20 Multi-Agent API?

You can integrate XAI: Grok 4.20 Multi-Agent into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "x-ai-grok-4.20-multi-agent" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does XAI: Grok 4.20 Multi-Agent cost?

XAI: Grok 4.20 Multi-Agent costs $4.000000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the XAI: Grok 4.20 Multi-Agent model ID?

The model ID for XAI: Grok 4.20 Multi-Agent is "x-ai-grok-4.20-multi-agent". Use this ID in your API requests to specify this model.

### Does XAI: Grok 4.20 Multi-Agent have a free tier?

Yes, ModelsLab offers a free tier that lets you try XAI: Grok 4.20 Multi-Agent and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-21*