LLM Reference

Phi-1

Released
2023-06-01
Last refreshed
2026-05-19
Status
Researched 60d ago
Open sourceCommercial use: permitted

Phi-1 is released 2023-06-01 in the Phi-1 family with open-source; evaluate it while provider pricing coverage matures.

Use it for

  • Teams evaluating general LLM work
  • Workloads that can use a 2k context window

Do not use it for

  • Cost-sensitive launches that need sourced token pricing
  • Vision or document-understanding workloads
  • Strict JSON or tool-calling flows
Specifications
Family
Phi-1
Released
2023-06-01
Context
2k
Parameters
1.3B
Architecture
Decoder Only
Specialization
general
Openness
Open source
License
MITOSI-approvedCommercial use: permitted
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 token 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. Its output often requires careful review and testing.

Phi-1 is an open-source model. The structured metadata tracks a 2k-token context window. No headline benchmark score is tracked for Phi-1 yet.

Top use-case fit

No primary decision-task fit is mapped for this model yet.

Provider price ladder

No tracked provider token pricing is available 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.

Migration checks

No linked migration route is available for this model yet.

Frequently asked questions

What is the context window of Phi-1?

Phi-1 has a context window of 2k tokens.

When was Phi-1 released?

Phi-1 was released on 2023-06-01.