Should you use phi-4?
phi-4 is listed for chat workloads and supports a 16K context window.
Check Hugging Face's current endpoint status before integrating this listing. Use the alternatives table if the provider listing is unavailable.
https://router.huggingface.co/v1 phi-4 phi-4 is listed for chat workloads and supports a 16K context window.
Check Hugging Face's current endpoint status before integrating this listing. Use the alternatives table if the provider listing is unavailable.
We only found this phi-4 listing on Hugging Face in the current catalog. Use the related models section for nearby alternatives.
| Provider | Model listing | Access | Context | API | Limits |
|---|---|---|---|---|---|
| | phi-4 | Check provider | 16K | Native | Credit-metered |
| Model | Provider | Context | Access |
|---|---|---|---|
| Meta-Llama-3.1-8B-Instruct | Hugging Face | 128K | Check provider |
| gemma-3-4b-it | Hugging Face | 131K | Check provider |
| Qwen2.5-Coder-7B-Instruct | Hugging Face | 131K | Check provider |
| Qwen2.5-7B-Instruct | Hugging Face | 131K | Check provider |
| Mistral-7B-Instruct-v0.3 | Hugging Face | 32K | Check provider |
phi-4 is tagged for chat in this catalog and works with OpenAI-compatible client libraries.
phi-4 appears in the free model catalog for Hugging Face, but its current endpoint availability should be confirmed with the provider before use.
The model ID shown in this catalog is phi-4.
The listed free tier limit is Credit-metered. Limits can change per account tier, so confirm against the provider dashboard.
The listed context window is 16K tokens with up to 4K output tokens.
phi-4 — free model from Hugging Face.
For API keys, setup steps, and provider-level limits, see the Hugging Face provider page.