Grok 4.20
x-ai/grok-4.20SpaceXAI's Grok 4.20 flagship release with tool calling, multimodal input support, and a 2M-token context window. Content policy rejections can still be charged: SpaceXAI may pass through a $0.05 moderation-failure fee, or a $0.055 usage-guidelines violation fee, depending on which rejection upstream returns.
- Vision
- Reasoning
- Tool calling
- Structured output
Pricing
Includes our margin. Charged per request from your balance.
- Input
- $1.38 per 1M tokens
- Output
- $2.75 per 1M tokens
- Cache read
- $0.22 per 1M tokens
- Typical message
- $0.0044
Details
- Provider
- xAI
- Context
- 2M tokens
- Max output
- 131K tokens
- Added
- Mar 31, 2026
Use it from the API
Replace $HIDE_API_KEY with a key from the Developers page. Base URL https://hide.st/api/v1.
curl https://hide.st/api/v1/chat/completions \
-H "Authorization: Bearer $HIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "x-ai/grok-4.20",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'