Phi-4 Mini on Microsoft Foundry

Phi-4 · Microsoft Research

Serverless
Open Source

Last refreshed 2026-10-18. Next refresh: weekly.

Why use Phi-4 Mini on Microsoft Foundry?

Microsoft Foundry offers Phi-4 Mini with pay-as-you-go pricing at $0.07/1M input tokens. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.

Compare Phi-4 Mini across 4 providers to find the best fit for your use case
Input / 1M
$0.075
Output / 1M
$0.30
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: Phi-4-mini-instruct
Model ID
Phi-4-mini-instruct

Request example

Curated snippets for this provider are not sourced yet. Use Microsoft Foundry documentation with model ID Phi-4-mini-instruct.

Gotchas

  • Use provider model ID "Phi-4-mini-instruct", not the LLMReference slug "phi-4-mini".

Compare Phi-4 Mini Across Providers

ProviderInput (per 1M)Output (per 1M)
Fireworks AI——
NVIDIA NIM——
Novita AI$0.05$0.15
Microsoft Foundry$0.07$0.30

Pricing

TypePrice (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.

Get Started

Model Specs

Released2024-12-13
Parameters3.8B
Context128K
Knowledge cutoff2024-06