Elon Musk's artificial intelligence company xAI has announced that its application programming interface (API) is now open to developers and is offering developers $25 per month in free API usage until the end of the year. The decision comes three weeks after the xAI API entered public beta in an effort to attract more developers to try its tools and platform.
Although the free credit of $25 may not seem high, it may be an opportunity worth trying for developers who are new to xAI. The API is priced at $5 per million input tokens and $15 per million output tokens. In comparison, OpenAI's GPT-4o model and Anthropic's Claude3.5Sonnet model are priced lower. This means that the $25 credit only allows developers to process approximately two million input tokens and one million output tokens per month.
xAI noted in the release that its API supports "function calls," in which large language models can accept instructions from users and access application and service functions, even executing those instructions with user authorization. In addition, AI's API is also compatible with OpenAI and Anthropic's SDK, making it easy for developers to switch between different models.
It is worth mentioning that xAI recently launched the "Colossus" super cluster in Memphis, Tennessee. This facility has 100,000 Nvidia H100 GPUs and is providing powerful computing power for the training of new models. This allows xAI to go further in the field of large language models, and it is expected that more new models will be launched in the future.
Although the current xAI API functionality is still limited, users can only access text functions and do not yet have image generation capabilities, but the company has revealed that it will launch a new Grok visual model next week. As new features continue to be introduced, xAI hopes to attract more developers to participate in the construction of its platform.
Entrance: https://x.ai/blog/api