Microsoft API pricing

All 22 Microsoft models with a listed 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. Listed prices from LiteLLM, OpenRouter and Vercel.

Models

22

with a listed price

Cheapest input

$0.07

per 1M tokens

Cheapest output

$0.10

per 1M tokens

Max context

256K

tokens

On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Capability
Phi 4MicrosoftReleased Dec 11, 202416K
from $0.07
via DeepInfra
from $0.14
via DeepInfra
5.9n/a57%3 providers
WizardLM-2 8x22BMicrosoftFirst listed Jul 202566K
from $0.48
via DeepInfra
from $0.48
via DeepInfra
n/an/an/a3 providers
Phi 3 Mini 128k InstructMicrosoftReleased Apr 23, 2024131K
from $0.10
via Fireworks AI
from $0.10
via Fireworks AI
n/an/an/a2 providers
Mai Thinking 1MicrosoftFirst listed Sep 2026256K
from $2.00
via Aihubmix
from $8.00
via Aihubmix
n/an/an/a2 providers
Phi 4 Mini InstructMicrosoftReleased Jul 26, 2025131K
$0.075
via Azure
$0.30
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-4-mini-instruct
Phi 4 Mini ReasoningMicrosoftReleased Dec 11, 2024131K
$0.075
via Azure
$0.30
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-4-mini-reasoning
Phi 4 Multimodal InstructMicrosoftReleased Jul 26, 2025131K
$0.08
via Azure
$0.32
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-4-multimodal-instruct
Phi 2 3BMicrosoftFirst listed Dec 20252K
$0.10
via Fireworks AI
$0.10
via Fireworks AI
n/an/an/a
Fireworks AI cheapest
fireworks_ai/accounts/fireworks/models/phi-2-3b
Phi 4 ReasoningMicrosoftReleased Dec 11, 202433K
$0.125
via Azure
$0.50
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-4-reasoning
Phi 3.5 Mini InstructMicrosoftFirst listed Nov 2024128K
$0.13
via Azure
$0.52
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-mini-instruct
Phi 3.5 Vision InstructMicrosoftFirst listed Nov 2024128K
$0.13
via Azure
$0.52
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-vision-instruct
Phi 3 Mini 4k InstructMicrosoftReleased Apr 23, 20244K
$0.13
via Azure
$0.52
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3-mini-4k-instruct
Phi 3 Small 128k InstructMicrosoftReleased Apr 23, 2024128K
$0.15
via Azure
$0.60
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3-small-128k-instruct
Phi 3 Small 8k InstructMicrosoftReleased Apr 23, 20248K
$0.15
via Azure
$0.60
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3-small-8k-instruct
Phi 3.5 MoE InstructMicrosoftFirst listed Nov 2024128K
$0.16
via Azure
$0.64
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3.5-MoE-instruct
Phi 3 Medium 128k InstructMicrosoftReleased Apr 23, 2024128K
$0.17
via Azure
$0.68
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3-medium-128k-instruct
Phi 3 Medium 4k InstructMicrosoftReleased Apr 23, 20244K
$0.17
via Azure
$0.68
via Azure
n/an/an/a
Azure cheapest
azure_ai/Phi-3-medium-4k-instruct
Phi 3 Vision 128k InstructMicrosoftFirst listed Dec 202532K
$0.20
via Fireworks AI
$0.20
via Fireworks AI
n/an/an/a
Fireworks AI cheapest
fireworks_ai/accounts/fireworks/models/phi-3-vision-128k-instruct
Mai Cyber 1 FlashMicrosoftFirst listed Sep 2026256K
$0.60
via Azure
$3.50
via Azure
n/an/an/a
Azure cheapest
azure_ai/MAI-Cyber-1-Flash
Mai Code 1 FlashMicrosoftFirst listed Jun 2026128K
$0.75
via Github Copilot
$4.50
via Github Copilot
n/an/an/a
Github Copilot cheapest stale
github_copilot/mai-code-1-flash
Mai Code 1 Flash InternalMicrosoftFirst listed Jun 2026128K
$0.75
via Github Copilot
$4.50
via Github Copilot
n/an/an/a
Github Copilot cheapest stale
github_copilot/mai-code-1-flash-internal
Mai Ds R1MicrosoftFirst listed Jul 2025128K
$1.35
via Azure
$5.40
via Azure
n/an/an/a
Azure cheapest
azure_ai/MAI-DS-R1
Phi 4
Microsoft · 16K CTX
Released Dec 11, 2024
Input $/1M
from$0.07
via DeepInfra
Output $/1M
from$0.14
via DeepInfra
Intelligence5.93 providers
WizardLM-2 8x22B
Microsoft · 66K CTX
First listed Jul 2025
Input $/1M
from$0.48
via DeepInfra
Output $/1M
from$0.48
via DeepInfra
Intelligencen/a3 providers
Phi 3 Mini 128k Instruct
Microsoft · 131K CTX
Released Apr 23, 2024
Input $/1M
from$0.10
via Fireworks AI
Output $/1M
from$0.10
via Fireworks AI
Intelligencen/a2 providers
Mai Thinking 1
Microsoft · 256K CTX
First listed Sep 2026
Input $/1M
from$2.00
via Aihubmix
Output $/1M
from$8.00
via Aihubmix
Intelligencen/a2 providers
Phi 4 Mini Instruct
Microsoft · 131K CTX
Released Jul 26, 2025
Input $/1M
$0.075
via Azure
Output $/1M
$0.30
via Azure
Intelligencen/aAzure
Phi 4 Mini Reasoning
Microsoft · 131K CTX
Released Dec 11, 2024
Input $/1M
$0.075
via Azure
Output $/1M
$0.30
via Azure
Intelligencen/aAzure
Phi 4 Multimodal Instruct
Microsoft · 131K CTX
Released Jul 26, 2025
Input $/1M
$0.08
via Azure
Output $/1M
$0.32
via Azure
Intelligencen/aAzure
Phi 2 3B
Microsoft · 2K CTX
First listed Dec 2025
Input $/1M
$0.10
via Fireworks AI
Output $/1M
$0.10
via Fireworks AI
Intelligencen/aFireworks AI
Phi 4 Reasoning
Microsoft · 33K CTX
Released Dec 11, 2024
Input $/1M
$0.125
via Azure
Output $/1M
$0.50
via Azure
Intelligencen/aAzure
Phi 3.5 Mini Instruct
Microsoft · 128K CTX
First listed Nov 2024
Input $/1M
$0.13
via Azure
Output $/1M
$0.52
via Azure
Intelligencen/aAzure
Phi 3.5 Vision Instruct
Microsoft · 128K CTX
First listed Nov 2024
Input $/1M
$0.13
via Azure
Output $/1M
$0.52
via Azure
Intelligencen/aAzure
Phi 3 Mini 4k Instruct
Microsoft · 4K CTX
Released Apr 23, 2024
Input $/1M
$0.13
via Azure
Output $/1M
$0.52
via Azure
Intelligencen/aAzure
Phi 3 Small 128k Instruct
Microsoft · 128K CTX
Released Apr 23, 2024
Input $/1M
$0.15
via Azure
Output $/1M
$0.60
via Azure
Intelligencen/aAzure
Phi 3 Small 8k Instruct
Microsoft · 8K CTX
Released Apr 23, 2024
Input $/1M
$0.15
via Azure
Output $/1M
$0.60
via Azure
Intelligencen/aAzure
Phi 3.5 MoE Instruct
Microsoft · 128K CTX
First listed Nov 2024
Input $/1M
$0.16
via Azure
Output $/1M
$0.64
via Azure
Intelligencen/aAzure
Phi 3 Medium 128k Instruct
Microsoft · 128K CTX
Released Apr 23, 2024
Input $/1M
$0.17
via Azure
Output $/1M
$0.68
via Azure
Intelligencen/aAzure
Phi 3 Medium 4k Instruct
Microsoft · 4K CTX
Released Apr 23, 2024
Input $/1M
$0.17
via Azure
Output $/1M
$0.68
via Azure
Intelligencen/aAzure
Phi 3 Vision 128k Instruct
Microsoft · 32K CTX
First listed Dec 2025
Input $/1M
$0.20
via Fireworks AI
Output $/1M
$0.20
via Fireworks AI
Intelligencen/aFireworks AI
Mai Cyber 1 Flash
Microsoft · 256K CTX
First listed Sep 2026
Input $/1M
$0.60
via Azure
Output $/1M
$3.50
via Azure
Intelligencen/aAzure
Mai Code 1 Flash
Microsoft · 128K CTX
First listed Jun 2026
Input $/1M
$0.75
via Github Copilot
Output $/1M
$4.50
via Github Copilot
Intelligencen/aGithub Copilot
Mai Code 1 Flash Internal
Microsoft · 128K CTX
First listed Jun 2026
Input $/1M
$0.75
via Github Copilot
Output $/1M
$4.50
via Github Copilot
Intelligencen/aGithub Copilot
Mai Ds R1
Microsoft · 128K CTX
First listed Jul 2025
Input $/1M
$1.35
via Azure
Output $/1M
$5.40
via Azure
Intelligencen/aAzure
1–22 of 22 models
Page 1 of 1
Listed prices from LiteLLM, OpenRouter and Vercel · catalogue refreshed Oct 14, 2026 · 2 prices older, back to Oct 9, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI