Phi-4

Microsoft
Phi-4 combines 14 billion dense parameters with a 16,384-token context. Microsoft trained the checkpoint on 9.8 trillion tokens, including a substantial share of synthetic and curated data. The weights use the MIT license.
Microsoft describes Phi-4 as a development of the Phi-3 line with only small architectural changes. The gains are attributed mainly to data mixture, curriculum, and post-training. The model card identifies English as the primary language.
| Specification | Value and source |
|---|---|
| Weights | Open weightsSource |
| Access | API, LocalSource |
| Parameters | 14BSource |
| Context window | 16,384 tokensSource |
| Knowledge cutoff | June 2024Source |
| Notes | Trained on 9.8T tokens, excels at math/reasoningSource |
| License | MITSource |
| Release | 2024-12-12Source |
| Parameters | 14 BSource |
| Knowledge cutoff | 2024-06Source |
| Training tokens | 9.8TSource |
| Architecture | dense decoder-only TransformerSource |
| Input | TextSource |
| Output | TextSource |
| Languages | EnglishSource |
Benchmark meta-analysis
These Gradually indexes place selected published measurements on a 0 to 100 scale. They are not accuracy percentages and do not guarantee results in your application.
Retrieval dates of the sources used 2026-10-19 - 2026-10-19
Not enough independent results for a score yet
An overall score needs at least eight test series.
provisional
Published configurations differ within this comparison cohort. Treat the index as provisional.
Index below 1 / 100
provisional
Published configurations differ within this comparison cohort. Treat the index as provisional.
Method version: benchmark-meta-score-v3
The index includes active measurements from reviewed primary sources when at least five models are compared in the same documented comparison slice across dataset, harness, agent, tools, and trial count. Each benchmark series and evaluator contributes one shared setup slice from the newest capture. When one source and series include several explicitly documented reasoning tiers, the highest documented tier (none through max) is selected, never the best result value. The explicit source label “Non-reasoning” is treated as none. Unknown or ambiguous tiers exclude the model from that series. Within each series, percentages and rates are logit-transformed, other units stay unchanged, and all values are then standardized. A one-factor model then estimates one shared strength per model and, per series, how sharply it separates the models. Area scores move away from that strength only as far as the model's own results in the area support. The overall score weights the core areas at 75% and finance, law and health at 25%. It requires at least eight test series from two sources and three areas. The 0 to 100 scale refers to a fixed reference group of 29 language models whose average sits at 50.
Published model-specific parameters can differ. This is not a controlled experiment; comparisons with such differences are marked provisional.
Unmeasured series are not entered as zero. Where a model has no own results in a core area, its overall strength stands in, and the note “estimated without own results in …” names the area. Fewer test series lead to a larger standard error.
The 95% interval follows from the standard error of 200 recalculations with randomly redrawn test families. It describes how precisely the recorded test series determine the value. It is no prediction for future tasks or for later recalculations with other participants.
The source count is not a count of independent experiments.
OECD handbook on composite indicatorsAll 1 test families and 1 of 1 raw measurements are listed here. The complete calculation for every model is available in the JSON export.
Family weight in the fixed test panel (informative): 2.14 % · Coverage of this test family: 100 %
Published configurations differ within this cohort.
Each evaluator measures different capabilities under its own conditions. Test series, composite indices and their components stay separate. The detailed results below retain their scales, configurations and source dates.
| Evaluator | Test series | Composite indices | Recorded active measurements |
|---|---|---|---|
| Artificial Analysis | 2 | 1 | 11 |
Coverage is not a quality ranking. Overlapping tests and multiple settings do not count as independent experiments. Vendor claims, historical and disputed results are excluded from this overview and remain labelled in the detailed evidence.
6 measurements from these sources still lack a verified test-family identity and do not increase the test-series count.
Page 1 of 2
These measurements have no matching peer values under the same test conditions. Their original values and sources remain available here.
Page 1 of 2
One SVG prompt and fixed output settings. Captures are shown only with 0 reported reasoning tokens or documented lack of reasoning controls. Identical test conditions do not make the models' internal compute identical.

A community classic for free-form SVG drawing.
Phi-4

Reasoning (requested): not specified
Visually reviewed. This individual test does not establish overall model quality.
Generate an SVG of a pelican riding a bicycle
Token limit including reasoning: 8,192 tokens
Task origin (Simon Willison)56.9 / 100
Official documentation
Microsoft's Phi-4 Technical Report states phi-4 was built with 'minimal changes to the phi-3 architecture', crediting improved data, training curriculum and post-training for its gains over that base.
Phi-4 Technical Report (arXiv:2412.08905) (2026-09-19)| Type | Evidence and data date |
|---|---|
| Speed | Microsoft. Output speed after the first streaming chunk, not total response time. Retrieved September 8, 2026. |
| Price | Base API prices without caching or batch discounts. Higher context tiers and other rates are listed under Costs. |
| Input | Documented modalities. Retrieved September 8, 2026. |
| Output | Documented modalities. Retrieved September 8, 2026. |
| Research status | Research date September 8, 2026. 2 source URLs checked. This documents the inspected sources, not an exhaustive inventory of every publication. |
| Not found in the inspected sources | active-parameters-billions Original wording The exact Phi-4 model is dense; the card does not publish a separate active-parameter count. |
| Additional source | Artificial Analysis (retrieved October 19, 2026) |
| Additional source | Artificial Analysis (retrieved October 19, 2026) |
| Additional source | Phi-4 technical paper · Editorial description reviewed October 2, 2026 |
| Additional source | OpenRouter: Popularity index (derived), CC BY 4.0 |
| Additional source | Vercel AI Gateway: Popularity index (derived), CC BY 4.0 |
| Additional source | Ollama: cumulative downloads for the popularity index |
| Additional source | Replicate: cumulative runs for the popularity index |
| Additional source | Google Trending Now: limited feed selection for Germany and the US |
| Additional source | Creative Commons Attribution 4.0 |