Microsoft
Microsoft Phi 4 Mini Instruct
Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data. The model belongs to the Phi-4...
- Context window
- 131Ktokens
- Max output
- 128Ktokens
- Input
- $0.08/ 1M
- Output
- $0.35/ 1M
Quick start
from openai import OpenAI
client = OpenAI(
base_url="https://neurongate.net/v1",
api_key="sk-ng-your-api-key",
)
completion = client.chat.completions.create(
model="microsoft/phi-4-mini-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)Cost
| Example request | Tokens | Cost |
|---|---|---|
| Short prompt | 1K in | $0.00008 |
| Typical chat turn | 1K in · 500 out | $0.000255 |
| Document analysis | 10K in · 2K out | $0.0015 |
| Long context | 100K in · 10K out | $0.0115 |
Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.
Frequently asked questions
What is Microsoft Phi 4 Mini Instruct?
Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data. The model belongs to the Phi-4...
How much does Microsoft Phi 4 Mini Instruct cost?
Microsoft Phi 4 Mini Instruct is priced at $0.08 per 1 million input tokens and $0.35 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).
Does Microsoft Phi 4 Mini Instruct support streaming?
Yes, Microsoft Phi 4 Mini Instruct supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.
What is the context window of Microsoft Phi 4 Mini Instruct?
Microsoft Phi 4 Mini Instruct has a context window of 131K tokens (~98K words). Maximum output is 128K tokens.
Does Microsoft Phi 4 Mini Instruct support function calling (tools)?
Microsoft Phi 4 Mini Instruct does not currently support function calling / tool use.
How do I use Microsoft Phi 4 Mini Instruct with NeuronGate?
Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id microsoft/phi-4-mini-instruct in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.