# SpaceXAI: Grok 4.20 Multi-Agent — Use via Hanzo AI API

> Grok 4.20 Multi-Agent is a variant of SpaceXAI’s Grok 4.20 designed for collaborative, agent-based workflows. Multiple agents operate in par... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 2M. Get started free.

[Models](https://hanzo.ai/models)/[xAI](https://hanzo.ai/models/x-ai)/grok-4.20-multi-agent

# SpaceXAI: Grok 4.20 Multi-Agent

[xAI](https://hanzo.ai/models/x-ai)

Grok 4.20 Multi-Agent is a variant of SpaceXAI’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...

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

2M

Modalities

text

Input

$1.50 / M tokens

Output

$3.00 / M tokens

Status

available

Category

third-party

Model ID

x-ai/grok-4.20-multi-agent

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;x-ai/grok-4.20-multi-agent&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="x-ai/grok-4.20-multi-agent", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "x-ai/grok-4.20-multi-agent", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "x-ai/grok-4.20-multi-agent", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from xAI

[SpaceXAI: Grok 4.202MGrok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering...](https://hanzo.ai/models/x-ai/grok-4.20)[SpaceXAI: Grok 4.31MGrok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual...](https://hanzo.ai/models/x-ai/grok-4.3)[SpaceXAI: Grok 4.5500KGrok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.](https://hanzo.ai/models/x-ai/grok-4.5)[SpaceXAI: Grok 4.6500KGrok 4.6 is SpaceXAI&#x27;s smartest model with frontier performance on coding, knowledge work, and STEM.](https://hanzo.ai/models/x-ai/grok-4.6)[SpaceXAI: Grok Build 0.1256KGrok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding...](https://hanzo.ai/models/x-ai/grok-build-0.1)

[View all xAI models →](https://hanzo.ai/models/x-ai)

## Use SpaceXAI: Grok 4.20 Multi-Agent via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
