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.
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
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
Videos
01:13
How to Generate the xAI Grok API Key - YouTube
03:43
Grok xAI API in Python - Getting Started - YouTube
06:08
The xAI API IS INSANE: Full Demo And Beginner's Guide - YouTube
12:11
How to use Grok API with Free Credits!!! - YouTube
00:56
How To Get Your Grok API Key Super Fast! - YouTube
19:41
xAI has released their Grok Public API! How to use it in Clay - ...
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.
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.
Votiro
votiro.com › blog › a-file-leaked-xais-api-key-what-that-says-about-real-zero-trust
Leaked xAI API Key: What That Says About Real Zero Trust
July 22, 2025 - Learn more about File Security from Menlo Security's blog.
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
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")
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.