xAI Grok API
xAI's Grok 4.7 API for text, reasoning, tools, image and video generation.
xAI Grok API: XAI's Grok API is pay-per-use; Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500k context, while voice, image and video endpoints are billed separately (data as of Nov 21, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is xAI Grok API free?
xAI Grok API: No subscription: Grok 4.7 $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500k context; voice $0.08/min speech-to-speech, TTS $15 per 1M characters, batch STT $0.10/hour and streaming $0.20/hour; images from $0.02 each and video from $0.02/sec (data as of Nov 21, 2026). Confirm the current number on the vendor page before you buy.
Frequently Asked Questions
Is xAI Grok API free?
No. xAI Grok API is a paid tool with no free tier listed, so a subscription is needed to use it.
How much does xAI Grok API cost?
No subscription: Grok 4.7 $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500k context; voice $0.08/min speech-to-speech, TTS $15 per 1M characters, batch STT $0.10/hour and streaming $0.20/hour; images from $0.02 each and video from $0.02/sec (data as of Nov 21, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check xAI Grok API's current pricing?
On xAI Grok API's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
Is the Grok API free?
No free API tier is published. Grok 4.7 is billed per token at $2.00 per 1M input and $6.00 per 1M output, with a 500k-token context. An X subscription is a separate consumer product and does not fund API calls. Budget from token volume, then add voice, image or video usage if you need those endpoints (data as of Nov 21, 2026).
What is Grok 4.7 good for?
xAI positions Grok 4.7 as its flagship for code and general work, with agentic tool calling, configurable reasoning and a 500k-token context. It is a hosted API, not an open-weight download. Treat vendor benchmarks as directional; test your own prompts for latency, refusal behavior and tool-call reliability before switching a production workflow.
Grok API vs OpenAI API?
At list prices, Grok 4.7 is $2 input and $6 output per 1M tokens, while OpenAI's flagship tiers are higher and its mini tiers are lower. Context length, rate limits and output quality differ by task, so the cheaper headline is not automatically the cheaper workload. Compare on cost per accepted answer, including retries and tool calls.
Does Grok include image and video?
The API exposes separate image and video endpoints, with images starting at $0.02 each and video at $0.02 per second, plus voice endpoints priced per minute or per character. Those are not included in the text-token rate. If your app generates media, model the per-asset cost separately or it will disappear inside a text-only estimate.
How does xAI Grok API compare with other tools in LLM APIs?
xAI Grok API is listed in the LLM APIs category, alongside 3 other tools we track here. 3 of those 3 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| xAI Grok API | Paid | No subscription: Grok 4.7 $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500k context; voice $0.08/min speech-to-speech, TTS $15 per 1M characters, batch STT $0.10/hour and streaming $0.20/hour; images from $0.02 each and video from $0.02/sec (data as of Nov 21, 2026) | Nov 21, 2026 |
| OpenAI API | Paid | GPT-5.5 $5/$30; GPT-5.4 $2.50/$15; GPT-5.4 mini $0.75/$4.50; GPT-5.4 nano $0.20/$1.25; cached input is 10% of input; no free API tier (data as of Nov 20, 2026) | Nov 20, 2026 |
| Anthropic API | Freemium | Per 1M input/output tokens: Sonnet 5.5 $2/$10, Opus 5.5 $4/$20, Haiku 5.5 $0.10/$0.50 up to 100K-token prompts, Fable 5.2 $8/$40; batch processing is 50% off (data as of Nov 21, 2026) | Nov 20, 2026 |
| Groq Cloud | Freemium | Free tier is 30 requests/min, 1,000 requests/day and 8,000 tokens/min on GPT OSS 20B/120B and Qwen3.8 27B; Safety GPT OSS 20B is 3 requests/min. Per 1M tokens: GPT OSS 20B $0.075/$0.30; GPT OSS 120B $0.15/$0.60; Qwen3.8 27B $0.80/$4.00; Llama 3.1 8B and 3.3 70B are Enterprise, contact sales (data as of Nov 20, 2026) | Nov 20, 2026 |
4 of these 4 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
xAI Grok API is a paid tool. Plan prices and any trial terms are set by the vendor — check the official site before subscribing.
Key pricing: No subscription: Grok 4.7 $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500k context; voice $0.08/min speech-to-speech, TTS $15 per 1M characters, batch STT $0.10/hour and streaming $0.20/hour; images from $0.02 each and video from $0.02/sec (data as of Nov 21, 2026)
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Tool Information
- Official Websitex.ai
- CategoryLLM APIs
- PricingPaid
- Price checkedNov 21, 2026
