Elon Musk releases code for his AI chatbot Grok. Here's why it matters

Some of the world’s largest companies and richest people are fighting over a question that will help shape the future of AI: Should firms reveal exactly how their products work?

Elon Musk, the CEO of Tesla and SpaceX, upended the debate in recent days by opting to release the computer code behind his AI chatbot, Grok.

The move contrasts with the approach taken by OpenAI, the company behind popular AI text bot ChatGPT. OpenAI, part owned by tech giant Microsoft, opted to release comparatively few details about the latest algorithm behind its products.

Elon Musk did not respond to ABC News' request for comment. Neither did OpenAI.

In a statement earlier this month, OpenAI rebuked claims that the company has kept its AI models secret.

"We advance our mission by building widely-available beneficial tools. We’re making our technology broadly usable in ways that empower people and improve their daily lives, including via open-source contributions," the company said. "We provide broad access to today's most powerful AI, including a free version that hundreds of millions of people use every day."

Here’s what to know about Grok, why Elon Musk disclosed the computer code and what it means for the future of AI:

What is Musk’s AI chatbot, Grok?

Last year, Musk launched an artificial intelligence company called xAI, vowing to develop a generative AI program that competes with established offerings like ChatGPT.

MORE: Dispute over threat of extinction posed by artificial intelligence looms over surging industry

On several occasions, Musk has warned against risks of political bias in AI chatbots, which help shape public opinion and risk the spread of misinformation.

However, content moderation itself has become a polarizing topic and Musk has voiced opinions that place his approach within that hot-button political context, some experts previously told ABC News.

In November, xAI debuted an early version of its first product, Grok, which responds to user prompts with humorous comments modeled on the classic sci-fi novel "Hitchhiker’s Guide to the Galaxy."

Grok is powered by Grok-1, a large language model that generates content based on statistical probabilities learned from scanning vast amounts of text.

To access Grok, users must first purchase a premium subscription to X, the social media platform owned by Musk.

"We believe that it is important to design AI tools that are useful to people of all backgrounds and political views. We also want to empower our users with our AI tools, subject to the law," xAI said in a blog post in November. "Our goal with Grok is to explore and demonstrate this approach in public."