xAI announced today the official opening of its API interface, allowing developers to directly access the highly anticipated Grok foundation model. This move not only marks a significant step forward for xAI in the AI open ecosystem but also brings developers a range of practical features and preferential policies.
In this release, xAI introduced a new grok-beta preview version. This version features an ultra-long context window of 128,000 characters and supports function calls and system prompt functionalities, significantly enhancing the model's practicality and flexibility. More excitingly, xAI plans to launch a multi-modal version supporting image recognition next week, further expanding the application scope of Grok.
To lower the barriers for developers, xAI launched a generous public beta plan before the end of 2024. Each developer will receive a free API quota of $25 per month. For users who have purchased prepaid quotas, the platform will offer additional benefits in November and December: an extra $25 usage quota on top of the original amount each month.
In terms of technical integration, xAI has demonstrated strong openness and inclusiveness. Its REST API is fully compatible with the interface specifications of OpenAI and Anthropic. Developers only need to change the base_url in the OpenAI SDK to https://api.x.ai/v1 and use the API key generated on the console.x.ai platform to easily start using the Grok model. This straightforward migration method greatly reduces the adaptation costs for developers.
The opening of this API not only reflects xAI's determination to promote the popularization of AI technology but also provides developers with a new platform for exploration and innovation. Interested developers can visit console.x.ai to register an account and immediately start experiencing the powerful features of the Grok model.