Skip to content

phi-4 ​

This page lists parameters from the ModelFold model catalog.

Microsoft Research 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...

Overview ​

FieldValue
Model IDphi-4
Family slugphi-4
ModalityChat Models (chat)
EndpointPOST /v1/chat/completions

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/chat/completions" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"phi-4","messages":[{"role":"user","content":"Explain what a diffusion model does in two sentences."}],"max_tokens":512}'

See also ​

ModelFold — one API for all the best AI models.