Phi 4
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion parameters, it was trained on a mix of high-quality synthetic datasets, data from curated websites, and academic materials. It has undergone careful improvement to follow instructions accurately and maintain strong safety standards. It works best with English language inputs. For more information, please see [Phi-4 Technical Report](https://arxiv.org/pdf/2412.08905)
Specifications
Modalities
Supported Parameters
Max Output Tokens
16,384Data policy
- Prompt retention
- Unknown — we could not confirm
- Training
- Unknown — not declared
"Unknown" does not mean "safe". It means we could not confirm it.
Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.
Frequently asked questions
- Is Phi 4 available on FastMetal?
- Not at the moment. GLM 5.3 Flash, from the same lab, is available on the FastMetal API today.
- What is the context window of Phi 4?
- 16,384 tokens, shared between the prompt and the response.
- How does Phi 4 rank?
- #238 on the public arena's Japanese board (ELO 1,194). Ranks move as the leaderboard is updated.
Leaderboard
Rankings: LMArena leaderboard dataset (lmarena-ai/leaderboard-dataset), CC BY 4.0, snapshot 2026-10-22; category names mapped and ratings rounded by FastMetal.