SpaceXAI: Grok 4.20
x-ai/grok-4.20 — available through the Autonomous Relay Agents API, served by xAI.
SpaceXAI: Grok 4.20 has a 2,000,000-token context window and costs $1.25 per million input tokens and $2.50 per million output tokens, at the provider's list price on your own key.
- Context length
- 2,000,000 tokens
- Input
- $1.25 per M
- Output
- $2.50 per M
- Served by
- xai
- Input modalities
- text, image, file
This is a BYOK-only model: requests use your own provider key. Prices shown are the provider's list prices.
Call it
Any OpenAI-compatible client works: change the base URL and send this model id.
curl https://autonomousrelay.com/v1/chat/completions \
-H "Authorization: Bearer $AUTONOMOUS_RELAY_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.20", "messages": [{"role": "user", "content": "Hello"}]}'Compare
- Google: Gemini 3.5 Flash vs SpaceXAI: Grok 4.20
- SpaceXAI: Grok 4.20 vs Z.ai: GLM 5.3
- SpaceXAI: Grok 4.20 vs Z.ai: GLM Latest