Grok
A family of large language models by xAI, founded by Elon Musk. From Grok-1 open-source to Grok-4 flagship, powered by the Colossus supercomputer.
Introduction
Elon Musk walks into the AI race late, three years after OpenAI launched ChatGPT, and decides the best way to catch up is to build the world's largest supercomputer in 122 days, raise $12 billion in funding, acquire Twitter and turn it into an AI company, release his models as open source, and eventually sell the whole thing to SpaceX. That is the story of Grok.
Grok is a family of large language models developed by xAI, an AI company founded by Elon Musk in March 2023. The name comes from Robert Heinlein's 1961 sci-fi novel, where "grok" means to understand something deeply and intuitively. Musk's vision was to build an AI that is "maximally truth-seeking" with a distinctive sense of humor and real-time access to the X platform's data stream.
By mid-2026, xAI had been acquired by SpaceX and restructured as the aerospace company's AI division. The Colossus supercomputer in Memphis is one of the largest AI training clusters in the world, and Grok models have been released as open weights under the Apache 2.0 license.
History
Elon Musk founded xAI on March 9, 2023, with a team including Igor Babuschkin (formerly Google DeepMind), Christian Szegedy, Greg Yang, and others. Musk stated the mission was to "understand the true nature of the universe."
xAI unveiled Grok on November 4, 2023, initially for X Premium+ subscribers. In March 2024, Musk released Grok-1 as open source: a 314-billion parameter MoE model under Apache 2.0. Grok-2 followed in August 2024 with image generation, and the API launched in October 2024. The Aurora text-to-image model was released in December 2024.
February 2025 brought Grok-3 with DeepSearch. On March 28, 2025, xAI acquired X Corp. in an all-stock transaction. Grok-4 was unveiled on July 9, 2025, with native tool use and the Grok Heavy variant at $300/month. On February 2, 2026, SpaceX acquired xAI in an all-stock deal valuing SpaceX at $1 trillion and xAI at $250 billion.
The Grok Model Family
| Model | Date | Parameters | Key Features |
|---|---|---|---|
| Grok-1 | Nov 2023 | 314B MoE | 8 experts, 2 active. Open-sourced Mar 2024. |
| Grok-1.5 | Mar 2024 | Undisclosed | Improved reasoning, 128K context. |
| Grok-2 | Aug 2024 | Undisclosed | Image generation, API launch. |
| Grok-3 | Feb 2025 | Undisclosed | Reflection, DeepSearch, image editing. |
| Grok-4 | Jul 2025 | Undisclosed | Native tools, real-time search, Grok Heavy at $300/mo. |
| Grok Build 0.1 | May 2026 | Undisclosed | Fastest coding model, public beta via API. |
Grok-1 is the only model whose architecture has been fully disclosed: 314B MoE with 8 experts (2 active), 64 layers, 48 query attention heads, embedding size 6,144, and a SentencePiece tokenizer with 131,072 tokens.
The Colossus Supercomputer
Announced in June 2024 and built in just 122 days, the Colossus supercomputer in Memphis, Tennessee instantly became one of the largest AI training clusters in the world. It was initially powered by 100,000 Nvidia H100 GPUs, with plans to scale to at least 1 million GPUs. At peak, Colossus consumes approximately 150 megawatts of electricity.
The environmental impact of Colossus has been controversial. Portable methane-gas powered generators ran without necessary air permits, and the predominantly African-American community of Southeast Memphis was found to face significantly elevated cancer risks from existing air pollution.
Products and Features
- Grok Chatbot - Integrated into X social network with a witty, irreverent personality. Available via X Premium or SuperGrok subscription.
- DeepSearch / DeeperSearch - Web search and multi-step research capabilities for real-time information synthesis and comprehensive report generation.
- Aurora Image Generation - Text-to-image model with image editing capabilities.
- Grokipedia - AI-powered online encyclopedia and Wikipedia alternative, launched October 2025.
- API Platform - Programmatic access to Grok models for text, tool use, vision, and audio.
- Grok in Kilo Code - Coding assistant within the Kilo Code development environment.
Organization and Restructuring
xAI's journey went from standalone startup, to combined X/xAI holding company, to wholly owned subsidiary of SpaceX, and finally absorbed into SpaceX's AI division. The February 2026 SpaceX acquisition valued SpaceX at $1 trillion and xAI at $250 billion. After the acquisition, half of xAI's original co-founders left the company. By March 2026, only Musk remained from the founding team, though new leadership was brought in from SpaceX including Michael Nicolls (president of Starlink) as xAI's president.
Comparison with Alternatives
vs GPT-4o (OpenAI) - Grok was explicitly positioned as an alternative with less restrictive safety filters and real-time X data access. OpenAI has broader multimodal capabilities and enterprise adoption.
vs Claude (Anthropic) - Claude is safety-first; Grok is "maximally truth-seeking." Grok embraces controversial topics while Claude is heavily aligned for harmlessness.
vs DeepSeek - DeepSeek proved you can build world-class AI with a fraction of the budget. xAI proved you can build world-class AI by spending more money faster. DeepSeek's models are fully open-source; Grok-1 is open-source but later models are proprietary.
Getting Started
Grok API:
curl -X POST https://api.x.ai/v1/chat/completions \
-H "Authorization: Bearer $XAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4",
"messages": [{"role": "user", "content": "Explain Grok in simple terms."}]
}'
Grok-1 weights are available on GitHub and Hugging Face under Apache 2.0. Use Grok directly through X Premium or visit x.ai for API access.