microsoftListed Dec 11, 2024

phi-4

Phi-4 is a model built upon a blend of synthetic datasets, data from filtered public domain websites, and acquired academic books and Q&A datasets. The goal of this approach was to ensure that small capable models were trained with data focused on high quality and advanced reasoning.

Context window16.4K
Max output14.7K
Provider endpoints6
Benchmark results0
Measured performance

Benchmark results

All leaderboards ↗
—

No published results in this index yet

Scores appear here when an evaluation matches this exact model.

Access & cost

Prices across providers

6 quotes

Your token mix

USD · listed token rates

$0.105
DeepInfra · via OpenRouterdeepinfra/bf16/flex · tier=flex · quantization=bf16
$0.084
DeepInfra · via OpenRouterdeepinfra/bf16 · quantization=bf16
$0.105

OpenRouter

Catalog quote
Input
$0.07
Output
$0.14
USD / 1M tokens
16.4K context14.7K max outputPrice source ↗Checked Oct 18, 2026
Endpoint IDmicrosoft/phi-4

deepinfra

via Hugging Face
Input
$0.07
Output
$0.14
USD / 1M tokens
16.4K contextPrice source ↗Checked Oct 18, 2026
Endpoint IDmicrosoft/phi-4

DeepInfra

via OpenRouter

deepinfra/bf16/flex · tier=flex · quantization=bf16

Input
$0.056
Output
$0.112
USD / 1M tokens
16.4K context14.7K max outputPrice source ↗Checked Oct 18, 2026
Endpoint IDmicrosoft/phi-4::deepinfra/bf16/flex

DeepInfra

via OpenRouter

deepinfra/bf16 · quantization=bf16

Input
$0.07
Output
$0.14
USD / 1M tokens

Max prompt 4096 tokens

16.4K context14.7K max outputPrice source ↗Checked Oct 18, 2026
Endpoint IDmicrosoft/phi-4::deepinfra/bf16

Model specifications

Developer
microsoft
Modality
Language
Context
16,384 tokens
Maximum output
14,745 tokens
Weights
Open weights
Provider listed
Dec 11, 2024
First discovered
Oct 16, 2026

Exact identities

  • openroutermicrosoft/phi-4
  • huggingfacemicrosoft/phi-4
  • deepinframicrosoft/phi-4

Sources

Updated Oct 18, 2026

More from microsoft

View all ↗
microsoftListed Sep 3

Microsoft AI: MAI-Transcribe 2

MAI-Transcribe 2 is a multilingual speech-to-text model from Microsoft AI, ranked #1 on the FLEURS multilingual benchmark. It supports 60 languages with automatic language identification, code switching for…

Audio inputNo reported score
No reported score
$100,000.00in$0.00out/ 1M tokens · USDOpenRouter
microsoftListed Jun 2

Microsoft AI: MAI-Transcribe 1.5

MAI-Transcribe 1.5 is a multilingual speech-to-text model from Microsoft AI. It is suited for captions, call transcription, subtitling, accessibility, and other voice-enabled applications, with reliable…

Audio inputNo reported score
No reported score
$360,000.00in$0.00out/ 1M tokens · USDOpenRouter
microsoftListed Apr 16

WizardLM-2 8x22B

WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing…

65.5K contextStructured outputOpen weightsNo reported score
No reported score
$0.62in$0.62out/ 1M tokens · USDNovita · via OpenRouter · 2 endpointsnovita/bf16 · quantization=bf16