Skip to content

Model Library

MicrosoftReleased December 12, 2024

Phi-4

Microsoft · Released December 12, 2024

Intelligence score

5

At a glance

Intelligence
5
Speed
33.6tokens/sec
Latency
2.11stime to first token
Input price
$0.13per 1M tokens
Output price
$0.50per 1M tokens
Context window
16Ktokens
Parameters
14billions

Summary

Comparison summary

Phi-4 scores 5 (estimated) on the Artificial Analysis Intelligence Index, placing it below average among other open weight non-reasoning models of similar size (median: 6). Phi-4 generates output at 33.6 tokens per second (based on Microsoft's API), which is at the lower end compared to other open weight non-reasoning models of similar size (median: 101.8 t/s). Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.15) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.32), based on Microsoft's API.

Specifications

Technical specifications

Model namePhi-4
ProviderMicrosoft
Release dateDecember 12, 2024
Intelligence score5
Speed33.6 tokens/sec
Latency (TTFT)2.11s
Input price$0.13 / 1M tokens
Output price$0.50 / 1M tokens
Context window16,000 tokens
Parameters14B
ReasoningNo
Input modalitiestext
Output modalities—
Open weightsYes
LicenseMIT
API availability—
SourceModel Intelligence legacy profile: phi-4

Pricing

Token prices

Price per 1M tokens

Phi-4, as listed in the catalog record

Input $0.13 and output $0.50 per 1M tokens. Missing prices are hatched and marked "Not published".
  1. Input$0.13
  2. Output$0.50

Model Intelligence legacy profile: phi-4

FAQ · 20

Frequently asked questions

Phi-4 was released on December 12, 2024.

Phi-4 was created by Microsoft.

Phi-4 scores 5 (estimated) on the Artificial Analysis Intelligence Index, placing it below average among other open weight non-reasoning models of similar size (median: 6).

Phi-4 generates output at 33.6 tokens per second (based on Microsoft's API), which is at the lower end compared to other open weight non-reasoning models of similar size (median: 101.8 t/s).

Phi-4 has a time to first token (TTFT) of 2.11s (based on Microsoft's API), which is somewhat higher than average compared to other open weight non-reasoning models of similar size (median: 1.54s).

Phi-4 costs $0.13 per 1M input tokens (better than average, median: $0.15) and $0.50 per 1M output tokens (somewhat higher than average, median: $0.32), based on Microsoft's API.

Phi-4 costs $0.13 per 1M input tokens and $0.50 per 1M output tokens (based on Microsoft's API). For a blended rate (7:2:1 cache hit/input/output ratio), this is $0.16 per 1M tokens. Pricing may vary by provider.

No, Phi-4 is not a reasoning model. It provides direct responses without extended chain-of-thought reasoning.

Phi-4 supports text only input.

Phi-4 supports text only output.

No, Phi-4 does not support image input. It can only process text.

No, Phi-4 is not multimodal. It only supports text only input.

Phi-4 has a context window of 16k tokens. This determines how much text and conversation history the model can process in a single request.

Yes, Phi-4 is open weights. The model weights are publicly available and can be downloaded for self-hosting.

Phi-4 has 14 billion parameters.

Phi-4 is released under the MIT license. This license allows commercial use.

Phi-4 achieves a score of 5 on the Artificial Analysis Intelligence Index. This composite benchmark evaluates models across reasoning, knowledge, mathematics, and coding.

Phi-4 has a knowledge cutoff of June 2024. The model's training data includes information up to this date.

Yes, Phi-4 is available via API through 2 providers.

Phi-4 is available through 2 API providers.