xAI announced today that it has officially opened its API interface, allowing developers to directly access the much-anticipated Grok basic model. This move not only marks a key step for xAI in the AI open ecosystem, but also brings many practical functions and preferential policies to developers.
With this release, xAI launches a new grok-beta preview version. This version has a long context window of 128,000 characters and supports function calls and system prompts, which significantly improves the practicality and flexibility of the model. What’s more worth looking forward to is that xAI plans to launch a multi-modal version that supports image recognition next week, further expanding the application scope of Grok.
In order to lower the threshold for developers to use, xAI has launched a generous public beta program before the end of 2024. Each developer will receive $25 in free API credit per month. For users who have purchased prepaid quota, the platform will provide additional benefits in November and December: based on the original quota, an additional US$25 monthly usage quota will be given.
In terms of technology docking, 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 modify 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. , you can easily start using Grok models. This simple migration method greatly reduces developers’ adaptation costs.
The opening of the API this time 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 register an account by visiting console.x.ai and start experiencing the powerful features of the Grok model immediately.
Details: https://x.ai/blog/api