Skip to content
Rapid Router
All models

Grok API pricing

12 xAI models live through one API key and one balance, priced per million tokens.

12
Models live
$1.00/M
Lowest input price
2M
Largest context

Every xAI model below is callable right now through Rapid Router with one API key. The price next to each model is the provider's list price per million tokens; it is exactly what your balance is debited. Our platform fee is charged once, when you buy credits, so there is nothing added per request.

To use a xAI model, point the OpenAI SDK (or any OpenAI-compatible client) at https://rapidrouter.ai/api/v1, set the model string to the id shown in grey, and send the same request you send today.

Grok 4.20Longest contextVisionReasoningx-ai/grok-4.20

Grok model for agentic tool use, reasoning, coding, and live assistance

2M context$1.25/M in$2.50/M out4.0s100% ok6mo ago
Grok 4.20 Non-ReasoningLongest contextVisionToolsx-ai/grok-4.20-non-reasoning

Grok model for agentic tool use, reasoning, coding, and live assistance

2M context$1.25/M in$2.50/M out2.4s100% ok7mo ago
Grok 4.3VisionReasoningToolsx-ai/grok-4.3

xAI's Grok for chat, coding, agentic tools, and lower hallucination risk

1M context$1.25/M in$2.50/M out1.9s100% ok6mo ago
Grok 4.5VisionReasoningToolsx-ai/grok-4.5

xAI's Grok model for chat, coding, agentic tools, and lower hallucination risk

500K context$2.00/M in$6.00/M out807ms100% ok3mo ago
Grok 4.6VisionReasoningToolsx-ai/grok-4.6

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

500K context$2.00/M in$6.00/M out2.9s100% ok2mo ago
Grok 4.7VisionReasoningToolsx-ai/grok-4.7

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

500K context$2.00/M in$6.00/M out25d ago
Grok Build 0.1VisionReasoningToolsx-ai/grok-build-0.1

Fast Grok coding model tuned for agentic engineering and iterative edits

256K context$1.00/M in$2.00/M out1.6s100% ok6mo ago
Grok Imagine ImageVisionx-ai/grok-imagine-image

Image model for prompt-driven generation, editing, and visual design workflows

16K context$0.02 per image6.4s100% ok8mo ago
Grok Imagine Image 2.0Visionx-ai/grok-imagine-image-2.0

Image model for prompt-driven generation, editing, and visual design workflows

8K context$0.04 per image8.9s100% ok2mo ago
Grok Imagine Image Qualityx-ai/grok-imagine-image-quality
$0.05 per image4.7s100% ok
Grok Imagine Videox-ai/grok-imagine-video
$0.25 per video
Grok Imagine Video 1.5x-ai/grok-imagine-video-1.5
$0.40 per video