Phi-1

Released
2023-06-01
Last refreshed
2026-10-13
Status
Researched 196d ago
Open sourceCommercial use: permitted

Phi-1 has tracked benchmark evidence for general LLM work with open-source; evaluate it while provider pricing coverage matures.

Ask AI about Phi-1

Microsoft Research releases · 7 in the last 12 monthsChangelog →
Specifications
Family
Phi-1
Released
2023-06-01
Context
2K
Parameters
1.3B
Architecture
Decoder Only
Specialization
general
Openness
Open source
License
MITOSI-approvedPermitted
Weights
Unknown
Code
Unknown
Training
Fine-tuned
Created by

Advancing the state-of-the-art in AI and computing.

Redmond, Washington, United States
Founded 1991
Website
Pricing

No tracked provider pricing is available yet.

About

Phi-1 is a compact, transformer-based large language model designed for basic Python coding, featuring 1.3 billion parameters. Despite its smaller size compared to many LLMs, Phi-1 maintains high accuracy, especially in Python code generation, demonstrating over 50% accuracy on simple coding tasks. It benefits from a unique architecture with rotary position embeddings, flash attention, and deep normalization. Trained on high-quality data, it focuses on structured and synthetically generated content, showcasing that data quality can trump quantity. However, while efficient and suitable for resource-limited environments, Phi-1 faces challenges with complex tasks and risks producing inaccurate or insecure code.

Providers

No active provider routes are tracked for this model yet.

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Coding

No task-mapped benchmark peers are available for this model yet.

Benchmark scores(2)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
20.7Open LLM Leaderboard v2 (IFEval raw accuracy x100, not normalized)Observed 2026-11-20
Configuration: microsoft/phi-1 (bfloat16)
Harness: Open LLM Leaderboard v2 (EleutherAI lm-evaluation-harness leaderboard tasks)
Evaluator: Hugging Face Open LLM Leaderboard
Confidence: confirmed
Notes: Open LLM Leaderboard v2 results dataset (HF open-llm-leaderboard/contents @9c09a7ca, final snapshot 2025-03-20; the leaderboard is archived). Entry 'microsoft/phi-1' precision bfloat16, model sha b9ac0e6d78d4, submitted 2024-06-13, Official Providers True: 'IFEval Raw' 0.2068 (fraction), stored as 20.68 percent (raw accuracy x100, not the leaderboard's baseline-normalized 'IFEval' column). Repo join: maker-org repo microsoft/phi-1 matched to the catalog model by exact normalized name (catalog huggingFace field was empty or pointed to this repo). Retrieved 2026-11-20.
31.4Open LLM Leaderboard v2 (BBH raw accuracy x100, not normalized)Observed 2026-11-20
Configuration: microsoft/phi-1 (bfloat16)
Harness: Open LLM Leaderboard v2 (EleutherAI lm-evaluation-harness leaderboard tasks)
Evaluator: Hugging Face Open LLM Leaderboard
Confidence: confirmed
Notes: Open LLM Leaderboard v2 results dataset (HF open-llm-leaderboard/contents @9c09a7ca, final snapshot 2025-03-20; the leaderboard is archived). Entry 'microsoft/phi-1' precision bfloat16, model sha b9ac0e6d78d4, submitted 2024-06-13, Official Providers True: 'BBH Raw' 0.3139 (fraction), stored as 31.39 percent (raw accuracy x100, not the leaderboard's baseline-normalized 'BBH' column). Repo join: maker-org repo microsoft/phi-1 matched to the catalog model by exact normalized name (catalog huggingFace field was empty or pointed to this repo). Retrieved 2026-11-20.

Migration checks

No linked migration route is available for this model yet.