🌐
xAI
docs.x.ai › docs › models
Models and Pricing
That means a search using 4 sources costs $0.10 while a search using 1 source is $0.025. A source (e.g. Web) may return multiple citations, but you will be charged for only one source. The number of sources used can be found in the response object, which contains a field called response.us...
🌐
xAI
x.ai › api
API | xAI
1 month ago - Cost · $0.39$0.39 · Large contexts are charged at $6.00 for input and $30.00 for output · View all · xAI is rapidly accelerating its progress in building advanced AI. January 06, 2026 · READ · The best assistant in the world is now Enterprise ...
Discussions

xAI releases Grok 3 API with better performance and similar pricing to Claude 3.7 Sonnet and Grok 3 mini being competitive to 4o mini
what does this mean for users? More on reddit.com
🌐 r/grok
10
79
August 26, 2024
xAI discontinuing their free API tier ($150 credits) by May 2025
How do we get those credits? Are they still available? More on reddit.com
🌐 r/grok
21
42
May 13, 2025
Free xAI Grok API Key/Credits in 2024
I haven’t used the grok models, but is it true that they are a lot less restrictive than the open AI and the antropic ones ? because to me that would be important thing I’m sick of being curtailed by the random guardrails. More on reddit.com
🌐 r/LLMDevs
11
8
November 6, 2024
copilot and Xai API key has only cost me $37.95 in 2 months
🌐 r/vibecoding
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
September 30, 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.
🌐
IntuitionLabs
intuitionlabs.ai › home › articles › llm api pricing comparison (2025): openai, gemini, claude
LLM API Pricing Comparison (2025): OpenAI, Gemini, Claude | IntuitionLabs
3 days ago - In comparative terms, Grok’s “standard” tier input cost ($3) is double Gemini’s ($1.25) but on par with Claude Sonnet’s ($3). Its “fast” mode ($5) is closer to OpenAI’s GPT-4o ($5), but output costs remain extreme ($25/M vs $20/M). ...
🌐
xAI
x.ai
Welcome | xAI
xAI Raises $20B Series E: xAI is rapidly accelerating its progress in building advanced AI.
Find elsewhere
🌐
IntuitionLabs
intuitionlabs.ai › home › articles › ai api pricing comparison (2025): grok, gemini, chatgpt & claude
AI API Pricing Comparison (2025): Grok, Gemini, ChatGPT & Claude | IntuitionLabs
3 weeks ago - 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]). ...
🌐
xAI
x.ai › news › grok-4-1-fast
Grok 4.1 Fast and Agent Tools API | xAI
November 19, 2025 - 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.
🌐
Medium
medium.com › @CherryZhouTech › xai-launches-grok-voice-agent-api-at-0-05-per-minute-6d0d6ddd553d
xAI Launches Grok Voice Agent API at $0.05 Per Minute | by CherryZhou | Dec, 2025 | Medium
1 month ago - xAI Launches Grok Voice Agent API at $0.05 Per Minute xAI’s new Grok Voice Agent API delivers human-like voice AI with low price. xAI has officially launched the Grok Voice Agent API, opening its …
🌐
InfoQ
infoq.com › news › 2024 › 11 › xai-grok-api
xAI Unveils a New API Service for Grok Models - InfoQ
November 5, 2024 - The Grok-beta can handle 131,072 tokens for both input and output, while OpenAI's GPT-4o supports 1 million tokens. Grok-beta costs $5 for 131,072 input tokens, compared to GPT-4o's $2.50 for 1 million.
🌐
X
x.com › xai
xAI (@xai) / X
May 25, 2023 - xAI’s new Grok Voice Agent is the new leading Speech to Speech model, surpassing Gemini 2.5 Flash Native Audio and GPT Realtime in our Big Bench Audio benchmark The new model achieves a score of 92.3% on Big Bench Audio, just ahead of the previous leader, Google’s Gemini 2.5Show more ... Today, we're excited to launch the Grok Voice Agent API, empowering developers to build voice agents that speak dozens of languages, call tools, and search realtime data.
🌐
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 ...
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.
🌐
AIbase
aibase.com › news › www.aibase.com › news › 12604
Elon Musk's xAI Finally Launches Grok API! Pricing is ...
October 22, 2024 - However, this long-awaited API ... one model named "grok-beta." In terms of pricing, input tokens are charged at $5 per million tokens (approximately 750,000 words), while output tokens are priced at $15 per million tokens....
🌐
Apidog
apidog.com › blog › xai-grok-api
Overview of xAI Grok & How to Use Its API
August 1, 2025 - As a completely free API management tool, Apidog also offers features like API design, documentation, mock servers, and test automation, so let's get started for free by clicking the button below!
🌐
Latenode
latenode.com › home › blog about no-code integrations with latenode - the ultimate no-code automation platform › undefined › xai grok (grok 2, grok 3) in ai technology & language models - explore no-code automation with latenode › complete guide to xai's grok: api documentation and implementation
Complete Guide to xAI's Grok: API Documentation and ...
February 24, 2025 - Learn how to integrate Grok's API with clear, practical examples. Here's a Python example of a web crawler built with Grok-2 and Firecrawl: import os from dotenv import load_dotenv from firecrawl import Crawler from xai_sdk import Client load_dotenv() grok_api_key = os.getenv('GROK_API_KEY') client = Client(api_key=grok_api_key) crawler = Crawler( objective="Extract product information", max_pages=100, output_format="json" ) def analyze_content(content): response = client.chat.completions.create( model="grok-beta", messages=[ {"role": "system", "content": "Extract key product details"}, {"role": "user", "content": content} ], temperature=0.2 ) return response.choices[0].message.content
🌐
Mashable
mashable.com › home › tech
Elon Musk's xAI launched its own API | Mashable
October 21, 2024 - The new API plan was meant to bring developers back to X after Musk raised the price from $0 to a $42,000 per month enterprise plan.
🌐
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 ...
🌐
xAI
x.ai › news › api
API Public Beta | xAI
November 4, 2024 - 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.