Phi 4 is an open-source chat model from Microsoft that takes text and returns text.
Input
Output
Context
16K
Max Output
-
Parameters
14.7B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
Measured speed: 43 tok/s output speed · 0.89 s to first answer token · 0.89 s to first token
Bands compare this model with every model the same suite measured in our catalog.
Download 29.3 GB · Runs on vLLM v0.32.0 · 101 GGUF builds
| Precision | Weights | One request at 16K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 27.3 GB | 30.9 GB | 1x NVIDIA A100 SXM 40GB (40 GB) |
| INT8 | 13.7 GB | 16.6 GB | 1x NVIDIA GeForce RTX 3090 (24 GB) |
| INT4 | 6.83 GB | 9.39 GB | 1x NVIDIA T4 (16 GB) |
Computed by Inferbase from the 14,659,507,200 parameters in the creator's Hugging Face repository; one request adds its KV cache, activations and framework overhead, with the layer layout estimated from the parameter count.
Public resources
Specification sources
As of Nov 15, 2026.
Answered from the facts on this page, with their sources.
Phi 4 has a context window of 16,384 tokens (source: Creator or provider API). A provider may serve less; Inferbase routes on what each provider serves.
Yes. Phi 4 is an open-weight model under the MIT license. You can download and self-host it within the license terms.
Phi 4 has 14,659,507,200 parameters (14.7B), as stated in the creator's Hugging Face repository.
Strengths: Open weights under a permissive license (mit). Limitations: Below average on graduate-level science (GPQA) among measured models; Below average on knowledge (MMLU-Pro) among measured models; Below average on competition math (AIME 2025) among measured models. Each is computed from the model's stated facts and benchmark results.
Phi 4 accepts Text and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
Phi 4 has published results from Artificial Analysis and Epoch AI. The Benchmarks card shows each score as reported, with its band among the models the same source measured. Scores are never combined across sources.
Yes. Phi 4 is available on Inferbase Managed through the OpenAI-compatible API as microsoft-phi-4. Request it by name, or request auto and routing picks it when it fits the request best.
The weights take 27.3 GB at FP16 / BF16, 13.7 GB at INT8, 6.8 GB at INT4, computed from the 14,659,507,200 parameters its creator publishes. Each request adds its KV cache and the framework's overhead. The hardware section shows one request and the smallest GPU that fits; the GPU planner sizes it for your context length and traffic.
The model card of Phi 4 lists one language: English. That is what Microsoft states; the catalog does not test language quality.
Start on the free plan with 5,000 requests a month, no card required.