Microsoft (Phi)
Phi 4
model
phi-4-usBudgetStableβ
Low cost in tierStreamingToolsBatchUnited States
Context
16K
Input / 1M tokens
Rp 1.294
Output / 1M tokens
Rp 2.588
Cached input / 1M tokens
β (bills at input price)
Cache write / 1M tokens
β (bills at input price)
About this model
Phi 4
Phi 4 is a model by Microsoft (Phi), available through the Anoman AI OpenAI-compatible API with a 16K-token context window. It costs Rp 1.294 per 1M input tokens and Rp 2.588 per 1M output tokens. Usable on: Free (from credit or balance), Plus Pass, Pro, Enterprise.
Key facts
- Maker
- Microsoft (Phi)
- Context window
- 16K tokens
- Max output
- 15K tokens
- Lane
- Guarded: the provider has confirmed it does not train on your data
- Modality
- Text
- Input price
- Rp 1.294 per 1M tokens
- Output price
- Rp 2.588 per 1M tokens
- Processing region(s)
- us
- Precision
- Never routed to providers that report below FP8; some providers do not report precision
- Usable on
- Free (from credit or balance), Plus Pass, Pro, Enterprise
- Price comparison
- Priced below 10 of 12 plus-band guarded models on Anoman (blended price: 1 part input to 3 parts output).
Code example
Chat completion with Phi 4
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="phi-4-us",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Alternatives
Similar models in our catalog
Same maker first, then the closest price to Phi 4 in the Anoman catalog.