What is SpaceXAI and what is it used for?
SpaceXAI is the AI lab behind the Grok models, offered through an API for developers and through a chatbot with voice, image and video generation, realtime search and reasoning. The company was called xAI before it adopted the name SpaceXAI.
According to the documentation at docs.x.ai, API requests go to SpaceXAI's base URL and the API key is generated at console.x.ai. The documentation's examples use the OpenAI SDK, the AI SDK and curl.
The documentation recommends the latest Grok model for code and general use, described as the most capable model SpaceXAI has built, and lets you set the reasoning effort to low, medium, high or xhigh.
The API supports function calling and includes built-in tools such as web search, X search and code execution. Image and video live in the Imagine API, and speech in the Voice API.
There is also Grok Build, a coding agent with its own documentation on the same site.
