PriceIndex
Microsoft logo

AI lab

Microsoft API pricing & models

azure.microsoft.com

Phi small language models and Azure AI hosting. We track 2 Microsoft models, priced from $0.07 per 1M input tokens with context windows up to 66K tokens.

2

Models tracked

Text & Reasoning · Code & SLMs

$0.09

Cheapest model

Phi-4

5.9

Top quality score

Phi-4

66K

Largest context

6-mo price trend -3%

Price list

All Microsoft models and prices

Current Microsoft API prices per 1M tokens, context windows and benchmark scores. Click a column to sort, or a model for full pricing details.

Input /1M
$0.07
Output /1M
$0.14
Context
16K
AA Intelligence
5.9
DesignArena Elo
—
Arena Elo
1123
MMLU-Pro
60.7
30d trend
-16%
Input /1M
$0.62
Output /1M
$0.62
Context
66K
AA Intelligence
—
DesignArena Elo
—
Arena Elo
—
MMLU-Pro
—
30d trend
0%

Microsoft input vs output prices

USD per 1M tokens for each model.

  • Phi-4: $0.07 input, $0.14 output per million tokens.
  • WizardLM-2 8x22B: $0.62 input, $0.62 output per million tokens.

Microsoft price history

Blended price per 1M tokens over the last 6 months.

By use case

Microsoft models by category

Text & Reasoning

2 models · cheapest

Phi-4

$0.09 blended / 1M

Code & SLMs

1 model · cheapest

Phi-4

$0.09 blended / 1M

Comparisons

Microsoft vs other AI providers

Compare Phi-4 with models from other AI providers, including pricing and benchmark results.

FAQ

Microsoft pricing FAQ

Tracked active Microsoft models range from $0.07 to $0.62 per million input tokens. Output rates are listed separately for each model. Prices vary by model and API endpoint; these are token rates, not a subscription quote.

Phi-4 is the lowest blended-price option among tracked active non-embedding models, or among all models if only embeddings are listed: $0.07 input and $0.14 output per million tokens ($0.09 blended). Blended pricing uses 75% input and 25% output for generation models; your cheapest option may differ with your workload.

Phi-4 has the highest listed Artificial Analysis Intelligence Index score among tracked active Microsoft models: 5.9. This is one evaluation, not a guarantee of the best result for every task. Models without measured results are not ranked as zero.

Multiply input tokens in millions by the input rate and add output tokens in millions multiplied by the output rate. For example, 20 million input and 5 million output tokens on Phi-4 cost an estimated $2.10 at the listed rates. This excludes tool charges, cache-specific charges, taxes and any endpoint-specific adjustments.

WizardLM-2 8x22B has a listed context window of 66K tokens, the largest among tracked active Microsoft models. Context capacity and maximum response length are separate limits; verify both on the model page and in the endpoint documentation.

Phi-4 has the most recent listed release date among tracked active Microsoft models: 2024-12. Models without a usable release date are excluded from this comparison. Catalog release dates do not guarantee immediate API availability.

Image-input support is not currently listed for the tracked models. Missing capability data is not proof that image input is unavailable; confirm with the provider's documentation.

No cached-input rates are currently listed for this provider's tracked models. Check endpoint documentation for caching eligibility and charges rather than assuming a discount.

Tool-calling capabilities are not currently listed for these models. Unlisted support is not the same as confirmed lack of support; check each model and the endpoint documentation.

Compare scores within the same evaluation: Artificial Analysis Intelligence Index, DesignArena Elo, general Arena Elo and MMLU-Pro use different tasks and scales. Missing results are not zeroes. Pair a relevant measured benchmark with input/output pricing and tests of your own workload; the cheapest or highest-scoring model is not automatically the best fit.

The price list shows active models by default. Turn on Show retired models to include retired catalog entries, where available. A retained model page preserves reference information, not a promise that its API is still available.

Microsoft is categorized as an AI lab in this catalog. Individual model pages list available API hosts separately; model creator and API host are different roles.

Explore

Other AI providers

Compare all AI providers