Using Phi-4 Mini on Microsoft Foundry
Implementation guide · Phi-4 · Microsoft Research
Serverless
Open SourceMicrosoft Foundry exposes Phi-4 Mini through model ID Phi-4-mini-instruct. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-10-18. Next refresh: weekly.
Quick Start
- 1
- 2Use the Microsoft Foundry SDK or REST API to call
Phi-4-mini-instruct— see the documentation for request format. - 3
Code Examples
Pricing on Microsoft Foundry
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.07 |
| Output tokens | $0.30 |
Capabilities
No model capability flags are currently sourced.
About Phi-4 Mini
Phi-4 family model from Microsoft Research. Mini variant with efficient performance.
Model Specs
Released2024-12-13
Parameters3.8B
Context128K
Knowledge cutoff2024-06