xAI models: APIs and prices
7 models·Filter in the catalogue
Grok models with live search and reasoning, plus video. XiaoZhan AIhub offers 7 xAI models (Text generation, Image generation, Video generation). Call them with one API key through the OpenAI, Anthropic or Gemini SDK; prices are in credits (60 credits = ¥1) and every model page lists the full price.
Text generation3
- Grok 4.5
grok-4.5xAI Grok 4.5 flagship. 500K context, reasoning and multimodal input, and video generation right in the playground.
Input 0.2426Credits/K0.8088Credits·Output 0.7279Credits/K2.4264Credits - Grok 4.6
grok-4.6xAI Grok 4.6 flagship. 500K context, reasoning and multimodal input, and video generation right in the playground.
Input 0.2426Credits/K0.8088Credits·Output 0.7279Credits/K2.4264Credits - Grok 4.7
grok-4.7xAI Grok 4.7, the latest flagship. 500K context, reasoning, image and video understanding, and video generation right in the playground.
Input 0.2426Credits/K0.8088Credits·Output 0.7279Credits/K2.4264Credits
Image generation2
- Grok Imagine (Image)
grok-imagine-imagexAI Grok Imagine image generation (standard). /v1/images/generations.
per image 18Credits - Grok Imagine (Image · Quality)
grok-imagine-image-qualityxAI Grok Imagine image generation (high quality). /v1/images/generations.
per image 18Credits
Video generation2
- per second 6Credits
- Grok Imagine Video 1.5
grok-imagine-video-1.5-previewxAI Grok Imagine 1.5 video generation (asynchronous task; text-to-video, image-to-video and multi-image reference).
per second 6Credits
FAQ
- How do I call xAI models?
- Create an API key on XiaoZhan AIhub, point your SDK's base_url at https://api.dflop.top/v1 and put the model ID from the list above in the model field. The OpenAI, Anthropic and Gemini SDKs all work.
- How are xAI models billed?
- Each model is billed its own way: text models per input and output token, image models per image, video models per second or per token. Prices are in credits (60 credits = ¥1); each model page lists the full price.