Back to all models

xAI models and API prices

CupAI offers 9 xAI models (text, video). The cheapest text model is Grok 4.1 Fast (Non-Reasoning): $0.2 per 1M input tokens and $0.5 per 1M output tokens. Grok 4.20 (Non-Reasoning) has the largest context window, 1M tokens. All of them work with one OpenAI-compatible API key and payment in toman.

Builder of the Grok family: fast reasoning models with very large context windows, live search grounding and an image and video generation line.

9 models
xAI
Text
500K tokens
Grok 4.6
grok-4.6

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

  • Streaming
  • System prompt
  • Vision
Input · per 1M
602,000 Toman
Output
1,806,000 Toman
Cache (read)
602,000 Toman
Cache (write)
602,000 Tomansame as input
xAI
Text
500K tokens
Grok 4.7
grok-4.7

xAI's frontier model for coding, agentic tasks, and knowledge work; 500K context, text and image input.

  • Streaming
  • System prompt
  • Vision
Input · per 1M
602,000 Toman
Output
1,806,000 Toman
Cache (read)
150,500 Toman
Cache (write)
602,000 Tomansame as input
xAI
Text
500K tokens
Grok 4.5
grok-4.5

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

  • Streaming
  • System prompt
  • Vision
Input · per 1M
602,000 Toman
Output
1,806,000 Toman
Cache (read)
602,000 Toman
Cache (write)
602,000 Tomansame as input
xAI
Text
1M tokens
Grok 4.20 (Non-Reasoning)
grok-4.20-0309-non-reasoning

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

  • Streaming
  • System prompt
  • Vision
Input · per 1M
376,250 Toman
Output
752,500 Toman
Cache (read)
376,250 Toman
Cache (write)
376,250 Tomansame as input
xAI
Text
1M tokens
Grok 4.20 (Reasoning)
grok-4.20-0309-reasoning

Reasoning Grok for document-heavy analysis and long-horizon tool use

  • Streaming
  • System prompt
  • Vision
Input · per 1M
376,250 Toman
Output
752,500 Toman
Cache (read)
376,250 Toman
Cache (write)
376,250 Tomansame as input
xAI
Text
1M tokens
Grok 4.3
grok-4.3

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

  • Streaming
  • System prompt
  • Vision
Input · per 1M
376,250 Toman
Output
752,500 Toman
Cache (read)
376,250 Toman
Cache (write)
376,250 Tomansame as input
xAI
Video
Down
Grok Imagine Video 1.5
grok-imagine-video-1.5

xAI's image-to-video model: one source image plus a prompt, 1-15 seconds at 480p or 720p.

  • Vision
Per video
903,000 Toman – 1,580,250 Toman
xAI
Text
128K tokens
Grok 4.1 Fast (Non-Reasoning)
grok-4-1-fast-non-reasoning

Fast Grok model for responsive chat, reasoning, and tool-assisted work

  • Streaming
  • System prompt
  • Vision
Input · per 1M
60,200 Toman
Output
150,500 Toman
Cache (read)
60,200 Toman
Cache (write)
60,200 Tomansame as input
xAI
Text
128K tokens
Grok 4.1 Fast (Reasoning)
grok-4-1-fast-reasoning

Fast Grok model for responsive chat, reasoning, and tool-assisted work

  • Streaming
  • System prompt
  • Vision
Input · per 1M
60,200 Toman
Output
150,500 Toman
Cache (read)
60,200 Toman
Cache (write)
60,200 Tomansame as input

Common questions about xAI on CupAI