Microsoft API pricing

All 20 Microsoft models with a live API price, cheapest input from $0.07 per 1M tokens. Sort by price, context window or benchmark, filter by capability, and copy the exact model ID for any serving provider. Verified against LiteLLM and OpenRouter daily.

Models

20

with a live API

Cheapest input

$0.07

per 1M tokens

Cheapest output

$0.10

per 1M tokens

Max context

131K

tokens

Capability
Phi 4Microsoft16K$0.07 from$0.14 from4.9n/a57%2 providers
Phi 3 Mini 128k InstructMicrosoft131K$0.10 from$0.10 fromn/an/an/a2 providers
WizardLM-2 8x22BMicrosoft66K$0.48 from$0.48 fromn/an/an/a2 providers
Phi 4 Mini InstructMicrosoft131K$0.07 $0.30 n/an/an/a
Azure cheapest
azure_ai/Phi-4-mini-instruct
Phi 4 Mini ReasoningMicrosoft131K$0.08 $0.32 n/an/an/a
Azure cheapest
azure_ai/Phi-4-mini-reasoning
Phi 4 Multimodal InstructMicrosoft131K$0.08 $0.32 n/an/an/a
Azure cheapest
azure_ai/Phi-4-multimodal-instruct
Phi 2 3BMicrosoft2K$0.10 $0.10 n/an/an/a
Fireworks AI cheapest
fireworks_ai/accounts/fireworks/models/phi-2-3b
Phi 4 ReasoningMicrosoft33K$0.13 $0.50 n/an/an/a
Azure cheapest
azure_ai/Phi-4-reasoning
Phi 3.5 Mini InstructMicrosoft128K$0.13 $0.52 n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-mini-instruct
Phi 3.5 Vision InstructMicrosoft128K$0.13 $0.52 n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-vision-instruct
Phi 3 Mini 4k InstructMicrosoft4K$0.13 $0.52 n/an/an/a
Azure cheapest
azure_ai/Phi-3-mini-4k-instruct
Phi 3 Small 128k InstructMicrosoft128K$0.15 $0.60 n/an/an/a
Azure cheapest
azure_ai/Phi-3-small-128k-instruct
Phi 3 Small 8k InstructMicrosoft8K$0.15 $0.60 n/an/an/a
Azure cheapest
azure_ai/Phi-3-small-8k-instruct
Phi 3.5 MoE InstructMicrosoft128K$0.16 $0.64 n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-MoE-instruct
Phi 3 Medium 128k InstructMicrosoft128K$0.17 $0.68 n/an/an/a
Azure cheapest
azure_ai/Phi-3-medium-128k-instruct
Phi 3 Medium 4k InstructMicrosoft4K$0.17 $0.68 n/an/an/a
Azure cheapest
azure_ai/Phi-3-medium-4k-instruct
Phi 3 Vision 128k InstructMicrosoft32K$0.20 $0.20 n/an/an/a
Fireworks AI cheapest
fireworks_ai/accounts/fireworks/models/phi-3-vision-128k-instruct
Mai Code 1 FlashMicrosoft128K$0.75 $4.50 n/an/an/a
Github Copilot cheapest
github_copilot/mai-code-1-flash
Mai Code 1 Flash InternalMicrosoft128K$0.75 $4.50 n/an/an/a
Github Copilot cheapest
github_copilot/mai-code-1-flash-internal
Mai Ds R1Microsoft128K$1.35 $5.40 n/an/an/a
Azure cheapest
azure_ai/MAI-DS-R1
Phi 4
Microsoft · 16K CTX
Input $/1M
$0.07from
Output $/1M
$0.14from
Intelligence4.92 providers
Phi 3 Mini 128k Instruct
Microsoft · 131K CTX
Input $/1M
$0.10from
Output $/1M
$0.10from
Intelligencen/a2 providers
WizardLM-2 8x22B
Microsoft · 66K CTX
Input $/1M
$0.48from
Output $/1M
$0.48from
Intelligencen/a2 providers
Phi 4 Mini Instruct
Microsoft · 131K CTX
Input $/1M
$0.07
Output $/1M
$0.30
Intelligencen/aAzure
Phi 4 Mini Reasoning
Microsoft · 131K CTX
Input $/1M
$0.08
Output $/1M
$0.32
Intelligencen/aAzure
Phi 4 Multimodal Instruct
Microsoft · 131K CTX
Input $/1M
$0.08
Output $/1M
$0.32
Intelligencen/aAzure
Phi 2 3B
Microsoft · 2K CTX
Input $/1M
$0.10
Output $/1M
$0.10
Intelligencen/aFireworks AI
Phi 4 Reasoning
Microsoft · 33K CTX
Input $/1M
$0.13
Output $/1M
$0.50
Intelligencen/aAzure
Phi 3.5 Mini Instruct
Microsoft · 128K CTX
Input $/1M
$0.13
Output $/1M
$0.52
Intelligencen/aAzure
Phi 3.5 Vision Instruct
Microsoft · 128K CTX
Input $/1M
$0.13
Output $/1M
$0.52
Intelligencen/aAzure
Phi 3 Mini 4k Instruct
Microsoft · 4K CTX
Input $/1M
$0.13
Output $/1M
$0.52
Intelligencen/aAzure
Phi 3 Small 128k Instruct
Microsoft · 128K CTX
Input $/1M
$0.15
Output $/1M
$0.60
Intelligencen/aAzure
Phi 3 Small 8k Instruct
Microsoft · 8K CTX
Input $/1M
$0.15
Output $/1M
$0.60
Intelligencen/aAzure
Phi 3.5 MoE Instruct
Microsoft · 128K CTX
Input $/1M
$0.16
Output $/1M
$0.64
Intelligencen/aAzure
Phi 3 Medium 128k Instruct
Microsoft · 128K CTX
Input $/1M
$0.17
Output $/1M
$0.68
Intelligencen/aAzure
Phi 3 Medium 4k Instruct
Microsoft · 4K CTX
Input $/1M
$0.17
Output $/1M
$0.68
Intelligencen/aAzure
Phi 3 Vision 128k Instruct
Microsoft · 32K CTX
Input $/1M
$0.20
Output $/1M
$0.20
Intelligencen/aFireworks AI
Mai Code 1 Flash
Microsoft · 128K CTX
Input $/1M
$0.75
Output $/1M
$4.50
Intelligencen/aGithub Copilot
Mai Code 1 Flash Internal
Microsoft · 128K CTX
Input $/1M
$0.75
Output $/1M
$4.50
Intelligencen/aGithub Copilot
Mai Ds R1
Microsoft · 128K CTX
Input $/1M
$1.35
Output $/1M
$5.40
Intelligencen/aAzure
120 of 20 models
Page 1 of 1
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI