Microsoft logo

Phi-3 Small Instruct


Phi-3 Small Instruct is Microsoft's language model with a 128K context window and up to 4K output tokens, starting at $0.150 / 1M input and $0.600 / 1M output. A small instruction-tuned Phi-3 model balancing compact size with strong language understanding and reasoning performance.
Specifications
Canonical IDmicrosoft-phi-3-small-instruct
TypeLanguage
StatusActive
CreatorMicrosoftMicrosoft
Providers
Context Window128K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities0/13
Reasoning·
Adaptive Reasoning·
Function Calling·
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure_ai/Phi-3-small-8k-instruct
$0.150$0.600
Provider-specific pricing that varies by region.
Azure AI Foundry logo
Azure AI Foundry
11 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Global
Global$0.150$0.600
Europe
Sweden Central (Gävle)/ swedencentral$0.150$0.600
US
Central US (Iowa)/ centralus$0.150$0.600
East US (Virginia)/ eastus$0.150$0.600
East US 2 (Virginia)/ eastus2$0.150$0.600
North Central US (Illinois)/ northcentralus$0.150$0.600
South Central US (Texas)/ southcentralus$0.150$0.600
West Central US (Wyoming)/ westcentralus$0.150$0.600
West US (California)/ westus$0.150$0.600
West US 2 (Washington)/ westus2$0.150$0.600
West US 3 (Phoenix)/ westus3$0.150$0.600

Cost Calculator

Preset:
Compares every provider & tier in USD

Other models

ModelTierReleasedContextInput / 1MOutput / 1M
Phi-4 Mini InstructMini131K$0.075$0.300
Phi-416K$0.065$0.140
Phi-4 Multimodal
Phi-4 Eagle
Phi-4 Multimodal Instruct131K$0.080$0.320
Phi-4 Reasoning33K$0.125$0.500
Phi-4 Reasoning Plus
Phi-4 MiniMini
Phi-4 Mini MMMini
Phi-4 Mini ReasoningMini131K$0.080$0.320

Model IDs