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.
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 - ...
Grok API
grok-api.apidog.io
Introduction - Grok API
Build with Grok 3To access the Grok 3 models via API, please create an xAI account and an API key.
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.
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
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.
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.
xAI
docs.x.ai › docs › key-information › using-management-api
Using Management API | xAI
The management key can be obtained at xAI Console -> Settings -> Management Keys. The base URL is at https://management-api.x.ai, which is also different from the inference API.
Griptapenodes
docs.griptapenodes.com › en › stable › how_to › keys › grok
How to get and use an xAI Grok API key - Griptape Nodes
If you attempt to run Nodes using xAI without completing this billing setup, your workflows will fail as the service will reject the account credentials. Navigate to the API keys section; there are multiple links to take you there.