by Microsoft

Phi-4.

text open weights laptop+ 15B params 16K ctx
Cheapest input
$0.07/M
on DeepInfra
Cheapest output
$0.14/M
on DeepInfra
Smallest GPU
1× Nvidia GeForce RTX 3060
$0.038/hr
Description

About Phi-4.

Phi-4 is a small open model from Microsoft Research under the MIT licence, with 14B parameters in a dense decoder-only design. It takes text, best given in chat format, and has a 16K-token context. Its training blended synthetic data, filtered public web data and acquired academic books, with a focus on reasoning. Microsoft aims it at research and at features with tight memory or latency limits. It is mainly for English, and it is a static model with public data cut off at June 2024.

Context window

How much it can remember.

16K tokens ≈ 12,288 English words
4K 32K 128K 1M
Capabilities

What it can do.

· Vision input
· Audio input
· Video input
· Function calling
· Tool use
· JSON mode
✓ Streaming
✓ Fine-tuning