Sapling Logo

Grok vs. Llama 2

LLM Comparison


Grok

Grok

Overview

Grok is a mixture-of-experts model offered by xAI.


Grok is the flagship language model of xAI, the AI company founded by Elon Musk with close ties to X.com (FKA Twitter). Grok-1 was initialized released late in 2023 and later open-sourced in March of 2024. On March 28, 2024, Grok-1.5 was released with significantly better performance and a context length of 128,000 tokens.


Initial release: 2023-11-05

Llama 2

Llama 2

Overview

Llama 2 is Meta AI's open source LLM available for both research and commercial use cases (assuming you're not one of the top consumer companies in the world).


The successor to LLaMA (henceforce "Llama 1"), Llama 2 was trained on 40% more data, has double the context length, and was tuned on a large dataset of human preferences (over 1 million such annotations) to ensure helpfulness and safety. It outperforms other open source models on both natural language understanding datasets as well as in head-to-head face-offs.


Initial release: 2023-07-18

Looking for an LLM API/SDK that works out of the box? No prompts or ad hoc guardrails.

Sapling API
More Comparisons

Grok

Llama 2

Products & Features
Instruct Models
Coding Capability
Customization
Finetuning
Open Source
License Apache 2.0 Custom (Commercial OK)
Model Sizes 314B 7B, 13B, 70B