Back to models

Microsoft: Phi 4

Microsoft · Text

Open-weight instruction model for adaptable chat and self-hosted production workloads

Model ID microsoft/phi-4Updated Dec 11, 2024

Pricing & billing

Billing unit: 1M tokens. Vendor reference price; conversion is approximate.

ItemUSD referenceList price (USD)
Input$0.07$0.07
Output$0.14$0.14
Cache read—No public pricing—No public pricing
Cache write—No public pricing—No public pricing

Specifications

Form
Text model
Input modalities
Text
Output modalities
Text
Context length
16K
Max output
15K
Weights
Open weights
Family
phi
Knowledge cutoff
2023-10
Released
Dec 11, 2024

Uses and capabilities

Capabilities Text model、Function calling、Structured output、Open weights

Function calling

Structured output

Reasoning

Prompt caching

Open weights

Sources

Use these links to verify specs and pricing — they may point to the vendor's site or to a third-party catalog.