xAI, Elon Musk’s AI startup, launches an API

In August, Elon Musk’s xAI promised to make Grok, the company’s flagship generative AI model powering a number of features on X, available via an API. Now, that API has arrived — albeit a bit bare-bones at the moment.

The xAI API only has a single model, “grok-beta,” priced at $5 per million input tokens (~750,000 words) or $15 per million output tokens. Tokens are subdivided bits of raw data, like the syllables “fan,” “tas,” and “tic” in the word “fantastic.”

It’s unclear which Grok model “grok-beta” might be; Grok 2 is the very latest on X. The documentation for the API refers to Grok 2 and Grok mini, a lightweight and more affordable version of Grok — so it could well be a technical issue.

The xAI API supports function calling, which connects Grok models to external tools such as databases and search engines. And, although they don’t appear to be live yet, the documentation hints at vision models capable of analyzing both text and images.

Musk formed xAI last year. Soon after, the company — which recently moved into OpenAI’s old offices — released its first Grok model on X to X Premium+ users, who pay $16 a month.

Grok has become increasingly ingrained in the X experience. Thanks to an integration with the open image generator Flux, Grok can generate images on X (without guardrails, controversially). It summarizes news and trending events (often with mistakes, mind you), and it may enhance X’s search capabilities, account bios, post analytics, and reply functions in the future.

Musk said this summer that xAI is training the next generation of Grok models at its Memphis datacenter, which has been accused of worsening smog with unauthorized turbines. The company hopes to upgrade the datacenter next year, but will need approval from the Tennessee Valley Authority in order to do so.

xAI is racing to catch up to formidable competitors like OpenAI and Anthropic in the generative AI race. In May, xAI raised $6 billion in a funding round led by investors including Andreessen Horowitz, Sequoia Capital, and Fidelity.

Musk often asserts that X’s data gives xAI a leg up compared to rivals. This month, X changed its privacy policy to allow third parties, including xAI, to train models on X posts.

Grok also has what Musk has described as “a rebellious streak” — and a willingness to answer “spicy questions that are rejected by most other AI systems.” Told to be vulgar, for example, Grok will happily oblige, spewing profanities and colorful language you won’t hear from ChatGPT.

Grok has become increasingly ingrained in the X experience. Thanks to an integration with the open image generator Flux, Grok can generate images on X (without guardrails, controversially). It summarizes news and trending events (often with mistakes, mind you), and it may enhance X’s search capabilities, account bios, post analytics, and reply functions in the future.

xAI is sprinting to catch up to formidable competitors like OpenAI and Anthropic in the generative AI race. In May, xAI raised $6 billion in a funding round led by investors including Andreessen Horowitz, Sequoia Capital, and Fidelity.

Musk often asserts that X’s data gives xAI a substantial leg up compared to rivals. This month, X changed its privacy policy to allow third parties, including xAI, to train models on X posts.

As part of the pitch for xAI’s $6 billion funding round, the startup also outlined a vision where its models would be trained on data from Musk’s various companies, including Tesla, SpaceX, and The Boring Company, and its models could then improve technology across those companies.

Tesla shareholders, for one, weren’t on board with that plan. Several sued Musk over the decision to start xAI, arguing that Musk has diverted both talent and resources from Tesla to what is essentially a competing venture.

Musk said this summer that xAI is training the next generation of Grok models at its Memphis datacenter, which has been accused of worsening smog with unauthorized turbines. The company hopes to upgrade the datacenter next year, but will need approval from the Tennessee Valley Authority in order to do so.

In August, Elon Musk’s xAI promised to make Grok, the company’s flagship generative AI model powering a number of features on X, available via an API. Now, that API has arrived — albeit a bit bare-bones at the moment.

The xAI API only has a single model, “grok-beta,” priced at $5 per million input tokens (~750,000 words) or $15 per million output tokens. Tokens are subdivided bits of raw data, like the syllables “fan,” “tas,” and “tic” in the word “fantastic.”

It’s unclear which Grok model “grok-beta” might be; Grok 2 is the very latest on X. The documentation for the API refers to Grok 2 and Grok mini, a lightweight and more affordable version of Grok — so it could well be a technical issue.

The xAI API supports function calling, which connects Grok models to external tools such as databases and search engines. And, although they don’t appear to be live yet, the documentation hints at vision models capable of analyzing both text and images.

Musk formed xAI last year. Soon after, the company — which recently moved into OpenAI’s old offices — released its first Grok model on X to X Premium+ users, who pay $16 a month.

Grok has become increasingly ingrained in the X experience. Thanks to an integration with the open image generator Flux, Grok can generate images on X (without guardrails, controversially). It summarizes news and trending events (often with mistakes, mind you), and it may enhance X’s search capabilities, account bios, post analytics, and reply functions in the future.

Musk said this summer that xAI is training the next generation of Grok models at its Memphis datacenter, which has been accused of worsening smog with unauthorized turbines. The company hopes to upgrade the datacenter next year, but will need approval from the Tennessee Valley Authority in order to do so.

xAI is racing to catch up to formidable competitors like OpenAI and Anthropic in the generative AI race. In May, xAI raised $6 billion in a funding round led by investors including Andreessen Horowitz, Sequoia Capital, and Fidelity.

Musk often asserts that X’s data gives xAI a leg up compared to rivals. This month, X changed its privacy policy to allow third parties, including xAI, to train models on X posts.

Grok also has what Musk has described as “a rebellious streak” — and a willingness to answer “spicy questions that are rejected by most other AI systems.” Told to be vulgar, for example, Grok will happily oblige, spewing profanities and colorful language you won’t hear from ChatGPT.

Grok has become increasingly ingrained in the X experience. Thanks to an integration with the open image generator Flux, Grok can generate images on X (without guardrails, controversially). It summarizes news and trending events (often with mistakes, mind you), and it may enhance X’s search capabilities, account bios, post analytics, and reply functions in the future.

xAI is sprinting to catch up to formidable competitors like OpenAI and Anthropic in the generative AI race. In May, xAI raised $6 billion in a funding round led by investors including Andreessen Horowitz, Sequoia Capital, and Fidelity.

Musk often asserts that X’s data gives xAI a substantial leg up compared to rivals. This month, X changed its privacy policy to allow third parties, including xAI, to train models on X posts.

As part of the pitch for xAI’s $6 billion funding round, the startup also outlined a vision where its models would be trained on data from Musk’s various companies, including Tesla, SpaceX, and The Boring Company, and its models could then improve technology across those companies.

Tesla shareholders, for one, weren’t on board with that plan. Several sued Musk over the decision to start xAI, arguing that Musk has diverted both talent and resources from Tesla to what is essentially a competing venture.

Musk said this summer that xAI is training the next generation of Grok models at its Memphis datacenter, which has been accused of worsening smog with unauthorized turbines. The company hopes to upgrade the datacenter next year, but will need approval from the Tennessee Valley Authority in order to do so.

More from author

Related posts

Latest posts

A guide to iOS 18’s hidden features and smaller updates

Apple’s iOS 18 update became available to all users on September 16. Ahead of the release of Apple Intelligence, the most important new features have been...

Daze, a creative, AI-powered messaging app for Gen Z, is blowing up prelaunch

On TikTok, Daze’s most popular video has been viewed 8 million times. Across TikTok and Instagram, the startup behind a new messaging app aimed at Gen Z has...

Mac vs Windows for Programming

The programming world is quite thrilling and daily there are many new software’s to exploit computer resources. When it comes to choosing the right...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!