Phi 4 launch post cover

Cost/1M tokens

input
$0.07
output
$0.14
Context
16Ktokens
Released
1y ago
Size
14Bparameters

Phi-4 is an open-weight text-generation model from Microsoft whose training data extends that used for Phi-3, and which later variants including Phi-4-mini, Phi-4-multimodal, and Phi-4-reasoning were built on. Microsoft announced it as its newest small language model, one specializing in complex reasoning. The model card positions it for reasoning-focused text tasks such as math, coding, and general knowledge, drawing on curated and synthetic textbook-like training data.

How it compares

Score vs. cost

Each model at its best score · Dashed: the best score at each cost

  • Microsoft AI
  • Moonshot AI
  • Thinking Machines Lab
  • Z.ai
  • OpenAI
  • Google DeepMind
  • Meta
  • Anthropic
  • Xiaomi
  • IBM
Size class

Small14BAn open-weight model of 5 to 25 billion parameters, the size that runs on a single consumer GPU.

Vs. your stack

Add the models you use to see how this one compares.

Sign in
Vs. what you use
Is Phi 4 better than what you use?BetterSameWorse

No verdicts yet

Family tree

Models trained from one another, as their makers describe it.

Discussion

Sign in to join the discussion

No comments yet

Be the first to share your thoughts.

Additional source evidence
Source model
microsoft/phi-4
Source family
phi
Last updated
2024-12-12
Knowledge cutoff
2024-06
Model context
16K
Model output limit
16K
Open weights
Yes
File attachments
No
Reasoning
No
Tool calling
No
Temperature control
Yes

Downloadable weights

Complete source record (JSON)
{
  "id": "microsoft/phi-4",
  "name": "Phi-4",
  "description": "Compact Microsoft model trained on synthetic data for reasoning, math, and coding in English",
  "family": "phi",
  "last_updated": "2024-12-12",
  "knowledge": "2024-06",
  "attachment": false,
  "reasoning": false,
  "tool_call": false,
  "temperature": true,
  "modalities": {
    "input": [
      "text"
    ],
    "output": [
      "text"
    ]
  },
  "limit": {
    "context": 16384,
    "output": 16384
  },
  "release_date": "2024-12-12",
  "open_weights": true,
  "license": "MIT",
  "weights": [
    {
      "label": "Hugging Face",
      "url": "https://huggingface.co/microsoft/phi-4"
    }
  ]
}

Frequently asked questions

Running locally

Generated from Vertical Tabs data, updated November 29, 2026.

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.