xAI Grok
xAI's Grok series: text chat models, and the Grok Imagine image and video generation models.
Groups
| Group | Price |
|---|---|
grok | Pay 10% of official price |
All Grok models are in the grok group.
Recommended API
| Type | API |
|---|---|
| Text | Chat Completions |
| Image | Image generation, Image edits |
| Video | Video generation |
bash
curl https://api.codingrouter.ai/v1/chat/completions \
-H "Authorization: Bearer $CODINGROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4.7", "messages": [{"role": "user", "content": "What is worth learning today?"}]}'Representative models
| Model | Good for |
|---|---|
grok-4.7 | Chat, writing and coding assistance |
grok-imagine-image-2.0 | Text-to-image and image editing, billed per call |
grok-imagine-video-1.5 | Text-to-video, image-to-video, first and last frames, multi-image reference |
grok-imagine-video-1.5-lite | Text-to-video and image-to-video, faster |
For the full list and prices see the model square.
