Back to modelsVisit site
microsoftmodel
phi-2
Phi-2 is a Transformer-based model with a next-word prediction objective, trained on 1.4T tokens from multiple passes on a mixture of Synthetic and Web datasets for NLP and coding.
Best for
Code GenerationDebuggingCode Review
Context Window
2K tokens ≈ 5 pages of text
Input Cost
Free
Output Cost
—
Latency p50
—
Pricing Details
Standard PricingFree tier
Input (per 1M tokens)
$0.00
Output (per 1M tokens)
$0.00
Hallucination Score™ (est.)
Community reliability estimate · not official
—
Not yet rated
About this score: Community-estimated based on user reports and publicly available benchmark data (e.g. TruthfulQA). This is not an official score from the model provider. Scores may be inaccurate — always verify with the official leaderboard before making production decisions.
Price History
Not enough historical data yet. Check back after the next pricing sync.
Provider
microsoft
Community Prompts
Proven prompts shared by the community for this model
Loading prompts…
