Description
Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: xAI: Grok 4.20 (x-ai/grok-4.20)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "x-ai/grok-4.20",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the xAI: Grok 4.20 model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 2$ / 1M tokens
- Output: 6$ / 1M tokens
Token Limits
- Max Output: 2,000,000 tokens
- Max Context: 2,000,000 tokens
Subscription Tiers
- free
- pro
- ultimate