Grok API pricing
12 xAI models live through one API key and one balance, priced per million tokens.
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 model for agentic tool use, reasoning, coding, and live assistance
Grok model for agentic tool use, reasoning, coding, and live assistance
xAI's Grok for chat, coding, agentic tools, and lower hallucination risk
xAI's Grok model for chat, coding, agentic tools, and lower hallucination risk
xAI's frontier model for long-running agents, coding, knowledge work, and visual projects
xAI's frontier model for long-running agents, coding, knowledge work, and visual projects
Fast Grok coding model tuned for agentic engineering and iterative edits
Image model for prompt-driven generation, editing, and visual design workflows
Image model for prompt-driven generation, editing, and visual design workflows