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.
Videos
12:11
How to use Grok API with Free Credits!!! - YouTube
01:13
How to Generate the xAI Grok API Key - YouTube
04:16
How to install and get the Grok API: Detailed tutorial ($25 free) ...
00:56
How To Get Your Grok API Key Super Fast! - YouTube
01:48
How to Create Your GROK API Key Now! - YouTube
03:43
Grok xAI API in Python - Getting Started - YouTube
Elephas
elephas.app โบ blog โบ how-to-get-grok-api-key
How to Get Grok API Key (Step by Step Guide) | 2026
2 weeks ago - You can now access and use the Grok API key, you can now use the full potential of Grok through their Python SDK. As of now, there is no specific paid tier for the Grok API. You can use the Grok API and the usual Grok chat interface with X (formerly Twitter). With higher-paid plans, you get higher rate limits too. You can access the chat interface of Grok directly from the X platform and the Grok API through the Grok Python SDK. Here are the price details of the X premium, which can be used to access the Grok API keys.
Puter
developer.puter.com โบ tutorials โบ free-unlimited-grok-api
Free, Unlimited Grok API
December 14, 2025 - In this tutorial, we'll show you how to use Grok through Puter.js to create engaging and intelligent applications. Puter is the pioneer of the "User-Pays" model, which allows developers to incorporate AI capabilities into their applications while each user will cover their own usage costs. This model enables developers to access advanced AI capabilities for free, without any API keys, usage costs, or server-side setup.
Grok API
grok-api.apidog.io โบ introduction-933934m0
Introduction - Grok API
Build with Grok 3To access the Grok 3 models via API, please create an xAI account and an API key.
Reddit
reddit.com โบ r/grok โบ does grok api still have a free tier?
r/grok on Reddit: Does Grok api still have a free tier?
May 30, 2025 -
Some rate-limited free-tier or some initial credits, whatever
If there still is such a thing, how do i get it? I couldn't find it in the website, yet grok/perplexity/gpt claim it does have it. They all never work for these kinds of questions tbh (documentation and pricing)
Top answer 1 of 3
3
I think you only get 10 responses per day of you donโt pay; and it wonโt deepseach or think but should work
2 of 3
1
Hey u/Blender-Fan , welcome to the community! Please make sure your post has an appropriate flair. Join our r/Grok Discord server here for any help with API or sharing projects: https://discord.gg/4VXMtaQHk7 I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Reddit
reddit.com โบ r/grok โบ what does everyone think of the grok api pricing?
r/grok on Reddit: What does everyone think of the Grok API pricing?
May 30, 2025 -
Iโve been playing around with the Grok API for a side project recently, and Iโm shocked at how expensive it is to use. I also feel like its price to performance is not really competitive.
My little app Grok has only 15 users, but is costing me about 50 cents a day to keep running. That nuts for something Iโm offering for free! Looking for feedback too. I'm having fun developing it.
Top answer 1 of 5
3
Maybe restrict your model to Grok 3 Mini? I can't think of any reason to use Grok 3 when the cost is so lopsided.
2 of 5
1
Hey u/Track6076 , welcome to the community! Please make sure your post has an appropriate flair. Join our r/Grok Discord server here for any help with API or sharing projects: https://discord.gg/4VXMtaQHk7 I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
DataCamp
datacamp.com โบ tutorial โบ grok-4-api
Grok 4 API: A Step-by-Step Guide With Examples | DataCamp
July 15, 2025 - Although its context window size almost doubled in comparison to its predecessor, Grok 4 is priced exactly the same as the standard Grok 3 model. Youโll pay $3 for every million input tokens and $15 for every million output tokens. To access the API, youโll need to purchase credits.
BytePlus
byteplus.com โบ en โบ topic โบ 499378
Is the Grok API Free? Pricing & Features 2025
Vague pricing structures and unclear usage limits can derail a project before it even begins. This guide is designed to cut through that confusion. We will provide a clear, authoritative breakdown of the Grok API's pricing structure, explore any available free trial options for 2025, and detail its key features.
xAI
docs.x.ai โบ docs โบ models
Models and Pricing
โข Grok 4 does not have a reasoning_effort parameter. If a reasoning_effort is provided, the request will return an error. Requests which make use of xAI provided server-side tools are priced based on two components: token usage and server-side tool invocations.
xAI
docs.x.ai โบ docs โบ tutorial
The Hitchhiker's Guide to Grok | xAI
To learn how to use Grok vision for more advanced use cases, check out our Image Understanding Guide. As you use your API key, you will be charged for the number of tokens used.