Back to Modelsby Microsoft
M
Phi-4 Mini
PhiLightweight multilingual LLM powering AI applications in latency bound, memory/compute constrained environments.
Free EndpointDownloadableMay 22, 2025mit license445K API calls / 30d
Specifications
Context Length
8K
8,192 tokens
Input Price
Free
per 1M tokens
Output Price
Free
per 1M tokens
Modalities
1
text→text
Capabilities
text generationchatmultilingual
Tags
chatsmall-modelmultilingualedge
API Usage
1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:
microsoft/phi-4-mini-instructcURL
curl https://api.1router.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "microsoft/phi-4-mini-instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'