Phi 4 Mini
Phi 4 Mini by Microsoft. A small multilingual model.
Added Jul 26, 2025
Pricing
Auto routing · per 1M tokens- Input
- $0.17
- Output
- $0.68
- Cache read
- $0.085
Specifications
- Context window
- 8.2K
- Max output
- 4.1K
- Parameters
- 3.8B
Benchmarks
Benchmarks
Sourced from Vectara.
Hallucination Rate
23.5%
Factual Consistency
76.5%
Answer Rate
92.5%
Avg Summary Length
Average generated summary length
420.2
Last updated 2026-11-30 · Matched as microsoft/Phi-4-mini-instruct
Vectara LeaderboardProviders
Choose or restrict providers with the API. Provider-selection prices include the selection markup. Provider selection guide · Pricing API (JSON, USD per 1K tokens)
Recommended | $0.17 | $0.68 | $0.085 | N/A | N/A |
| $0.161 | $0.693 | $0.0803 | N/A | N/A |
Batch rows for this model use normal routing and cost the same as standard API requests. Set provider in a row to choose a provider.
Manual provider picks
Observed speeds when callers selected a provider, grouped by the host that served the reply. These requests do not enter the Auto badge.
Bring your own key (BYOK)
Observed speeds using callers’ own provider keys. Account limits and service levels may differ from NanoGPT’s keys.
Recorded and unreported service-tier signals stay separate. Flex, Priority and Speed describe recorded request or response signals; mixed or unsupported signals are excluded. Default-like means auto, default or standard was reported; it does not verify an account’s upstream priority. Each reply counts once for its serving host. Averages use successful replies with both speed and first-token timing, over the freshest qualifying window in the last six hours.