Skip to content
← Models
Open weightsMicrosoft/10 trustVerified
Phi-2 logo

Phi-2

Microsoft's 2.7B small model that punched far above its weight class.

Visit official page →

About

Phi-2 is Microsoft's 2.7-billion-parameter small language model, released in December 2023 and trained on 1.4 trillion tokens of 'textbook-quality' real and synthetic data over 14 days on 96 A100 GPUs. Microsoft reported it matching or beating models up to 25x its size — including Llama 2 7B, Mistral 7B, and Google's Gemini Nano — on reasoning benchmarks, making it the defining demonstration of the data-quality-over-scale thesis.

License history worth knowing: Phi-2 launched under a Microsoft Research License restricted to non-commercial research use; it was later re-released under MIT, which the official repository now uses. Even under MIT, it predates modern safety alignment, so it can produce inaccurate or biased content and should not be deployed as a user-facing assistant without guardrails.

Specs

Context window

Pricing

Free quota

API access

Weights

Open weights

Released

December 1, 2023

Benchmarks

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

reasoningon-device-aicodingeducationresearch

Trust score — 9/10

/10 trustVerified

Scored 9/10 (verified tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 72; Trending score 90/100 from researcher assessment.

More in the phi family

Sources