TokenRate

Microsoft API Pricing

Microsoft's Phi family of small language models (SLMs) is designed for edge and on-device inference. Phi-4 delivers frontier-class reasoning within a 14B parameter footprint, optimized for STEM and coding tasks.

Official site: azure.microsoft.com/en-us/products/phi →

Cheapest

Phi-4

$0.070/1M in

Flagship

Phi-4

$0.070/1M in

Models

1 tracked

All tiers, latest pricing.

All Microsoft Models

ModelTierInput / 1MOutput / 1MContext
Phi-4fast$0.070$0.14016K

Model Details

Calculate Microsoft API Costs

Use the TokenRate calculator to estimate exactly what Microsoft models will cost for your workload.

Open Calculator →

Other Providers