Skip to content

Phi 4

microsoft/phi-4

Text · 16K context · Jan 2025 · 2 upstreams

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.

Needs your own keyTo use Phi 4, add a key from Fluence or Hugging Face. AnyRouter adds no fee.
context
16K
input / 1M (list)
$0.08
output / 1M (list)
$0.16
routes
2
speed, 24h
No data yet

Upstreams

2
  1. 1FluenceYour keynot addedBilled to your key
  2. 2Hugging FaceYour keynot addedBilled to your key

Quick start

/api/v1/chat/completions
cURL
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "microsoft/phi-4",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
Microsoft
Kind
Chat
Released
Jan 2025
Context
16K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions