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.
All Microsoft Models
| Model | Tier | Input / 1M | Output / 1M | Context |
|---|---|---|---|---|
| Phi-4 | fast | $0.070 | $0.140 | 16K |
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
Anthropic pricing22 Anthropic models with full pricing.OpenAI pricing67 OpenAI models with full pricing.Google pricing32 Google models with full pricing.Meta pricing11 Meta models with full pricing.DeepSeek pricing15 DeepSeek models with full pricing.xAI pricing10 xAI models with full pricing.Mistral pricing23 Mistral models with full pricing.Qwen pricing43 Qwen models with full pricing.Cohere pricing7 Cohere models with full pricing.Amazon pricing5 Amazon models with full pricing.Zhipu AI pricing16 Zhipu AI models with full pricing.Moonshot AI pricing8 Moonshot AI models with full pricing.NVIDIA pricing6 NVIDIA models with full pricing.MiniMax pricing9 MiniMax models with full pricing.Perplexity pricing5 Perplexity models with full pricing.Nous Research pricing3 Nous Research models with full pricing.ByteDance pricing7 ByteDance models with full pricing.Arcee AI pricing0 Arcee AI models with full pricing.AI21 Labs pricing0 AI21 Labs models with full pricing.Reka AI pricing2 Reka AI models with full pricing.IBM pricing1 IBM models with full pricing.Tencent pricing7 Tencent models with full pricing.Inflection AI pricing0 Inflection AI models with full pricing.Liquid AI pricing2 Liquid AI models with full pricing.Allen Institute for AI pricing0 Allen Institute for AI models with full pricing.Baidu pricing0 Baidu models with full pricing.Writer pricing1 Writer models with full pricing.Upstage pricing3 Upstage models with full pricing.