🌐
xAI
docs.x.ai › docs › models
Models and Pricing
Requests which make use of xAI provided server-side tools are priced based on two components: token usage and server-side tool invocations.
🌐
xAI
x.ai › api
API | xAI
The world's best model, at your fingertips. ... Our latest image generation model capable of generating multiple images from text prompt. ... All prices are per million tokens or as stated.
🌐
IntuitionLabs
intuitionlabs.ai › home › articles › ai api pricing comparison (2025): grok, gemini, chatgpt & claude
AI API Pricing Comparison (2025): Grok, Gemini, ChatGPT & Claude | IntuitionLabs
December 3, 2025 - For example, xAI’s Grok 4.1 models charge only $0.20 per 1 million input tokens and $0.50 per 1 million output tokens ([1]), whereas the latest OpenAI ChatGPT (GPT-4o) API is priced at $5.00 per 1 M input and $15.00 per 1 M output tokens ([2]).
People also ask

What are "tokens" and how do they affect xAI pricing for API usage?
Tokens are small units of text, roughly four characters in English, that large language models process. For API usage, you are billed for both input tokens (the text you send to the model) and output tokens (the AI's generated response), with output tokens typically being more expensive due to higher computational requirements.
🌐
eesel.ai
eesel.ai › blog › xai-pricing
xAI pricing explained: A complete guide for 2025
How does xAI pricing for its API models compare to other major providers like OpenAI?
On a token-for-token basis, xAI's foundational models like Grok-2 are competitive, often slightly cheaper on input tokens than OpenAI's very popular GPT-4o. Grok Vision also offers competitive xAI pricing compared to some multimodal alternatives available from other providers.
🌐
eesel.ai
eesel.ai › blog › xai-pricing
xAI pricing explained: A complete guide for 2025
Beyond the listed token rates, what are the hidden costs associated with xAI pricing when using raw APIs?
Hidden costs can include significant expenses for developer salaries to build and maintain solutions, infrastructure costs for hosting your application, and the complexity of integrating the AI with existing business tools. Additionally, unpredictable usage volumes can lead to rollercoaster billing that makes budgeting difficult.
🌐
eesel.ai
eesel.ai › blog › xai-pricing
xAI pricing explained: A complete guide for 2025
🌐
Eesel AI
eesel.ai › blog › xai-pricing
xAI pricing explained: A complete guide for 2025
A complete breakdown of xAI pricing for Grok models. Compare API and subscription costs to competitors and see how integrated platforms can offer better value.
🌐
Techloy
techloy.com › xai-releases-grok-4-fast-with-free-access-and-api-pricing-details
xAI Releases Grok 4 Fast With Free Access and API Pricing Details
September 22, 2025 - The pricing structure for these users is tiered, starting at $0.20 per million input tokens for smaller requests, rising to $0.40 once inputs exceed 128,000 tokens. Output tokens cost between $0.50 and $1.00 per million, depending on size, while ...
🌐
InfoQ
infoq.com › news › 2024 › 11 › xai-grok-api
xAI Unveils a New API Service for Grok Models - InfoQ
November 5, 2024 - For output, Grok-beta charges $15 for its limited token count, while GPT-4o costs $10 for 1 million tokens. Additionally, OpenAI provides Batch API pricing that is at least 50% cheaper than standard API requests.
🌐
xAI
x.ai › news › grok-4-1-fast
Grok 4.1 Fast and Agent Tools API | xAI
We’re releasing two variants of Grok 4.1 Fast on the API: ... We’ve partnered with OpenRouter to make the Grok 4.1 Fast models available for free. We’re offering all agentic tools via the xAI Agent Tools API completely free.
🌐
Pricepertoken
pricepertoken.com › pricing-page › provider › xai
Xai API Pricing (Updated 2025) – All Models & Token Costs
Complete Xai API pricing guide for 2025. Compare all models with per-token costs, context lengths, and pricing examples.
Find elsewhere
🌐
Medium
cagrisarigoz.medium.com › xai-launches-open-api-with-25-monthly-credits-to-attract-developers-c7ed41ba7607
xAI Launches Open API with $25 Monthly Credits to Attract Developers
November 6, 2024 - The API is now publicly available, providing $25 free credits for the next two months, totaling $50. xAI’s API pricing is set at $5 per million input tokens and $15 per million output tokens.
🌐
xAI
x.ai › news › api
API Public Beta | xAI
Starting today, developers can build on our Grok foundation models using our newly released API. We will run a public beta program until the end of 2024 during which everyone will get $25 of free API credits per month.
🌐
Solvimon
solvimon.com › pricing-guides › openai-versus-xai
OpenAI versus xAI - Solvimon | All-in-one billing and monetization platform
xAI adopts a streamlined pricing strategy with fewer tiers and less publicly detailed API pricing. This simplicity can be advantageous for users seeking straightforward options without navigating complex pricing structures.
🌐
Data Studios
datastudios.org › post › xai-grok-4-1-subscriptions-free-access-supergrok-plans-heavy-tier-api-pricing-structure-and-use
xAI Grok 4.1 Subscriptions: Free Access, SuperGrok Plans, Heavy Tier, API Pricing Structure and Use-Case Alignment
December 11, 2025 - SuperGrok Heavy, priced around 300 USD per month, delivers the highest consumer-level access to xAI’s capabilities, offering significantly larger message budgets, enhanced conversational depth and prioritized access to fast or high-capacity ...
🌐
Apidog
apidog.com › blog › grok-4-pricing
How Much Will Grok 4 Cost and What Should Developers Expect from xAI's Latest Model
July 10, 2025 - Based on official xAI announcements, Grok 4 pricing follows a clear tier structure with distinct value propositions for different user segments. The API pricing model charges $3.00 per 1M input tokens and $15.00 per 1M output tokens, with cached ...
🌐
Laozhang
blog.laozhang.ai › ai-tools › grok-4-api-free-access-alternatives-pricing-analysis-cost-effective-solutions-2025
Grok 4 API Free Access: Alternatives, Pricing Analysis & Cost-Effective Solutions 2025 – LaoZhang-AI
Understanding Grok 4’s pricing ... trillion parameter model with real-time data integration. The base pricing stands at $0.06 per 1,000 input tokens and $0.18 per 1,000 output tokens, positioning Grok 4 among the most expensive AI APIs available in 2025....
🌐
Costgoat
costgoat.com › pricing › grok-api
Grok API Pricing Calculator & Cost Guide (Jan 2026)
December 2, 2025 - Common questions about Grok API ... model: Light use (personal projects) $5-30/month with Grok 4.1 Fast, Medium use (small apps) $30-150/month, Heavy use (production apps) $150-800/month, Enterprise $800+/month....
🌐
X
x.com › xai › status › 1969183335797715149
xAI on X: "For a limited time, Grok 4 Fast will be available for FREE on OpenRouter and Vercel AI Gateway. Grok 4 Fast is also generally available via the xAI API, with pricing starting at $0.20 / 1M input tokens and $0.50 / 1M output tokens. https://t.co/4DR0iniFqm" / X
For a limited time, Grok 4 Fast will be available for FREE on OpenRouter and Vercel AI Gateway. Grok 4 Fast is also generally available via the xAI API, with pricing starting at $0.20 / 1M input tokens and $0.50 / 1M output tokens.