Phi 4
Open-weight instruction model for adaptable chat and self-hosted production workloads
Cheapest input
$0
$/MTok · models.dev
Cheapest output
$0
$/MTok
Context
128K
tokens
Offers
10
3 sources
Offers
Same model, different listings. First-party, router, and aggregator rows stay separate so you can see the spread instead of a single blended number. Showing free/$0 offers. Hide them.
| Source | Provider | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| models.devcheapestmicrosoft/phi-4 | GitHub Models | $0 | $0 | $0 | 16K |
| models.devmicrosoft/phi-4 | Kilo Gateway | $0.07 | $0.14 | $0 | 16K |
| OpenRoutermicrosoft/phi-4 | OpenRouter | $0.07 | $0.14 | $0 | 16K |
| LiteLLMphi-4 | — | $0.07 | $0.14 | $0.007 | — |
| LiteLLMmicrosoft/phi-4 | — | $0.07 | $0.14 | $0.007 | — |
| LiteLLMdeepinfra/microsoft/phi-4 | — | $0.07 | $0.14 | $0.007 | — |
| models.devphi-4 | Azure | $0.125 | $0.5 | $0 | 128K |
| models.devphi-4 | Azure | $0.125 | $0.5 | $0 | 128K |
| LiteLLMPhi-4 | — | $0.125 | $0.5 | $0.0125 | — |
| LiteLLMazure_ai/Phi-4 | — | $0.125 | $0.5 | $0.0125 | — |
Capabilities
- Reasoning
- Tool calling
- Structured output
- Open weights
- In: text
- Out: text
Knowledge cutoff: 2023-10Released: 2024-12-11Family: phi