Sapling Logo

Grok vs. Phi

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

Phi

Phi

Overview

Phi is a series of compact language models developed by Microsoft using high-quality synthetic data and curated web content. Phi-3 and Phi-3.5 (2024) significantly raised the bar for small models, with the 3.8B Phi-3 Mini matching much larger open-source models on key benchmarks.


Phi-1 and Phi-2 are 1.3B and 2.7B parameter language models, respectively, developed by Microsoft to demonstrate the ability of smaller language models trained on high-quality data. In April 2024, Phi-3 was released across Mini (3.8B), Small (7B), and Medium (14B) sizes. Phi-3 Mini achieves performance competitive with Llama 3 8B and Mistral 7B at a fraction of the compute, making it ideal for edge and constrained-resource deployments. Phi-3.5 Mini and MoE followed in August 2024 with further improvements.


Initial release: 2023-06-20

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

Sapling API
More Comparisons

Grok

Phi

Products & Features
Instruct Models
Coding Capability
Customization
Finetuning
Open Source
License Apache 2.0 MIT
Model Sizes 314B 1.3B, 2.7B, 3.8B, 7B, 14B