# xAI AI models on SandBase

> Grok language models and Grok Imagine visual generation.

Source: https://www.sandbase.ai/models/xai

- Models on SandBase: 20
- Language models: 4
- Image models: 5
- Video models: 10
- Audio models: 1
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Language models

- [xAI Grok 4.3](https://www.sandbase.ai/models/x-ai/grok-4.3.md): `x-ai/grok-4.3`; $1.25 per 1M input tokens, $2.50 per 1M output tokens; 1M context
- [xAI Grok 4.5](https://www.sandbase.ai/models/x-ai/grok-4.5.md): `x-ai/grok-4.5`; $1.50 per 1M input tokens, $4.50 per 1M output tokens (25% off list price); 500K context
- [xAI Grok 4.6](https://www.sandbase.ai/models/x-ai/grok-4.6.md): `x-ai/grok-4.6`; $1.50 per 1M input tokens, $4.50 per 1M output tokens (25% off list price); 500K context
- [xAI Grok 4.7](https://www.sandbase.ai/models/x-ai/grok-4.7.md): `x-ai/grok-4.7`; $1.50 per 1M input tokens, $4.50 per 1M output tokens (25% off list price); 500K context

## Image models

- [xAI Grok Imagine Image 2.0 Edit](https://www.sandbase.ai/models/xai/grok-imagine-image/2.0/edit.md): `xai/grok-imagine-image/2.0/edit`; From $0.06 per run
- [xAI Grok Imagine Image 2.0 Text to Image](https://www.sandbase.ai/models/xai/grok-imagine-image/2.0/text-to-image.md): `xai/grok-imagine-image/2.0/text-to-image`; From $0.06 per run
- [xAI Grok Imagine Image Edit](https://www.sandbase.ai/models/xai/grok-imagine-image/edit.md): `xai/grok-imagine-image/edit`; From $0.02 per run
- [xAI Grok Imagine Image Quality Edit](https://www.sandbase.ai/models/xai/grok-imagine-image/quality/edit.md): `xai/grok-imagine-image/quality/edit`; From $0.05 per run
- [xAI Grok Imagine Image Quality Text to Image](https://www.sandbase.ai/models/xai/grok-imagine-image/quality.md): `xai/grok-imagine-image/quality`; From $0.05 per run

## Video models

- [xAI Grok Imagine Video 1.5 Image to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/image-to-video.md): `xai/grok-imagine-video/1.5/image-to-video`; From $0.85 per run
- [xAI Grok Imagine Video 1.5 Lite Image to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/lite/image-to-video.md): `xai/grok-imagine-video/1.5/lite/image-to-video`; From $0.19 per run
- [xAI Grok Imagine Video 1.5 Lite Text to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/lite/text-to-video.md): `xai/grok-imagine-video/1.5/lite/text-to-video`; From $0.18 per run
- [xAI Grok Imagine Video 1.5 Reference to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/reference-to-video.md): `xai/grok-imagine-video/1.5/reference-to-video`; From $1.13 per run
- [xAI Grok Imagine Video 1.5 Text to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/text-to-video.md): `xai/grok-imagine-video/1.5/text-to-video`; From $0.84 per run
- [xAI Grok Imagine Video Edit](https://www.sandbase.ai/models/xai/grok-imagine-video/video-edit.md): `xai/grok-imagine-video/video-edit`; From $0.30 per run
- [xAI Grok Imagine Video Extend](https://www.sandbase.ai/models/xai/grok-imagine-video/video-extend.md): `xai/grok-imagine-video/video-extend`; From $0.36 per run
- [xAI Grok Imagine Video Image to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/image-to-video.md): `xai/grok-imagine-video/image-to-video`; From $0.42 per run
- [xAI Grok Imagine Video Reference to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/reference-to-video.md): `xai/grok-imagine-video/reference-to-video`; From $0.56 per run
- [xAI Grok Imagine Video Text to Video](https://www.sandbase.ai/models/xai/grok-imagine-video/text-to-video.md): `xai/grok-imagine-video/text-to-video`; From $0.30 per run

## Audio models

- [xAI Text to Speech](https://www.sandbase.ai/models/xai/grok-tts.md): `xai/grok-tts`; From $0.01 per run

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
