Home / News / xAI Grok API pricing

xAI Grok API pricing: Grok 4.7, voice, image and video

xAI's model page features one text model, Grok 4.7, alongside dedicated voice, image and video APIs. At $6 per million output tokens, Grok 4.7 has the lowest output price of the flagship models we track.

$2 / $6Grok 4.7, in / out per 1M
500KContext window (tokens)
$0.08/minReal-time voice
$0.02Images, starting price

Published Dec 6, 2026 · Prices checked against official pages · Sources at the end

Grok 4.7: the one text model

xAI's documentation recommends Grok 4.7 for code, chat and “everything else”, describing it as its most capable model. It has a 500,000-token context window and configurable reasoning, and its knowledge cut-off is May 2026.

Prompt sizeInputCached inputOutput
Under 200K tokens$2.00$0.50$6.00
200K tokens or more$4.00$1.00$12.00

USD per 1M tokens. Once a request reaches 200K prompt tokens, the higher rate applies to all of its tokens. How long-context tiers work.

What typical apps pay on Grok 4.7

WorkloadPer month
Support chatbot$510
Docs search (RAG)$624
Coding agent$468
Summarizer$405

Standard rates, prompts under 200K tokens, 30-day month. Workloads are the presets in our calculator.

Because output is only three times input, Grok 4.7 is relatively cheaper for output-heavy work than models such as GPT-6.2 Sol or Claude Sonnet 5.5, where output costs five times input.

Voice API

ServicePrice
Speech to speech (real-time conversations)$0.08 per minute
Text to speech$15.00 per 1M characters
Speech to text, batch$0.10 per hour
Speech to text, streaming$0.20 per hour

See how these compare with OpenAI and ElevenLabs in our voice API comparison.

Image and video API

ServicePrice
Image generation and editing (Image 2.0, 1K / 2K)from $0.02 per image
Video generation (Video 1.5, 480p / 720p / 1080p)from $0.02 per second

xAI lists these as starting prices, so options such as higher resolution may cost more; see its image and video docs for the full rate card. At the starting rate, a 10-second clip is $0.20 and 100 images are $2.

Things to know

  • No live data by default. Grok has no knowledge of current events unless you enable xAI's server-side Web Search or X Search tools.
  • Batch API is supported on some models only; check each model's page.
  • Aliases: grok-4.7 points to the latest stable version, -latest to the newest, and dated names stay fixed for consistent results.

Sources