Phi-3 Medium 4K

Released
2024-05-21
Last refreshed
2026-10-05
Status
Researched 170d ago
Open sourceCommercial use: permittedCodingClassificationJSON / Tool use
Microsoft Research releases · 6 in the last 12 monthsChangelog →
Specifications
Family
Phi-3
Released
2024-05-21
Context
4k
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
$0.410
Input / 1M
$0.140

Cheapest of 3 routes · DeepInfra

About

The Phi-3 Medium 4K, developed by Microsoft, is a state-of-the-art large language model with 14 billion parameters. It is engineered for efficiency across various tasks, particularly excelling in reasoning capabilities. This model is designed to handle 4,096 token context lengths, allowing for the processing of longer input sequences. Leveraging a dense, decoder-only Transformer architecture, it incorporates techniques like supervised fine-tuning and direct preference optimization to align with human preferences and safety standards. The model supports multilingual data, although it is primarily trained in English.

Provider price ladder

Compare all 3

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

ProviderInput / 1MOutput / 1MRoute
DeepInfra$0.140$0.410
Serverless
Microsoft Foundry$0.450$1.35
ServerlessProvisioned
NVIDIA NIM--
ProvisionedPartial

Available via routers & gateways(6)

Capabilities

Structured Outputs

Benchmark peer barsfor Coding

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
HumanEval52.7pass@1Observed 2026-03-06—Source
Massive Multitask Language Understanding68.95-shotObserved 2026-03-06—Source

Migration checks

No linked migration route is available for this model yet.