Phi-3 Mini 128K

Released
2024-04-23
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-04-23
Context
128k
Parameters
3.8B
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
$0.100
Input / 1M
$0.100

Cheapest of 5 routes · Fireworks AI

About

Phi-3 Mini-128K-Instruct, developed by Microsoft, is a 3.8 billion-parameter large language model renowned for its lightweight, open-source architecture. Despite its modest size, it excels in reasoning tasks, particularly in math and logic, and showcases strong code generation capabilities. A standout feature is its remarkable ability to handle up to 128,000 tokens, allowing it to process extensive text documents and codebases efficiently. While it has limitations in factual knowledge and focuses primarily on English, it strikes a balance between performance and efficiency, making it ideal for resource-constrained environments.

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

Coding

Q/$ A

Classification

Q/$ B

Provider price ladder

Compare all 5

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

ProviderInput / 1MOutput / 1MRoute
Fireworks AI$0.100$0.100
Provisioned
Replicate API$0.050$0.250
Serverless
Microsoft Foundry$0.300$0.900
ServerlessProvisioned
Baseten API--
ServerlessPartial

Available via routers & gateways(7)

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Coding

Benchmark scores(7)

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
Google-Proof Q&A50.8diamondObserved 2026-03-06—Source
HellaSwag90.210-shotObserved 2026-03-06—Source
HumanEval75.9pass@1Observed 2026-03-06—Source
Massive Multitask Language Understanding76.55-shotObserved 2026-03-06—Source
MMLU PRO43.9—Observed 2026-04-14—Source
Grade School Math 8K84.9—Observed 2026-05-28—Source
AI2 Reasoning Challenge78.6—Observed 2026-05-28—Source

Migration checks

No linked migration route is available for this model yet.