🌐
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.
🌐
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.
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
xAI Dev Leaks API Key for Private SpaceX, Tesla LLMs
any ideas if any actual spacex data was gleaned (as opposed to merely the potential for such)? More on reddit.com
🌐 r/spacex
7
61
December 17, 2024
🌐
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.
🌐
Merge.dev
merge.dev › blog › grok-api-key
How to get your Grok API key (5 steps)
January 2, 2025 - You can sign in in one of three ... your Twitter or Google account. ... Below the welcome message, you should see a small text block that reads, “Manage API keys.” Click on this....
🌐
Grok API
grok-api.apidog.io › introduction-933934m0
Introduction - Grok API
April 10, 2025 - Build with Grok 3To access the Grok 3 models via API, please create an xAI account and an API key.
Find elsewhere
🌐
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
🌐
TypingMind
typingmind.com › guide › use-grok-api-key-to-chat-with-ai
How to use xAI API Key for AI chat | TypingMind
September 29, 2025 - Complete guide on how to use your xAI (Grok) API key with TypingMind. No monthly fees, advanced features, and better AI chat experience.
🌐
Langchain
docs.langchain.com › oss › python › integrations › providers › xai
xAI - Docs by LangChain
# Querying chat models with xAI from langchain_xai import ChatXAI chat = ChatXAI( # xai_api_key="YOUR_API_KEY", model="grok-4", ) # stream the response back from the model for m in chat.stream("Tell me fun things to do in NYC"): print(m.content, end="", flush=True) # if you don't want to do streaming, you can use the invoke method # chat.invoke("Tell me fun things to do in NYC")
🌐
Elephas
elephas.app › blog › how-to-get-grok-api-key
How to Get Grok API Key (Step by Step Guide) | 2026
2 weeks ago - Fix: Double-check that you followed the instructions for setting the environment variable. This usually involves adding XAI_API_KEY=your_api_key to your system's environment variables.
🌐
Langchain
reference.langchain.com › python › integrations › langchain_xai
xAI | LangChain Reference
Key init args — client params: timeout: Timeout for requests. max_retries: Max number of retries. api_key: xAI API key.
🌐
Vercel
vercel.com › marketplace › xai
xAI for Vercel – Vercel
Your product will provide you access to an API key via anXAI_API_KEY environment variable. Clicking "Open in Grok" allows you to explore the available models in the xAI console. You can also experiment with them in the playground before integrating them into your application.