# Microsoft: Phi 4

Provider: microsoft  
Category: llm  
Model ID: `microsoft/phi-4`

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

## Specs

- Context length: 16384 tokens
- Max output: 16384 tokens
- Modalities: text
- Released: 2025-01-10

## Pricing

- Input: $0.07 per million tokens
- Output: $0.14 per million tokens

## Providers

- **microsoft** — ctx 16384, input $0.07/M, output $0.14/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/phi-4