Microsoft: Phi 4 — AI model

Microsoft: Phi 4 is a AI model from Microsoft, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

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

Specs

VendorMicrosoft
Typetext
Context window16,384 tokens
Pricing$0.07/M in · $0.14/M out
APIchat_completions

Code example

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "microsoft/phi-4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models