Skip to main content

Text model

Grok 4.20 Multi Agent

x-ai/grok-4.20-multi-agent

x-ai/grok-4.20-multi-agent is a language model from xAI you can call on the OceanToken API at $1.25 per 1M input tokens and $2.50 per 1M output tokens, with a 2M-token context window and up to 1.8M output tokens; it supports reasoning, image input.

At a glance

Model IDx-ai/grok-4.20-multi-agent
TypeText
PublisherxAI
Context window2,000,000 tokens
Max output1,800,000 tokens
Input price$1.25 per 1M tokens
Output price$2.50 per 1M tokens
Cached input price$0.20 per 1M tokens
Capabilitiesreasoning, image input
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
In the catalog since2026-03-31

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.20-multi-agent", "messages": [{"role": "user", "content": "Hello"}]}'

Compared with similar models

Text models on OceanToken closest to x-ai/grok-4.20-multi-agent in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
Grok 4.20 Multi AgentxAI2,000,000$1.25 / $2.50
Nova 2 Lite V1
amazon/nova-2-lite-v1
Amazon1M$0.30 / $2.50
Seed-2 1 Turbo
bytedance-seed/seed-2-1-turbo
ByteDance Seed262K$0.50 / $2.50
DeepSeek R1
deepseek/deepseek-r1
DeepSeek64K$0.70 / $2.50

More from xAI

All xAI models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.