← All Models

Microsoft: Phi 4 Mini Instruct

🇺🇸 Microsoft · Phi 4

Input Price $0.080 per million tokens NT$2.6
Output Price $0.350 per million tokens NT$11.2
Context Window 131K tokens Output limit: 128K
OpenRouter Route Price Please verify with official pricing pages
Use this model via OpenRouter →

Overview

Microsoft: Phi 4 Mini Instruct is a large language model API from Microsoft, part of its Phi 4 model family. At $0.080 per million input tokens and $0.350 per million output tokens, it sits in the budget tier — among the cheaper options for high-throughput or cost-sensitive workloads. Output tokens cost about 4× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. The 131K-token context window — around 197 pages of text — comfortably handles long documents, multi-file code, or extended conversations. On Artificial Analysis's Intelligence Index it scores 3 (F grade), a useful proxy for its general reasoning strength relative to the other models tracked here. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.

Dimension Unit Price (USD) Price (TWD) Effective From
Input per 1M tokens $0.080 NT$2.6
Output per 1M tokens $0.350 NT$11.2
Cached Input per 1M tokens $0.080 NT$2.6

Provider
Microsoft
Model Family
Phi 4
Version String
microsoft/phi-4-mini-instruct
Status
Active
Modality
Text
Context Window
131,072 tokens
Output Limit
128,000 tokens

Index Metrics

Cross-domain capability indexes evaluated by Artificial Analysis — Artificial Analysis

Intelligence Index 3 F Measured: 2026-07-01

Benchmark Scores

Data source: Artificial Analysis

AA-LCR 13.7% F Measured: 2026-07-01
GPQA Diamond 33.1% D Measured: 2026-07-01
HLE 4.2% D Measured: 2026-07-01
IFBench 21.1% F Measured: 2026-07-01
Non-Hallucination 24.5% Measured: 2026-07-01
Omniscience Accuracy 8.3% Measured: 2026-07-01
SciCode 10.8% D Measured: 2026-07-01
Tau2 8.2% Measured: 2026-07-01

Performance Metrics

Real-world benchmarks, updated every 72 hours by Artificial Analysis — Artificial Analysis

First Token Latency 1.8s Measured: 2026-07-01
Output Speed 45 t/s Measured: 2026-07-01
Response Time 12.9s Measured: 2026-07-01

90-Day Price Trend

Input / Output price (USD per 1M tokens)

Past 90 days of records; every price change is shown here

Date Dimension Price (USD) Source
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter
Input $0.080 OpenRouter
Cached Input $0.080 OpenRouter
Output $0.350 OpenRouter

Key Insights

Key data points from this page for quick reference and citation.

  • Microsoft: Phi 4 Mini Instruct Input price: $0.08/M tokens
  • Microsoft: Phi 4 Mini Instruct Output price: $0.35/M tokens
  • Context window: 131,072 tokens
  • Provider: Microsoft
  • Model family: Phi 4
  • Modalities: Text
  • Data source: OpenRouter, updated daily