Elon Musk's Grok AI has now been open sourced, code available on GitHub

A laptop on an orange background showing the xAI Grok logo
(Image credit: xAI)

Grok, the AI tool founded by Elon Musk, has been open sourced, with a code release now available on GitHub.

Musk had previously stated that Grok would go open source this week, saying the move will allow developers and researchers to look into the model and build upon it, and possibly influence its future iterations.

Grok is owned by xAI, another Musk company, and marks the entrepreneur's second foray into AI. He was one of the co-founders of OpenAI, the firm behind ChatGPT, which he is now suing for purportedly abandoning its original altruistic intents. 

Open source?

A blog post on xAI's website describes how the open release of Grok-1 contains the “weights and network architecture” of the underlying model, called Mixture-of-Experts. The blog also explains that the model hasn't been fine-tuned for any particular purpose, like dialogue. 

It is being released under the Apache 2.0 license, which allows for commercial use and distribution, but no warranty or liability is provided, and it cannot be trademarked. The original license and copyright notice must be reproduced as well, with any changes made by developers stated.

The training data is also not being made available, meaning users can't find out what the model was fed on during its development. It also doesn't include a connection to real-time data from X (FKA Twitter), an attribute Musk has boasted about in the past, unless users are paying subscribers to the microblogging platform.

Grok was completed in October last year, and was developed using JAX and Rust as the foundation for the custom training stack. It allegedly takes a novel approach to neural networks, and makes use of only a quarter of its weights per token, which means that, in theory, it is more effective and efficient than its rivals.

MORE FROM TECHRADAR PRO

Lewis Maddison
Reviews Writer

Lewis Maddison is a Reviews Writer for TechRadar. He previously worked as a Staff Writer for our business section, TechRadar Pro, where he had experience with productivity-enhancing hardware, ranging from keyboards to standing desks. His area of expertise lies in computer peripherals and audio hardware, having spent over a decade exploring the murky depths of both PC building and music production. He also revels in picking up on the finest details and niggles that ultimately make a big difference to the user experience.

Read more
Elon Musk and Grok.
Elon Musk says Grok 2 is going open source as he rolls out Grok 3 for Premium+ X subscribers only
Elon Musk's new artificial intelligence logo
Grok 3 launches today as Elon Musk's ‘scary good’ AI chatbot looks set to take on ChatGPT
Elon Musk and Grok.
What is Grok: This chatbot is brimming with attitude
xAI Grok
Grok steps out to mobile with new standalone iOS app
Grok 2 on an iPhone 16 Pro Max with the generated image blurred out
I used Grok’s new free tier on X but I can’t show you the results because it could infringe Nintendo's copyright
Elon Musk's new artificial intelligence logo
Grok's mobile app is here – and it might not be very careful
Latest in Pro
Finger Presses Orange Button Domain Name Registration on Black Keyboard Background. Closeup View
I visited the world’s first registered .com domain – and you won’t believe what it’s offering today
Racks of servers inside a data center.
Modernizing data centers: an efficient path forward
Dr. Peter Zhou, President of Huawei Data Storage Product Line
Why AI commonization is so important for business intelligent transformation and what Huawei’s data storage has to offer
Wix automation
The world's leading website builder aims to save businesses time with new tool
Data Breach
Thousands of healthcare records exposed online, including private patient information
China
Juniper patches security flaws which could have let hackers take over your router
Latest in News
A super close up image of the Google Gemini app in the Play Store
It's official: Google Assistant will be retired for phones this year, with Gemini taking over
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 16 (game #1147)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 16 (game #378)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 16 (game #644)
Three iPhone 16 handsets on show
Apple could launch an iPhone 17 Ultra this year – but we've heard these rumors before
Super Mario Odyssey
ChatGPT is the ultimate gaming tool - here's 4 ways you can use AI to help with your next playthrough