All models
Microsoft·Budget·Open weights: MITAvailable

Phi-4

microsoft/phi-4

Small model for simple tasks and classification

reasoningfast
Input
7.4 pts

per 1M tokens

Output
15 pts

per 1M tokens

Typical reply
≈ 0.015 pts

1k tokens in, 500 out

Context
16K

Context

Speed
110 tok/s

*

Time to first token
0.4 s

*

* Speed and latency are approximate.

How charges are rounded: each request is charged for the tokens it actually processes at the model's listed price, converted at 100 Points = USD 1 and rounded up to the nearest 0.0001 Point. Prices on this page are rounded for display.

How to use

Use the model ID in the model field of any OpenAI-compatible request.

curl https://harvanera.com/v1/chat/completions \
  -H "Authorization: Bearer sk-harvanera-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "microsoft/phi-4",
    "messages": [{"role": "user", "content": "Hello! What can you do?"}]
  }'

Replace sk-harvanera-YOUR_KEY with your key from the API keys page.

Similar models