Choose a model to open its comparison page.
Phi 4 benchmark, API pricing, and provider data cover 2 API providers, with prices starting at $0.010/request. The page also shows measured API speed and first-token latency.
Microsoft Phi-4 is a compact open-weight language model in the Phi series, optimized for reasoning, math, code generation, and efficient on-device or API deployment.
Observed-capability estimates with uncertainty reported separately from independent benchmark families.
Input and output token limits for this model, plus how it ranks on long-context understanding.
2 metrics
2 metrics
0 metrics · Provisional
3 metrics · Provisional
3 metrics · Rated
5 metrics · Provisional
2 metrics · Estimated
0 metrics · No data
0 metrics · No data
1 metric · Provisional
Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.
| Provider endpoint | Input | Output | 1d uptime | 30m latency | 30m throughput | Context / output |
|---|---|---|---|---|---|---|
DeepInfra deepinfra/bf16 | $0.070/M | $0.140/M | 100% | — | — | 16.4K tokens / 16.4K tokens |
Compare Phi 4 API pricing across 2 providers. Prices range from $0.010/request to $57.53/M. 素墨API offers the lowest rate at $0.010/request.