Skip to content
AI Atlas
ModelActive

Phi 4

Microsofthuggingface.co/microsoft/phi-4

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

Open in Graph
data quality68

Updated 5 h ago · first seen 11 Sept 2026

model_01M294WWM26ZA9FAW9BCD0QYCJ

Overview

Identity

Identity block not returned by the API for this entity.

Openness

Openness not classified yet — no sourced evidence to place this model in the ontology.

Key facts

Release date

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 7 h agomedium

Knowledge cutoff

Source:OpenRouter public model & pricing listingT2observed 12 h agomedium

Model card

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 12 h agomedium

Openrouter id

Source:OpenRouter public model & pricing listingT2observed 12 h agomedium

Architecture

Architecture

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

Model type

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

Parameters

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 12 h agomedium

Weights dtype

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

File size

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

Library name

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

Pipeline tag

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 12 h agomedium

Hugging Face repo

Source:OpenRouter public model & pricing listingT2observed 12 h agomedium

Capabilities

Modalities

Modalities
text
Input
text
Output
text

Capabilities

  • Tool calling

    No

    OpenRouter public model & pricing listing · T2

  • Structured output

    Yes

    OpenRouter public model & pricing listing · T2

  • Reasoning

    No

    Artificial Analysis · T2

  • Vision

    Unavailable

  • Audio

    Unavailable

  • Fine-tuning available

    Unavailable

Context window

Source:OpenRouter public model & pricing listingT2observed 9 h agomedium

Max output

Source:OpenRouter public model & pricing listingT2observed 12 h agomedium

Knowledge cutoff

Source:OpenRouter public model & pricing listingT2observed 12 h agomedium

Languages

Source:Hugging Face Hub (public pages, model cards, papers)T2observed 11 h agomedium

Comparable same task and conditions · Partially comparable same task, conditions differ (effort, temperature, judge) · Not comparable different variant or metric

No benchmark results recorded

Results appear when a tier 1–3 source publishes them; we never copy scores without a source.
Current prices per 1M tokens
ProviderInput / 1MOutput / 1MCached inBatch in / outContextObservedSource
OpenRoutermicrosoft/phi-4$0.07$0.1416.4K4 h agoopenrouter.aiT2

USD per 1M tokens as published by each provider (USD). Rows are append-only: every change is kept in the history below.

Price history

Step lines per provider; amber markers are recorded changes. Click a marker or a row for the evidence behind that price.

Output price · USD / 1M tokens 1 provider

Output price history of Phi 4$0$0.05$0.10$0.15$0.20Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26OpenRouter: first observed → $0.14 · 11 Sept 2026
  • OpenRouter
  • OpenRouterfirst observed $0.1411 Sept 2026

Input price · USD / 1M tokens 1 provider

Input price history of Phi 4$0$0.02$0.04$0.06$0.08$0.10Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26Sept 26OpenRouter: first observed → $0.07 · 11 Sept 2026
  • OpenRouter
  • OpenRouterfirst observed $0.0711 Sept 2026

Hardware fit37

Estimated

37 of 37 device × quantization combinations fit.

Run locally: your machine →
Estimated hardware fit
HardwareQuantizationDevice memoryEst. memoryFits
Apple M3 Ultra4bit8.9 GB est.Yes
Mac Studio (Apple M5 Ultra)4bit8.9 GB est.Yes
Apple M2 Ultra4bit8.9 GB est.Yes
Apple M1 Ultra4bit8.9 GB est.Yes
Apple M3 Max4bit8.9 GB est.Yes
Apple M4 Max4bit8.9 GB est.Yes
Mac Studio (Apple M5 Max)4bit8.9 GB est.Yes
MacBook Pro (Apple M5 Max)4bit8.9 GB est.Yes
Apple M2 Max4bit8.9 GB est.Yes
Apple M1 Max4bit8.9 GB est.Yes
Apple M4 Pro4bit8.9 GB est.Yes
Mac mini (Apple M5 Pro)4bit8.9 GB est.Yes
MacBook Pro (Apple M5 Pro)4bit8.9 GB est.Yes
Apple M3 Pro4bit8.9 GB est.Yes
Apple M1 Pro4bit8.9 GB est.Yes
Apple M2 Pro4bit8.9 GB est.Yes
Apple M44bit8.9 GB est.Yes
iMac (Apple M4)4bit8.9 GB est.Yes
Mac mini (Apple M6)4bit8.9 GB est.Yes
MacBook Air (Apple M5)4bit8.9 GB est.Yes
MacBook Pro (Apple M5)4bit8.9 GB est.Yes
Apple M24bit8.9 GB est.Yes
Apple M34bit8.9 GB est.Yes
Apple M14bit8.9 GB est.Yes
NVIDIA GeForce RTX 30904bit24 GB8.9 GB est.Yes
NVIDIA GeForce RTX 40904bit24 GB8.9 GB est.Yes
NVIDIA GeForce RTX 50904bit32 GB8.9 GB est.Yes
NVIDIA A100 80GB4bit80 GB8.9 GB est.Yes
NVIDIA H100 SXM4bit80 GB8.9 GB est.Yes
NVIDIA H100 NVL4bit94 GB8.9 GB est.Yes
NVIDIA DGX Spark4bit128 GB8.9 GB est.Yes
NVIDIA H2004bit141 GB8.9 GB est.Yes
NVIDIA H200 NVL4bit141 GB8.9 GB est.Yes
NVIDIA B2004bit180 GB8.9 GB est.Yes
AMD Instinct MI300X4bit192 GB8.9 GB est.Yes
AMD Instinct MI325X4bit256 GB8.9 GB est.Yes
NVIDIA DGX B2004bit1,440 GB8.9 GB est.Yes
Assumptions (6)
  • Estimated, not measured: weights = parameters × bytes/param × 1.15 runtime overhead.
  • bytes/param: 4bit = 0.5, 8bit = 1.0, fp16 = 2.0 (uniform quantization, no per-layer exceptions).
  • KV cache approximated at 0.5 GB per 8 192 tokens of context, independent of architecture (GQA/MLA models need less).
  • A model 'fits' when the estimate is at most the device memory minus 2 GB reserved for the OS and framework.
  • Mixture-of-experts models are estimated on total parameters (all experts must be resident); active parameters are ignored.
  • Device memory uses the largest configuration when several are listed (e.g. Apple silicon tiers).

Papers1

  • Context window changedModelPhi 4Microsoft

    Phi 4: context length changed from 16000 to 16384

    Context window16K tokens16.4K tokensopenrouter
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 3.79% on Terminal-Bench

    artificial_analysis
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 0% on τ²-bench

    artificial_analysis
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 23.54% on IFBench

    artificial_analysis
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 3.76% on Humanity's Last Exam

    artificial_analysis
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 57.47% on GPQA

    artificial_analysis
  • Benchmark resultModelPhi 4Microsoft

    Phi 4 scores 5.92 on Artificial Analysis Intelligence Index

    artificial_analysis
  • Context window changedModelPhi 4Microsoft

    Phi 4: context length changed from 16384 to 16000

    Context window16.4K tokens16K tokensartificial_analysis
  • Release date changedModelPhi 4Microsoft

    Phi 4: release date changed from 2024-12-11 to 2025-01-10

    Release date11 Dec 202410 Jan 2025openrouter
  • Release date changedModelPhi 4Microsoft

    Phi 4: release date changed from 2025-01-10 to 2024-12-11

    Release date10 Jan 202511 Dec 2024huggingface
  • New modelModelPhi 4Microsoft

    New model: Phi 4 (Microsoft)

    openrouter
  • Listed by providerModelPhi 4Microsoft

    OpenRouter lists Phi 4 at $0.07 in / $0.14 out per 1M tokens

    openrouter

Change history38

Temporal, append-only claims: a new observation closes the previous claim instead of overwriting it. Rewind the record with the as-of picker.

Viewing AI Atlas as of 1 Jan 2025 — attributes exactly as the atlas knew them on that day; later corrections are not shown.

Back to today →

Phi 4 was not yet in AI Atlas on 1 Jan 2025

First seen 11 Sept 2026. Nothing is inferred backwards: no attribute is shown for dates before the first observation.
38 claims · 34 properties

Release daterelease_date4

Claim history for Release date
ValueValid from → toStatusSourceConfidenceExtractor
11 Dec 2024currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic
10 Jan 2025supersededOpenRouter public model & pricing listingT2mediumdeterministic
11 Dec 2024supersededHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic
10 Jan 2025supersededOpenRouter public model & pricing listingT2mediumdeterministic

Opennessopenness1

Claim history for Openness
ValueValid from → toStatusSourceConfidenceExtractor
open-weightscurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Licenselicense1

Claim history for License
ValueValid from → toStatusSourceConfidenceExtractor
mitcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Architecturearchitecture1

Claim history for Architecture
ValueValid from → toStatusSourceConfidenceExtractor
Phi3ForCausalLMcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Parametersparameter_count1

Claim history for Parameters
ValueValid from → toStatusSourceConfidenceExtractor
14.7BcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Context windowcontext_length2

Claim history for Context window
ValueValid from → toStatusSourceConfidenceExtractor
16K tokenscurrentcurrentArtificial AnalysisT2mediumdeterministic
16.4K tokenssupersededOpenRouter public model & pricing listingT2mediumdeterministic

Max outputmax_output_tokens1

Claim history for Max output
ValueValid from → toStatusSourceConfidenceExtractor
14.8K tokenscurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Knowledge cutoffknowledge_cutoff1

Claim history for Knowledge cutoff
ValueValid from → toStatusSourceConfidenceExtractor
Jun 2024currentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Modalitiesmodalities1

Claim history for Modalities
ValueValid from → toStatusSourceConfidenceExtractor
textcurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Input modalitiesmodalities_input1

Claim history for Input modalities
ValueValid from → toStatusSourceConfidenceExtractor
textcurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Output modalitiesmodalities_output1

Claim history for Output modalities
ValueValid from → toStatusSourceConfidenceExtractor
textcurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Languageslanguages1

Claim history for Languages
ValueValid from → toStatusSourceConfidenceExtractor
encurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

File sizefile_size_gb1

Claim history for File size
ValueValid from → toStatusSourceConfidenceExtractor
29.3 GBcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Hugging Face repohf_repo1

Claim history for Hugging Face repo
ValueValid from → toStatusSourceConfidenceExtractor
microsoft/phi-4currentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Pipeline tagpipeline_tag1

Claim history for Pipeline tag
ValueValid from → toStatusSourceConfidenceExtractor
text-generationcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Model cardmodel_card_url1

Claim history for Model card
ValueValid from → toStatusSourceConfidenceExtractor
https://huggingface.co/microsoft/phi-4currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Downloadsmetric.downloads1

Claim history for Downloads
ValueValid from → toStatusSourceConfidenceExtractor
708,128currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Likesmetric.likes1

Claim history for Likes
ValueValid from → toStatusSourceConfidenceExtractor
2,299currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Descriptiondescription1

Claim history for Description
ValueValid from → toStatusSourceConfidenceExtractor
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...currentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Gatedgated1

Claim history for Gated
ValueValid from → toStatusSourceConfidenceExtractor
NocurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Hf inference providershf_inference_providers1

Claim history for Hf inference providers
ValueValid from → toStatusSourceConfidenceExtractor
deepinfra, featherless-aicurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Last modifiedlast_modified1

Claim history for Last modified
ValueValid from → toStatusSourceConfidenceExtractor
2026-07-14T14:22:25+00:00currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Library namelibrary_name1

Claim history for Library name
ValueValid from → toStatusSourceConfidenceExtractor
transformerscurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

License urllicense_url1

Claim history for License url
ValueValid from → toStatusSourceConfidenceExtractor
https://huggingface.co/microsoft/phi-4/resolve/main/LICENSEcurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Aa median output tokens per secondmetric.aa_median_output_tokens_per_second1

Claim history for Aa median output tokens per second
ValueValid from → toStatusSourceConfidenceExtractor
40.7currentcurrentArtificial AnalysisT2mediumdeterministic

Downloads all timemetric.downloads_all_time1

Claim history for Downloads all time
ValueValid from → toStatusSourceConfidenceExtractor
14,247,419currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Model typemodel_type1

Claim history for Model type
ValueValid from → toStatusSourceConfidenceExtractor
phi3currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Openrouter idopenrouter_id1

Claim history for Openrouter id
ValueValid from → toStatusSourceConfidenceExtractor
microsoft/phi-4currentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Reasoningreasoning1

Claim history for Reasoning
ValueValid from → toStatusSourceConfidenceExtractor
NocurrentcurrentArtificial AnalysisT2mediumdeterministic

Structured outputstructured_output1

Claim history for Structured output
ValueValid from → toStatusSourceConfidenceExtractor
YescurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Supported parameterssupported_parameters1

Claim history for Supported parameters
ValueValid from → toStatusSourceConfidenceExtractor
frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_pcurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Tagstags1

Claim history for Tags
ValueValid from → toStatusSourceConfidenceExtractor
transformers, safetensors, phi3, text-generation, phi, nlp, math, code, chat, encurrentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Tool callingtool_calling1

Claim history for Tool calling
ValueValid from → toStatusSourceConfidenceExtractor
NocurrentcurrentOpenRouter public model & pricing listingT2mediumdeterministic

Weights dtypeweights_dtype1

Claim history for Weights dtype
ValueValid from → toStatusSourceConfidenceExtractor
BF16currentcurrentHugging Face Hub (public pages, model cards, papers)T2mediumdeterministic

Claims are temporal and append-only: a new observation closes the previous claim (valid_to) instead of overwriting it. Conflicting claims from different sources are kept side by side and flagged — never averaged. Methodology →

Provenance

Attributed facts

35

Source tiers

T235

Freshest observation

5 h ago

Conflicts

None

Source documents 5

Source documents
SourceDocumentTypeTierLast observedSnapshots
OpenRouter public model & pricing listingopenrouter.ai/api/v1/models catalogueT2· Quality secondary4 h ago6
Hugging Face Hub (public pages, model cards, papers)huggingface.co/microsoft/phi-4/raw/main/README.md model_cardT2· Quality secondary5 h ago1
Hugging Face Hub (public pages, model cards, papers)huggingface.co/microsoft/phi-4 model_pageT2· Quality secondary6 h ago5
Hugging Face Hub (public pages, model cards, papers)huggingface.co/models?author=microsoft&p=0&sort=downloads listingT2· Quality secondary6 h ago6
Artificial Analysisartificialanalysis.ai/leaderboards/models leaderboardT2· Quality secondary10 h ago1

Tier 1 = official/primary, 2 = quality secondary, 3 = community, 4 = unverified. Every snapshot is archived; see all sources and the methodology.

Data quality (68/100) measures how well AI Atlas knows this entity — completeness, primary-source ratio, freshness, conflicts — never how good the model is. Methodology →