Models / Phi 4 Mini InstructID: azure_ai/Phi-4-mini-instruct
by Microsoft·via Azure Foundry

Phi 4 Mini Instruct

Phi-4-mini-instruct is Microsoft's 3.8-billion parameter lightweight instruction-tuned model featuring a 128K context window, engineered for high-throughput edge and latency-sensitive server workloads.

Certified & verified by nRouter· facts checked 2026-09-16 against 2 official sources

Maker

Microsoft

Served On

Azure Foundry

Context: 131.1K

Benchmarks

not listed on arena.ai text leaderboard as of 2026-09-15

Pricing

Rates are read live

Pricing for Phi-4-mini-instruct is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Specifications

Context window

131.1K

Source: learn.microsoft.com
Max output

4K

Source: learn.microsoft.com
Modality

chat

Context window, compared

Phi-4-mini-instructPhi-4-mini-instruct — 131.1K tokens131.1Kqwen-mt-turboqwen-mt-turbo — 131.1K tokens131.1Kqwen-plus-latestqwen-plus-latest — 1M tokens1Mqwen-plus-2025-01-25qwen-plus-2025-01-25 — 1M tokens1Mdeepseek-v4-pro-0813deepseek-v4-pro-0813 — 1.05M tokens1.05Mqwen3-vl-plus-2025-09-23qwen3-vl-plus-2025-09-23 — 262.1K tokens262.1Kclaude-sonnet-4-5-20250929claude-sonnet-4-5-20250929 — 1M tokens1M

Bars are scaled to 1.05M tokens. A model with no published context window reads Unknown, never zero.

Vision
Function calling
System prompt

nRouter SDK Integration

v2.2.1
curl https://api.nrouter.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${NROUTER_API_KEY}" \
  -d '{
    "model": "azure_ai/Phi-4-mini-instruct",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant powered by Phi-4-mini-instruct via nRouter."
      },
      {
        "role": "user",
        "content": "Explain distributed consensus algorithms."
      }
    ]
  }'

Availability

Not enough data yet

We have not collected enough health probes for this model to publish an uptime or latency figure. A percentage from a handful of samples is fabricated precision, so none is shown until the sample count supports one.

Interactive Playground

Send a real test request to Phi-4-mini-instruct using your virtual key.

Test it

Prompt
cURL
curl https://api.nrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $NROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"azure_ai/Phi-4-mini-instruct","messages":[{"role":"user","content":"Hello!"}]}'

Managed Gateway Routing

Unified single-key access with automatic multi-region fallback, real-time credit enforcement, and sub-millisecond routing latency.

More from Microsoft