Grok-1 is a 314-billion-parameter Mixture-of-Experts (MoE) large language model developed by xAI. Designed to optimize computational efficiency, it activates only 25% of its weights for each input token. In March 2024, xAI released Grok-1's model weights and architecture under the Apache 2.0 license, making them openly accessible to developers. The accompanying GitHub repository provides JAX example code for loading and running the model. Due to its substantial size, utilizing Grok-1 requires a machine with significant GPU memory. The repository's MoE layer implementation prioritizes correctness over efficiency, avoiding the need for custom kernels.

This is a full repo snapshot ZIP file of the Grok-1 code.

Features

  • 314-billion-parameter Mixture-of-Experts (MoE) architecture
  • Efficient computation, activating only 25% of parameters per token
  • Fully open-source under the Apache 2.0 license
  • JAX-based implementation with example code provided
  • Scalable and modular, designed for research and development
  • Requires high GPU memory for inference and fine-tuning
  • Correctness-focused MoE layer without custom kernels
  • Optimized for natural language understanding and generation

Project Activity

See All Activity >

License

Apache License V2.0

Follow Grok-1

Grok-1 Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Really great model
Read more reviews >

Additional Project Details

Languages

English

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python AI Models

Registered

2025-02-27