🌐
xAI
x.ai › api
API | xAI
1 month ago - Our API is compatible with OpenAI and Anthropic’s SDKs. Migrating is as easy as generating an API key and changing a URL.Start building
Grok
Meet Grok by xAI: your truth-seeking AI companion for honest answers and insightful analysis.
News
Learn more about our latest releases and company updates.
Careers
We are a team of AI technologists and business leaders on a mission to build AI systems that can help humanity understand the world better.
Colossus
We’re running the biggest supercomputer in the world. From start to finish, Colossus was built in 122 days—outpacing every estimate. It’s the most powerful AI training system out there, and it’s expected to double in size in a matter of months.
🌐
Puter
developer.puter.com › tutorials › free-unlimited-grok-api
Free, Unlimited Grok API
December 14, 2025 - 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 ...
Discussions

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
How do I get free ai API keys to use for my projects as a startup
Pretty much every AI provider I know of requires you to pay for API access. What are you looking for in an AI? Do you need just a general purpose LLM? More on reddit.com
🌐 r/FreeCodeCamp
18
18
May 10, 2025
🌐
Merge.dev
merge.dev › blog › grok-api-key
How to get your Grok API key (5 steps)
January 2, 2025 - Learn about each step you'll need to take to generate your API key for any of xAI's Grok models.
🌐
xAI
docs.x.ai › docs › tutorial
The Hitchhiker's Guide to Grok | xAI
First, you'll need to create an xAI account to access xAI API. Sign up for an account here. Once you've created an account, you'll need to load it with credits to start using the API. Create an API key via the API Keys Page in the xAI API Console.
🌐
Stammer
docs.stammer.ai › stammer.ai-docs › chat-ai-agents › vault › xai-api-key-grok
xAI API Key (Grok) | Stammer.ai Docs
May 7, 2025 - Once created, you’ll be redirected to the xAI Console dashboard. During the public beta (until the end of 2024), xAI provides $25 in free monthly API credits, so you may not need to purchase credits immediately.
🌐
Apidog
apidog.com › blog › grok-3-grok-3-mini-api-free
How to Use Grok 3 and Grok 3 Mini API for Free
April 11, 2025 - Whether you're building the next cutting-edge AI application, conducting research, or simply exploring the capabilities of today's most advanced language models, OpenRouter's access to Grok 3 and Grok 3 Mini offers a practical and cost-effective path to leverage xAI's technology without being limited to the X platform interface. Start by claiming your free OpenRouter credits today, and discover how Grok models can enhance your projects with their unique reasoning capabilities and performance characteristics.
🌐
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.
🌐
Apideck
apideck.com › blog › how-to-get-your-grok-xai-api-key
How to Get Your Grok (XAI) API Key
September 10, 2025 - Unlock the power of xAI with our complete guide to getting your Grok API key. Follow these step-by-step instructions to subscribe, generate, and test your key today.
Find elsewhere
🌐
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.
🌐
Grok API
grok-api.apidog.io › free-credits-934025m0
Free Credits - Grok API
xAI is offering $150 per month in free API credits for teams that opt in to data sharing (available in eligible countries*).
🌐
AI Engineer Guide
aiengineerguide.com › blog › free-xai-grok-code-fast-1-api
How to use xAI's Grok Code Fast 1 API for free
August 31, 2025 - xAI’s Grok Code Fast (which was ... that account). We can use that model for free using that credit. Get your API key for AI Gateway from your Vercel Dashboard....
🌐
Cursor IDE
cursor-ide.com › 首页 › 博客 › free grok 3 api guide 2025: access xai's model without x premium
Free Grok 3 API Guide 2025: Access xAI's Model Without X Premium - Cursor IDE 博客
March 25, 2025 - By following this guide, you can ... with the official API. Ready to get started? Visit laozhang.ai to create your account and access your free API credits today....
🌐
Reddit
reddit.com › r/llmdevs › free xai grok api key/credits in 2024
r/LLMDevs on Reddit: Free xAI Grok API Key/Credits in 2024
November 6, 2024 -

November 4, 2024

https://x.ai/blog/api?_bhlid=9f5ec12bce9af5dbd44b53e85ec66e15161e6773

API Public Beta

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.

We are happy to announce the immediate availability of our API, which gives developers programmatic access to our Grok series of foundation models. To get started, head to console.x.ai and sign up to create an account. We are excited to see what developers build using Grok.

Models

We are kicking off our public beta with a preview of a new Grok model that is currently in the final stages of development. The model – released under the provisional name grok-beta – has a context length of 128,000 tokens and also supports function calling and system prompts. We will release more information about the model shortly.

In addition to the text-only version of the model grok-beta, we will also release a multi-modal version that can ingest images. The vision model will be available next week.

Free credits

We will run a public beta program throughout the end of the year. Everyone will get $25 of free API credits per month to test the API and get started using Grok.

Anyone who has purchased prepaid credits so far will get the equivalent amount of free monthly credits for every month until the end of the year. For example, if you purchased $50 of prepaid credits already, you will now have $25 + $50 of additional free credits in November and December.

API

To learn more about our API, check out our documentation at docs.x.ai. Our REST API is fully compatible with the ones offered by OpenAI and Anthropic. This simplifies migration. For example, if you’re currently using the OpenAI Python SDK, you can start using Grok by simply changing the base_url to https://api.x.ai/v1 and using your xAI API key that you created on console.x.ai.

🌐
xAI
docs.x.ai › docs › overview
xAI API
Welcome to the xAI developer docs! Our API makes it easy to harness Grok's intelligence in your projects. Grok is our flagship AI model designed to deliver truthful, insightful answers. ... Create an API Key and make your first request.
🌐
OpenRouter
openrouter.ai › x-ai › grok-4.1-fast:free
Grok 4.1 Fast - API, Providers, Stats | OpenRouter
November 19, 2025 - Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world use cases like customer support and deep research. Run Grok 4.1 Fast with API
🌐
AI SDK
ai-sdk.dev › providers › ai-sdk-providers › xai
AI SDK Providers: xAI Grok
You can use the OpenAI provider with xAI's base URL to search vector stores: ... File search requires grok-4 family models. See the OpenAI provider documentation for additional file search options like filters and ranking. You can combine multiple server-side tools for comprehensive research: ... Control the reasoning effort for the model. Higher effort may produce more thorough results at the cost of increased latency and token usage. The Responses API only supports server-side tools.
🌐
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.
🌐
xAI
console.x.ai › home
Welcome | xAI Cloud Console
The xAI Cloud Console is your gateway to access the xAI API and other developer tools.
🌐
Make
apps.make.com › xai
xAI - Apps Documentation
with the xai app in {{product name}} , you can create completions and make api calls in your xai account requirements to use the xai app in {{product name}} , you must have a https //x ai/ connect xai to {{product name}} to get started, you must first create a connection between xai and {{product name}} , allowing the two services to communicate to create the connection, you need to /#obtain your api key in xai /#create the connection in obtain your api key in xai before you create the connection in {{product name}} , you should first obtain an api key in your xai account to obtain the api key