Twitter/X's ChatGPT rival Grok is now open source. Here's how to get it.

Elon Musk announced the AI chatbot would become open source last week.
By Amanda Yeo  on 
xAI Grok logo is seen on a smartphone screen.
Credit: Pavlo Gonchar / SOPA Images / LightRocket via Getty Images

Twitter/X's AI chatbot Grok is now open source. In a better timeline, I wouldn't have to know any of those words.

Last Monday, Twitter/X owner and xAI founder Elon Musk announced that Grok would soon go open source, making its source code freely available for anyone to access and modify. Now the company has acted on that plan, releasing Grok-1's base model weights and network architecture on GitHub.

"░W░E░I░G░H░T░S░I░N░B░I░O░," the official Grok Twitter/X account posted, mimicking a format frequently used by spam bots claiming to share pornographic images on the platform.

In a brief blog post announcing the release, Musk's artificial intelligence company xAI stated that the model being released is from when Grok-1 was in its "pre-training phrase" in Oct. 2023. So while this base model has been trained on "a large amount of text data," it hasn't been fine-tuned to any specific task. This means you're probably better off continuing to use Grok on Twitter/X if you just want to play with a Musk-approved chatbot (and are prepared to shell out your hard-earned cash to become an X Premium+ subscriber).

For those more interested in toying with code, Grok's weights and architecture have been released under an Apache 2.0 licence, meaning anyone is free to modify and redistribute them. In an apparent reference to 1989 sci-fi comedy Bill & Ted's Excellent Adventure, the code of conduct accompanying Grok's release reads only: "Be excellent to each other." 

"Grok is a 314-billion parameter Mixture-of-Experts model trained from scratch by xAI," wrote xAI. 

Mashable Light Speed
Want more out-of-this world tech, space and science stories?
Sign up for Mashable's weekly Light Speed newsletter.
By signing up you agree to our Terms of Use and Privacy Policy.
Thanks for signing up!

Grok was uploaded to GitHub by an account apparently belonging to AI researcher and xAI employee Igor Babuschkin. All you need to do is head over to the website, hit the green " Code" button, and select the format you want it in.

Musk has been pushing OpenAI to go open source

This move comes just weeks after Musk sued Grok competitor OpenAI for not being open source. Musk previously sat on the ChatGPT creator's board of directors, as well as invested several million dollars into the AI research company. Now the billionaire has accused OpenAI of breach of contract, contending that there was a "Founding Agreement" that its artificial general intelligence would be open source, and that the organisation would be run as a non-profit "for the benefit of humanity." 

OpenAI has since refuted Musk's claim, stating that no such agreement existed. It further published emails demonstrating that Musk knew of and agreed with OpenAI's plans to become proprietary rather than open source, as well as its intention to become a for-profit organisation.

"As we discussed a for-profit structure in order to further the mission, Elon wanted us to merge with Tesla or he wanted full control," wrote OpenAI, noting that Musk stated OpenAI had zero chance of success without raising several billion dollars per year.

"Elon left OpenAI, saying there needed to be a relevant competitor to Google/DeepMind and that he was going to do it himself… When he left in late February 2018, he told our team he was supportive of us finding our own path to raising billions of dollars."

Apparently Musk isn't quite as supportive as OpenAI expected, if his lawsuit is anything to go by.

Topics Twitter OpenAI

Amanda Yeo
Amanda Yeo
Reporter

Amanda Yeo is Mashable's Australian reporter, covering entertainment, culture, tech, science, and social good. This includes everything from video games and K-pop to movies and gadgets.


Recommended For You
Elon Musk's X suspends users who post alleged name of alt-right comic creator
Elon Musk

Elon Musk reportedly on the verge of raising billions for his AI company
Elon Musk and xAI logo

The best sex toys for under £50
A selection of colourful sex toys

The best cheap VPNs in May 2024
NordVPN on phone

The Gozilla X Kong cast reveal which past characters would crush against a Kaiju
Dan Stevens, Rebecca Hall, and Brian Tyree Henry

Trending on Mashable
NYT Connections today: See hints and answers for May 8
A phone displaying the New York Times game 'Connections.'

'Wordle' today: Here's the answer hints for May 8
a phone displaying Wordle

NYT Connections today: See hints and answers for May 7
A phone displaying the New York Times game 'Connections.'

NYT's The Mini crossword answers for May 8
Closeup view of crossword puzzle clues

Everything Apple announced during its iPad event, including new OLED iPad Pro
iPads against a blue background
The biggest stories of the day delivered to your inbox.
This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.
Thanks for signing up. See you at your inbox!