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.065/1M in

Flagship

WizardLM-2 8x22B

$0.620/1M in

Models

3 tracked

All tiers, latest pricing.

All Microsoft Models

ModelTierInput / 1MOutput / 1MContext
Phi-4fast$0.065$0.14016K
Phi 4 Mini Instructfast$0.080$0.350131K
WizardLM-2 8x22Bbalanced$0.620$0.62066K

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