LLM Reference
Microsoft Foundry

Phi-4 14B on Microsoft Foundry

Phi-4 · Microsoft Research

ServerlessOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use Phi-4 14B on Microsoft Foundry?

Microsoft Foundry offers Phi-4 14B with competitive pricing. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.

Compare Phi-4 14B across 3 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
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
Model ID
phi-4

Request example

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

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Phi-4 14B Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$0.07$0.14
Fireworks AI$0.90$0.90
Microsoft Foundry

Capabilities

Structured Outputs

About Phi-4 14B

Phi-4 14B is Microsoft Research's Phi-4 model. Weights are openly available for self-hosting and scores 56.1 on GPQA.

FAQ

What is the context window for Phi-4 14B on Microsoft Foundry?

Phi-4 14B supports a 16k token context window on Microsoft Foundry.

How does Microsoft Foundry compare to other Phi-4 14B providers?

Phi-4 14B is available from 3 providers. The cheapest input pricing is $0.065/1M tokens from OpenRouter.

What API model ID do I use for Phi-4 14B on Microsoft Foundry?

Use the model ID phi-4 when calling Microsoft Foundry's API.

Who created Phi-4 14B?

Phi-4 14B was created by Microsoft Research as part of the Phi-4 model family.

Is Phi-4 14B open source?

Phi-4 14B is open source under MIT according to the seed data.

Get Started

Model Specs

Released2024-12-13
Parameters14B
Context16k
ArchitectureDecoder Only
Knowledge cutoff2024-06