What this model error usually means
xAI: Grok 4.20 returning 400 / context length exceeded means you should first confirm whether model ID x-ai/grok-4.20 is visible for this xAI key, then separate permission, context, capability, rate limit, or route issues.
- Model: x-ai/grok-4.20
- Provider: xAI
- Status code: 400