Phi-3 Medium 128K

Released
2024-05-21
Last refreshed
2026-10-05
Status
Researched 15d ago
Open sourceCommercial use: permittedCodingLong contextClassification
Microsoft Research releases · 6 in the last 12 monthsChangelog →
Specifications
Family
Phi-3
Released
2024-05-21
Context
128k
Parameters
14B
Architecture
Decoder Only
Knowledge cutoff
2023-10
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
Output / 1M
$1.50
Input / 1M
$0.500

Cheapest of 2 routes · Microsoft Foundry

About

The Phi-3 Medium 128K is an open-source, 14-billion parameter language model by Microsoft, designed for efficient operation in resource-limited environments. Noted for its state-of-the-art performance on reasoning tasks, it excels in language understanding, code generation, and logical reasoning while offering a long context window of up to 128,000 tokens, making it ideal for applications like summarizing lengthy documents. Its dense decoder-only Transformer architecture has been refined with supervised fine-tuning and preference optimization to enhance instruction-following capabilities. Additionally, Phi-3 Medium 128K is optimized for diverse hardware platforms, ensuring broad accessibility and performance 12.

Top use-case fit: coding, agents, and build tasks

Coding

Q/$ C

Classification

Q/$ D

Provider price ladder

Compare all 2

Compare API pricing across 2 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Microsoft Foundry$0.500$1.50
ServerlessProvisioned
NVIDIA NIM--
ProvisionedPartial

Available via routers & gateways(6)

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Coding

Benchmark scores(3)

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
HumanEval52.2pass@1Observed 2026-03-06—Source
Massive Multitask Language Understanding75.35-shotObserved 2026-03-06—Source
MMLU PRO51.9—Observed 2026-04-14—Source

Migration checks

No linked migration route is available for this model yet.

Compare Phi-3 Medium 128K with other models