Phi 4

Microsoft model details for pricing, context, and release tracking.

Pricing data updated:  Prices normalized to USD per 1M tokens Sample workload: 1M input + 500K output
Model Specs
ProviderMicrosoft
Model IDmicrosoft/phi-4
Prompt Price
per 1M tokens
$0.065
Completion Price
per 1M tokens
$0.14
Sample Workload Cost
1M input + 500K output
$0.14
Context Window16.38K
Release Date2025-01-10
Popularity RankUnranked
Daily DemandN/A

Estimate your workload cost

Estimate this model for your workload

Prices are normalized to USD per 1M tokens.
Phi 4 Calculating… Estimated monthly API cost
Unit prices $0.065 input / $0.14 output Per 1M tokens

This estimate uses normalized public API pricing per 1M tokens. It is a planning aid, not a billing quote. Verify provider pricing, limits, and terms before production use.

Model Introduction

[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...

Best Fit

Phi 4 is best suited for cost-sensitive production traffic.

Cost Example

A 1M input token plus 500K output token workload is estimated at $0.14.

Decision Shortcuts

Compare this model

Search head-to-head pages that include Phi 4 and review input price, output price, context, and sample workload cost.

Find comparisons

Microsoft catalog

See other Microsoft models before narrowing your shortlist.

Open provider hub

Cheaper alternatives

Start from models ranked by a standard cost estimate when budget is the first constraint.

Browse low-cost models

Popular Comparisons

Search all comparisons
ComparisonNewest Release
No related comparisons are available yet.