MicrosoftReleased April 23, 2024

Phi-3 Mini

Open Source3.8B parameters

Context

128K

Input

Free (open)

Key Specifications

🏆

Arena Rank

Not disclosed

📐

Context Window

128K

📥

Input Price

per 1M tokens

Free (open)

📤

Output Price

per 1M tokens

Free (open)

🧠

Parameters

3.8B

🔓

Open Source

Yes

Best For

Edge deploymentmobileon-device AI

About Phi-3 Mini

Phi-3 Mini is Microsoft's compact 3.8 billion parameter model that delivers surprisingly strong performance for its size, rivaling models many times larger on reasoning and coding benchmarks. It features a 128K context window despite its small size, making it ideal for on-device deployment in mobile phones, laptops, and edge devices where computational resources are severely constrained.

Built byMicrosoft

Pricing per 1M tokens

Input Tokens

Free (open)

Output Tokens

Free (open)

Frequently Asked Questions

What is Phi-3 Mini?
Phi-3 Mini is Microsoft's compact 3.8 billion parameter model that delivers surprisingly strong performance for its size, rivaling models many times larger on reasoning and coding benchmarks. It features a 128K context window despite its small size, making it ideal for on-device deployment in mobile phones, laptops, and edge devices where computational resources are severely constrained.
How much does Phi-3 Mini cost?
Phi-3 Mini costs Free (open) per 1 million input tokens and Free (open) per 1 million output tokens. Pricing is based on token usage, making it cost-effective for both small and large-scale applications.
What is Phi-3 Mini's context window?
Phi-3 Mini has a context window of 128K tokens. This determines how much text the model can process in a single request — larger context windows allow the model to handle longer documents, maintain more conversation history, and reason over bigger codebases.
Is Phi-3 Mini open source?
Yes, Phi-3 Mini is open source. This means the model weights are publicly available, allowing developers and organizations to download, fine-tune, and self-host the model on their own infrastructure. Open-source models offer greater flexibility and data privacy control.
What is Phi-3 Mini best for?
Phi-3 Mini is best suited for: Edge deployment, mobile, on-device AI. These use cases leverage the model's specific strengths in terms of capability, speed, and cost-effectiveness within Microsoft's model lineup.