Skip to content
Microsoft

Phi-2

flagship
Microsoft · released 2023-12-01 · text
currently routing · 4.2k rpm
2.0M tokens
Context
— / 1M
Input
— / 1M
Output
— t/s
Speed
open
License
/ ABOUT

Microsoft Phi-2 is a compact 2.7-billion parameter language model that demonstrates exceptional performance for its size, rivaling models 5-10x larger on many benchmarks. Built with a focus on textbook-quality training data, it achieves strong results on reasoning, coding, and mathematical tasks.

The model was trained using Microsoft's 'textbooks are all you need' philosophy, curating high-quality educational and technical content rather than relying on sheer data volume. This approach enables Phi-2 to punch well above its weight class, particularly on logical reasoning and coding benchmarks.

Phi-2 is ideal for applications requiring capable AI in a small footprint, including on-device inference, embedded systems, and scenarios where computational efficiency is paramount.

Providers for Phi-2

1 routes · sorted by uptime

ClosedRouter routes requests to the providers best able to handle your prompt size and parameters, with automatic fallbacks to maximize uptime.

Provider
Context
Quant
Uptime · 30d
bf16
0.00%